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.21 by bendavid, Wed Jul 27 15:17:36 2011 UTC vs.
Revision 1.22 by bendavid, Wed Aug 3 17:15:43 2011 UTC

# Line 20 | Line 20
20   #include "MitAna/DataTree/interface/DecayParticleCol.h"
21   #include "MitAna/DataTree/interface/ElectronCol.h"
22   #include "MitAna/DataTree/interface/VertexCol.h"
23 < #include "MitPhysics/Mods/interface/PhotonPairSelector.h"
23 > #include "MitAna/DataTree/interface/DecayParticleCol.h"
24 > #include "MitAna/DataTree/interface/PileupInfoCol.h"
25 > #include "MitAna/DataTree/interface/MCParticleCol.h"
26  
27   namespace mithep
28   {
# Line 47 | Line 49 | namespace mithep
49        void                SetApplySpikeRemoval(Bool_t b)    { fApplySpikeRemoval  = b;     }
50        void                SetApplyPixelSeed(Bool_t b)       { fApplyPixelSeed  = b;        }
51        void                SetApplyElectronVeto(Bool_t b)    { fApplyElectronVeto = b;      }
52 +      void                SetInvertElectronVeto(Bool_t b)   { fInvertElectronVeto = b;     }      
53        void                SetApplyElectronVetoConvRecovery(Bool_t b) { fApplyElectronVetoConvRecovery = b; }
54        void                SetApplyConversionId(Bool_t b)    { fApplyConversionId = b;      }
55        void                SetApplyTriggerMatching(Bool_t b)      { fApplyTriggerMatching = b;  }      
# Line 80 | Line 83 | namespace mithep
83      void                SetPVName(const char *n)          { fPVName = n;                 }
84      void                SetPVFromBranch(bool b)           { fPVFromBranch = b;           }
85      void                SetIsData (Bool_t b) { fIsData = b;};
86 <    void                SetWriteTree(Bool_t b) { fWriteTree = b;}
86 >    void                SetGoodElectronsFromBranch(Bool_t b) { fGoodElectronsFromBranch = b; }
87 >    void                SetGoodElectronName(TString name) { fGoodElectronName = name; }
88  
89        enum EPhIdType {
90          kIdUndef = 0,       //not defined
# Line 110 | Line 114 | namespace mithep
114        TString             fPileUpDenName;        //name of the PU density collection      
115        TString             fConversionName;       //name of conversion branch
116        TString             fElectronName;
117 +      TString             fGoodElectronName;
118        TString             fTrigObjectsName;        //name of trigger object collection
119        TString             fPVName;
120        TString             fMCParticleName;
# Line 121 | Line 126 | namespace mithep
126        Bool_t              fApplySpikeRemoval;    //whether apply spike removal      
127        Bool_t              fApplyPixelSeed;       //=true then apply pixel seed constraint
128        Bool_t              fApplyElectronVeto;    //=true then apply electron veto (with no conversion recovery)
129 +      Bool_t              fInvertElectronVeto;    //=true then invert electron veto (for cic selection only atm)      
130        Bool_t              fApplyElectronVetoConvRecovery; //=true then apply electron veto with conversion recovery
131        Bool_t              fApplyConversionId;    //=true then apply conversion id cuts
132        Bool_t              fApplyTriggerMatching;   //match to hlt photon (default=0)      
# Line 144 | Line 150 | namespace mithep
150        const PileupEnergyDensityCol *fPileUpDen;  //!rho branch
151        const DecayParticleCol *fConversions;      //!conversion branch
152        const ElectronCol  *fElectrons;            //!electron branch
153 +      const ElectronCol  *fGoodElectrons;        //!electron branch
154        const VertexCol*    fPV;                   //!
155        const MCParticleCol          *fMCParticles;//!
156        const PileupInfoCol          *fPileUp;     //!  
157        bool                fPVFromBranch;
158 <      PhotonPairSelectorDiphotonEvent* fDiphotonEvent;
152 <      PhotonPairSelectorPhoton* fSinglePhoton;    
153 <      TTree              *hPhotonTree; //!
158 >      Bool_t              fGoodElectronsFromBranch;
159        Bool_t              fIsData;
155      Bool_t              fWriteTree;
160  
161  
162  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines