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

Comparing UserCode/VHbbAnalysis/VHbbDataFormats/interface/VHbbCandidate.h (file contents):
Revision 1.9 by tboccali, Fri Sep 9 08:05:27 2011 UTC vs.
Revision 1.14 by arizzi, Tue Feb 12 16:13:35 2013 UTC

# Line 15 | Line 15 | class VHbbCandidate {
15     //Wen = 3
16     //Znn = 4
17  
18 <  enum CandidateType{Zmumu, Zee, Wmun, Wen, Znn, UNKNOWN};
18 >  enum CandidateType{Zmumu, Zee, Wmun, Wen, Znn,  Zemu, Ztaumu, Ztaue, Wtaun, Ztautau, Zbb, UNKNOWN};
19  
20      VHbbCandidate(){candidateType=UNKNOWN;}
21  
22    class VectorCandidate {
23    public:
24 <  VectorCandidate() : firstLepton(-99),secondLepton(-99) {}
24 >  VectorCandidate() : firstLepton(0),secondLepton(1) {}
25      double Mt(CandidateType candidateType) const {
26      if(candidateType==Wen)
27        {
# Line 53 | Line 53 | class VHbbCandidate {
53    public:
54     TLorentzVector p4;
55      std::vector<VHbbEvent::SimpleJet> jets;
56 +    size_t indices[2];
57 +    bool HiggsFlag;
58      float deltaTheta;
59      std::vector <float> helicities;
60   public:
61      VHbbEvent::SimpleJet& firstJet(){return jets[0];}
62      VHbbEvent::SimpleJet& secondJet(){return jets[1];}
63 +
64 +    size_t firstJetIndex(){return indices[0];}
65 +    size_t secondJetIndex(){return indices[1];}
66   };
67    
68 +  class FatHiggsCandidate {
69 +  public:
70 +   TLorentzVector p4;
71 +    std::vector<VHbbEvent::SimpleJet> jets;
72 +    bool FatHiggsFlag;
73 +    int subjetsSize;
74 +    float deltaTheta;
75 +    std::vector <float> helicities;
76 + public:
77 +    VHbbEvent::SimpleJet& firstJet(){return jets[0];}
78 +    VHbbEvent::SimpleJet& secondJet(){return jets[1];}
79 + };
80  
81    void setCandidateType (CandidateType c){candidateType = c;}
82  
# Line 84 | Line 101 | class VHbbCandidate {
101   public:
102    TLorentzVector p4(){return V.p4+H.p4;}
103    CandidateType candidateType;
104 +  CandidateType candidateTypeWithTau;
105    HiggsCandidate H;
106 +  FatHiggsCandidate FatH;
107    VectorCandidate V;
108 +  VectorCandidate VTau;
109    std::vector<VHbbEvent::SimpleJet> additionalJets;
110 +  std::vector<VHbbEvent::SimpleJet> additionalJetsFat;
111   };
112  
113  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines