ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/PhotonIDMod.h
(Generate patch)

Comparing UserCode/MitPhysics/Mods/interface/PhotonIDMod.h (file contents):
Revision 1.23 by fabstoec, Tue Oct 18 11:27:19 2011 UTC vs.
Revision 1.26 by bendavid, Sun May 27 17:02:19 2012 UTC

# Line 23 | Line 23
23   #include "MitAna/DataTree/interface/DecayParticleCol.h"
24   #include "MitAna/DataTree/interface/PileupInfoCol.h"
25   #include "MitAna/DataTree/interface/MCParticleCol.h"
26 + #include "MitAna/DataTree/interface/PFCandidateCol.h"
27  
28   #include "MitPhysics/Utils/interface/MVATools.h"
29  
# Line 82 | Line 83 | namespace mithep
83        }
84        void                SetTriggerObjectsName(const char *n)   { fTrigObjectsName = n;       }
85      
86 +
87 +    void                SetPhotonsFromBranch(bool b)           { fPhotonsFromBranch = b;           }
88 +
89      void                SetPVName(const char *n)          { fPVName = n;                 }
90      void                SetPVFromBranch(bool b)           { fPVFromBranch = b;           }
91      void                SetIsData (Bool_t b) { fIsData = b;};
# Line 91 | Line 95 | namespace mithep
95      void                SetBdtCutBarrel(double a) {fbdtCutBarrel = a; }
96      void                SetBdtCutEndcap(double a) {fbdtCutEndcap = a; }
97  
98 +    void                SetDoMCR9Scaling(Bool_t b)        { fDoMCR9Scaling = b; }
99 +    void                SetMCR9Scale(Double_t ebscale, Double_t eescale) { fMCR9ScaleEB = ebscale; fMCR9ScaleEE = eescale; }
100 +    void                SetDoMCSigIEtaIEtaScaling(Bool_t b)        { fDoMCSigIEtaIEtaScaling = b; }
101 +    void                SetDoMCWidthScaling(Bool_t b)        { fDoMCWidthScaling = b; }
102 +    void                SetDoMCErrScaling(Bool_t b)        { fDoMCErrScaling = b; }
103 +    void                SetMCErrScale(Double_t ebscale, Double_t eescale) { fMCErrScaleEB = ebscale; fMCErrScaleEE = eescale; }
104  
105        enum EPhIdType {
106          kIdUndef = 0,       //not defined
# Line 98 | Line 108 | namespace mithep
108          kLoose,             //"Loose"
109          kLooseEM,           //"LooseEM"
110          kBaseLineCiC,        //"2011" Hgg BaseLine CiC
111 +        kBaseLineCiCPF,        //"2012" Hgg BaseLine CiC
112          kMITMVAId,          // MingMing MVA ID
113 +        kMITPhSelection,    //MIT loose preselection (for mva)
114 +        kMITPFPhSelection,    //MIT loose preselection (for mva)
115          kCustomId           //"Custom"
116        };
117  
# Line 126 | Line 139 | namespace mithep
139        TString             fPVName;
140        TString             fMCParticleName;
141        TString             fPileUpName;
142 +      TString             fPFCandsName;
143        TString             fPhotonIDType;         //type of photon identification we impose
144        TString             fPhotonIsoType;        //type of photon isolation we impose
145        Double_t            fPhotonPtMin;          //min pt cut
# Line 161 | Line 175 | namespace mithep
175        const VertexCol*    fPV;                   //!
176        const MCParticleCol          *fMCParticles;//!
177        const PileupInfoCol          *fPileUp;     //!  
178 +      const PFCandidateCol          *fPFCands;     //!  
179  
180        Double_t fbdtCutBarrel;
181        Double_t fbdtCutEndcap;
# Line 169 | Line 184 | namespace mithep
184        TString                     fBarrelWeights;
185        MVATools                    fTool;
186  
187 <      bool                fPVFromBranch;
187 >      Bool_t fDoMCR9Scaling;
188 >      Double_t fMCR9ScaleEB;
189 >      Double_t fMCR9ScaleEE;
190 >      
191 >      Bool_t fDoMCSigIEtaIEtaScaling;
192 >      Bool_t fDoMCWidthScaling;
193 >      
194 >      Bool_t fDoMCErrScaling;
195 >      Double_t fMCErrScaleEB;
196 >      Double_t fMCErrScaleEE;    
197 >
198 >      Bool_t              fPhotonsFromBranch;
199 >      Bool_t              fPVFromBranch;
200        Bool_t              fGoodElectronsFromBranch;
201        Bool_t              fIsData;
202  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines