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.24 by bendavid, Sun Dec 11 00:03:04 2011 UTC vs.
Revision 1.25 by fabstoec, Fri Jan 13 15:27:29 2012 UTC

# Line 82 | Line 82 | namespace mithep
82        }
83        void                SetTriggerObjectsName(const char *n)   { fTrigObjectsName = n;       }
84      
85 +
86 +    void                SetPhotonsFromBranch(bool b)           { fPhotonsFromBranch = b;           }
87 +
88      void                SetPVName(const char *n)          { fPVName = n;                 }
89      void                SetPVFromBranch(bool b)           { fPVFromBranch = b;           }
90      void                SetIsData (Bool_t b) { fIsData = b;};
# Line 91 | Line 94 | namespace mithep
94      void                SetBdtCutBarrel(double a) {fbdtCutBarrel = a; }
95      void                SetBdtCutEndcap(double a) {fbdtCutEndcap = a; }
96  
97 +    void                SetDoMCR9Scaling(Bool_t b)        { fDoMCR9Scaling = b; }
98 +    void                SetMCR9Scale(Double_t ebscale, Double_t eescale) { fMCR9ScaleEB = ebscale; fMCR9ScaleEE = eescale; }
99 +    void                SetDoMCSigIEtaIEtaScaling(Bool_t b)        { fDoMCSigIEtaIEtaScaling = b; }
100 +    void                SetDoMCWidthScaling(Bool_t b)        { fDoMCWidthScaling = b; }
101 +    void                SetDoMCErrScaling(Bool_t b)        { fDoMCErrScaling = b; }
102 +    void                SetMCErrScale(Double_t ebscale, Double_t eescale) { fMCErrScaleEB = ebscale; fMCErrScaleEE = eescale; }
103  
104        enum EPhIdType {
105          kIdUndef = 0,       //not defined
# Line 170 | Line 179 | namespace mithep
179        TString                     fBarrelWeights;
180        MVATools                    fTool;
181  
182 <      bool                fPVFromBranch;
182 >      Bool_t fDoMCR9Scaling;
183 >      Double_t fMCR9ScaleEB;
184 >      Double_t fMCR9ScaleEE;
185 >      
186 >      Bool_t fDoMCSigIEtaIEtaScaling;
187 >      Bool_t fDoMCWidthScaling;
188 >      
189 >      Bool_t fDoMCErrScaling;
190 >      Double_t fMCErrScaleEB;
191 >      Double_t fMCErrScaleEE;    
192 >
193 >      Bool_t              fPhotonsFromBranch;
194 >      Bool_t              fPVFromBranch;
195        Bool_t              fGoodElectronsFromBranch;
196        Bool_t              fIsData;
197  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines