ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbbAnalysis/HbbAnalyzer/interface/VHbbCandidate.h
(Generate patch)

Comparing UserCode/VHbbAnalysis/HbbAnalyzer/interface/VHbbCandidate.h (file contents):
Revision 1.2 by tboccali, Tue Jun 21 15:49:01 2011 UTC vs.
Revision 1.3 by tboccali, Tue Jun 28 11:56:00 2011 UTC

# Line 9 | Line 9
9  
10   class VHbbCandidate {
11   public:
12 +  enum CandidateType{Zmumu, Zee, Wen, Wmun, Znn, UNKNOWN};
13 +
14 +    VHbbCandidate(){candidateType=UNKNOWN;}
15 +
16    class VectorCandidate {
17    public:
18  
19 +
20      TLorentzVector fourMomentum;
21      std::vector<VHbbEvent::MuonInfo> muons;
22      std::vector<VHbbEvent::ElectronInfo> electrons;
# Line 22 | Line 27 | class VHbbCandidate {
27    
28    class HiggsCandidate {
29    public:
30 <    TLorentzVector fourMomentum;
30 >   TLorentzVector fourMomentum;
31      std::vector<VHbbEvent::SimpleJet> jets;
32      float deltaTheta;
33    public:
# Line 30 | Line 35 | class VHbbCandidate {
35      VHbbEvent::SimpleJet& secondJet(){return jets[1];}
36   };
37    
38 +
39 +  void setCandidateType (CandidateType c){candidateType = c;}
40    
41   public:
42 +  TLorentzVector fourMomentum(){return V.fourMomentum+H.fourMomentum;}
43 +  CandidateType candidateType;
44    HiggsCandidate H;
45    VectorCandidate V;
46    std::vector<VHbbEvent::SimpleJet> additionalJets;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines