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.5 by loizides, Wed Dec 10 11:44:33 2008 UTC vs.
Revision 1.6 by loizides, Wed Dec 10 17:28:22 2008 UTC

# Line 24 | Line 24 | namespace mithep
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;      }
34 <
27 >      Bool_t              GetApplyPixelSeed()         const { return fApplyPixelSeed;      }
28 >      const char         *GetGoodName()               const { return GetGoodPhotonsName(); }  
29 >      const char         *GetGoodPhotonsName()        const { return fGoodPhotonsName;     }  
30 >      Double_t            GetHadOverEmMax()           const { return fHadOverEmMax;        }
31 >      const char         *GetIDType()                 const { return fPhotonIDType;        }
32 >      const char         *GetInputName()              const { return fPhotonBranchName;    }  
33 >      const char         *GetIsoType()                const { return fPhotonIsoType;       }
34 >      const char         *GetOutputName()             const { return GetGoodPhotonsName(); }  
35 >      Double_t            GetPtMin()                  const { return fPhotonPtMin;         }
36 >      void                SetApplyPixelSeed(Bool_t b)       { fApplyPixelSeed  = b;        }
37 >      void                SetGoodName(const char *n)        { SetGoodPhotonsName(n);       }  
38 >      void                SetGoodPhotonsName(const char *n) { fGoodPhotonsName = n;        }  
39 >      void                SetHadOverEmMax(Double_t hoe)     { fHadOverEmMax    = hoe;      }
40 >      void                SetIDType(const char *type)       { fPhotonIDType    = type;     }
41 >      void                SetInputName(const char *n)       { fPhotonBranchName= n;        }  
42 >      void                SetIsoType(const char *type)      { fPhotonIsoType   = type;     }
43 >      void                SetOutputName(const char *n)      { SetGoodPhotonsName(n);       }    
44 >      void                SetPtMin(Double_t pt)             { fPhotonPtMin     = pt;       }
45  
46        enum EPhIdType {
47          kIdUndef = 0,       //not defined
# Line 51 | Line 61 | namespace mithep
61        void                Process();
62        void                SlaveBegin();
63  
64 <      TString             fPhotonBranchName;     //branch name of electron collection
65 <      TString             fGoodPhotonsName;      //name of exported "good electrons" collection
66 <      TString             fPhotonIDType;         //type of electron ID we impose
67 <      TString             fPhotonIsoType;        //type of electron Isolation we impose
64 >      TString             fPhotonBranchName;     //name of photon collection (input)
65 >      TString             fGoodPhotonsName;      //name of exported "good photon" collection
66 >      TString             fPhotonIDType;         //type of photon identification we impose
67 >      TString             fPhotonIsoType;        //type of photon isolation we impose
68        Double_t            fPhotonPtMin;          //min pt cut
69 <      Double_t            fHadOverEmMax;         //!maximum of hadronic/em energy
70 <      Bool_t              fApplyPixelSeed;       //!=true then apply PixelSeed
69 >      Double_t            fHadOverEmMax;         //maximum of hadronic/em energy
70 >      Bool_t              fApplyPixelSeed;       //=true then apply pixel seed constraint
71        const PhotonCol    *fPhotons;              //!photon branch
72        EPhIdType           fPhIdType;             //!identification scheme
73        EPhIsoType          fPhIsoType;            //!isolation scheme
74      
75 <    ClassDef(PhotonIDMod,1) // Photon identification module
75 >    ClassDef(PhotonIDMod, 1) // Photon identification module
76    };
77   }
78   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines