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.2 by ceballos, Wed Dec 3 09:52:55 2008 UTC vs.
Revision 1.4 by loizides, Thu Dec 4 13:53:33 2008 UTC

# Line 21 | Line 21 | namespace mithep
21    {
22      public:
23        PhotonIDMod(const char *name="PhotonIDMod",
24 <                    const char *title="Photon identification module");
24 >                  const char *title="Photon identification module");
25        ~PhotonIDMod() {}
26  
27 <      void          SetPhotonBranchName(const char *n) { fPhotonBranchName= n;      }  
28 <      void          SetGoodPhotonsName(const char *n)  { fGoodPhotonsName = n;      }  
29 <      void          SetPhotonIDType(const char *type)  { fPhotonIDType    = type;   }
30 <      void          SetPhotonIsoType(const char *type) { fPhotonIsoType   = type;   }
31 <      void          SetPhotonPtMin(Double_t pt)        { fPhotonPtMin     = pt;     }
32 <      void          SetHadOverEmMax(Double_t hovere)   { fHadOverEmMax    = hovere; }
33 <      void          SetPhotonPtMin(Bool_t b)           { fApplyPixelSeed  = b;      }
27 >      void                SetPhotonBranchName(const char *n) { fPhotonBranchName= n;      }  
28 >      void                SetGoodPhotonsName(const char *n)  { fGoodPhotonsName = n;      }  
29 >      void                SetPhotonIDType(const char *type)  { fPhotonIDType    = type;   }
30 >      void                SetPhotonIsoType(const char *type) { fPhotonIsoType   = type;   }
31 >      void                SetPhotonPtMin(Double_t pt)        { fPhotonPtMin     = pt;     }
32 >      void                SetHadOverEmMax(Double_t hovere)   { fHadOverEmMax    = hovere; }
33 >      void                SetPhotonPtMin(Bool_t b)           { fApplyPixelSeed  = b;      }
34  
35  
36        enum EPhIdType {
# Line 48 | Line 48 | namespace mithep
48        };
49  
50      protected:
51 <      TString       fPhotonBranchName;     //branch name of electron collection
52 <      TString       fGoodPhotonsName;      //name of exported "good electrons" collection
53 <      TString       fPhotonIDType;         //type of electron ID we impose
54 <      TString       fPhotonIsoType;        //type of electron Isolation we impose
55 <      Double_t      fPhotonPtMin;          //min pt cut
56 <      Double_t      fHadOverEmMax;         //!HadOverEm Max
57 <      Bool_t        fApplyPixelSeed;       //!apply PixelSeed?
58 <      PhotonCol    *fPhotons;              //!electron branch
59 <      EPhIdType     fPhIdType;             //!identification scheme
60 <      EPhIsoType    fPhIsoType;            //!isolation scheme
51 >      TString             fPhotonBranchName;     //branch name of electron collection
52 >      TString             fGoodPhotonsName;      //name of exported "good electrons" collection
53 >      TString             fPhotonIDType;         //type of electron ID we impose
54 >      TString             fPhotonIsoType;        //type of electron Isolation we impose
55 >      Double_t            fPhotonPtMin;          //min pt cut
56 >      Double_t            fHadOverEmMax;         //!maximum of hadronic/em energy
57 >      Bool_t              fApplyPixelSeed;       //!=true then apply PixelSeed
58 >      const PhotonCol    *fPhotons;              //!photon branch
59 >      EPhIdType           fPhIdType;             //!identification scheme
60 >      EPhIsoType          fPhIsoType;            //!isolation scheme
61  
62        void          Process();
63        void          SlaveBegin();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines