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.18 by bendavid, Wed May 18 14:01:18 2011 UTC vs.
Revision 1.20 by fabstoec, Fri Jul 15 17:24:37 2011 UTC

# Line 19 | Line 19
19   #include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
20   #include "MitAna/DataTree/interface/DecayParticleCol.h"
21   #include "MitAna/DataTree/interface/ElectronCol.h"
22 + #include "MitAna/DataTree/interface/VertexCol.h"
23  
24   namespace mithep
25   {
# Line 75 | Line 76 | namespace mithep
76        }
77        void                SetTriggerObjectsName(const char *n)   { fTrigObjectsName = n;       }
78      
79 +    void                SetPVName(const char *n)          { fPVName = n;                 }
80 +    void                SetPVFromBranch(bool b)           { fPVFromBranch = b;           }
81 +
82        enum EPhIdType {
83          kIdUndef = 0,       //not defined
84          kTight,             //"Tight"
85          kLoose,             //"Loose"
86          kLooseEM,           //"LooseEM"
87 +        kBaseLineCiC,        //"2011" Hgg BaseLine CiC
88          kCustomId           //"Custom"
89        };
90 +
91        enum EPhIsoType {
92          kIsoUndef = 0,      //not defined        
93          kNoIso,             //"NoIso"
# Line 101 | Line 107 | namespace mithep
107        TString             fPileUpDenName;        //name of the PU density collection      
108        TString             fConversionName;       //name of conversion branch
109        TString             fElectronName;
110 <      TString             fTrigObjectsName;        //name of trigger object collection      
110 >      TString             fTrigObjectsName;        //name of trigger object collection
111 >      TString             fPVName;
112        TString             fPhotonIDType;         //type of photon identification we impose
113        TString             fPhotonIsoType;        //type of photon isolation we impose
114        Double_t            fPhotonPtMin;          //min pt cut
# Line 132 | Line 139 | namespace mithep
139        const PileupEnergyDensityCol *fPileUpDen;  //!rho branch
140        const DecayParticleCol *fConversions;      //!conversion branch
141        const ElectronCol  *fElectrons;            //!electron branch
142 <
142 >      const VertexCol*    fPV;
143 >      bool                fPVFromBranch;
144  
145      ClassDef(PhotonIDMod, 1) // Photon identification module
146    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines