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.22 by bendavid, Wed Aug 3 17:15:43 2011 UTC vs.
Revision 1.23 by fabstoec, Tue Oct 18 11:27:19 2011 UTC

# Line 24 | Line 24
24   #include "MitAna/DataTree/interface/PileupInfoCol.h"
25   #include "MitAna/DataTree/interface/MCParticleCol.h"
26  
27 + #include "MitPhysics/Utils/interface/MVATools.h"
28 +
29   namespace mithep
30   {
31    class PhotonIDMod : public BaseMod
# Line 86 | Line 88 | namespace mithep
88      void                SetGoodElectronsFromBranch(Bool_t b) { fGoodElectronsFromBranch = b; }
89      void                SetGoodElectronName(TString name) { fGoodElectronName = name; }
90  
91 +    void                SetBdtCutBarrel(double a) {fbdtCutBarrel = a; }
92 +    void                SetBdtCutEndcap(double a) {fbdtCutEndcap = a; }
93 +
94 +
95        enum EPhIdType {
96          kIdUndef = 0,       //not defined
97          kTight,             //"Tight"
98          kLoose,             //"Loose"
99          kLooseEM,           //"LooseEM"
100          kBaseLineCiC,        //"2011" Hgg BaseLine CiC
101 +        kMITMVAId,          // MingMing MVA ID
102          kCustomId           //"Custom"
103        };
104  
# Line 154 | Line 161 | namespace mithep
161        const VertexCol*    fPV;                   //!
162        const MCParticleCol          *fMCParticles;//!
163        const PileupInfoCol          *fPileUp;     //!  
164 +
165 +      Double_t fbdtCutBarrel;
166 +      Double_t fbdtCutEndcap;
167 +      int                         fVariableType;
168 +      TString                     fEndcapWeights;
169 +      TString                     fBarrelWeights;
170 +      MVATools                    fTool;
171 +
172        bool                fPVFromBranch;
173        Bool_t              fGoodElectronsFromBranch;
174        Bool_t              fIsData;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines