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.12 by ceballos, Sun Dec 6 14:59:43 2009 UTC vs.
Revision 1.14 by bendavid, Tue Feb 1 17:02:21 2011 UTC

# Line 23 | Line 23 | namespace mithep
23        PhotonIDMod(const char *name="PhotonIDMod",
24                    const char *title="Photon identification module");
25  
26 +      Bool_t              GetApplySpikeRemoval()      const { return fApplySpikeRemoval;   }
27        Bool_t              GetApplyPixelSeed()         const { return fApplyPixelSeed;      }
28        const char         *GetGoodName()               const { return GetGoodPhotonsName(); }  
29        const char         *GetGoodPhotonsName()        const { return fGoodPhotonsName;     }  
# Line 36 | Line 37 | namespace mithep
37        Double_t            GetEtaWidthEB()             const { return fEtaWidthEB;          }
38        Double_t            GetEtaWidthEE()             const { return fEtaWidthEE;          }
39        Double_t            GetAbsEtaMax()              const { return fAbsEtaMax;           }
40 +      void                SetApplySpikeRemoval(Bool_t b)    { fApplySpikeRemoval  = b;     }
41        void                SetApplyPixelSeed(Bool_t b)       { fApplyPixelSeed  = b;        }
42        void                SetGoodName(const char *n)        { SetGoodPhotonsName(n);       }  
43        void                SetGoodPhotonsName(const char *n) { fGoodPhotonsName = n;        }  
# Line 49 | Line 51 | namespace mithep
51        void                SetEtaWidthEB(Double_t x)         { fEtaWidthEB      = x;        }
52        void                SetEtaWidthEE(Double_t x)         { fEtaWidthEE      = x;        }
53        void                SetAbsEtaMax(Double_t x)          { fAbsEtaMax       = x;        }
54 +      void                SetApplyR9Min(Bool_t b)           { fApplyR9Min      = b;        }
55  
56        enum EPhIdType {
57          kIdUndef = 0,       //not defined
# Line 74 | Line 77 | namespace mithep
77        TString             fPhotonIsoType;        //type of photon isolation we impose
78        Double_t            fPhotonPtMin;          //min pt cut
79        Double_t            fHadOverEmMax;         //maximum of hadronic/em energy
80 +      Bool_t              fApplySpikeRemoval;    //whether apply spike removal      
81        Bool_t              fApplyPixelSeed;       //=true then apply pixel seed constraint
82        Double_t            fPhotonR9Min;          //min R9 value
83        EPhIdType           fPhIdType;             //!identification scheme
# Line 82 | Line 86 | namespace mithep
86        Double_t            fEtaWidthEB;           //max Eta Width in ECAL Barrel
87        Double_t            fEtaWidthEE;           //max Eta Width in ECAL End Cap
88        Double_t            fAbsEtaMax;            //max Abs Eta
89 +      Bool_t              fApplyR9Min;           //apply R9 min
90        const PhotonCol    *fPhotons;              //!photon branch
91      
92      ClassDef(PhotonIDMod, 1) // Photon identification module

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines