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.28 by fabstoec, Wed Jul 25 15:00:42 2012 UTC vs.
Revision 1.30 by fabstoec, Thu Aug 2 12:59:31 2012 UTC

# Line 27 | Line 27
27  
28   #include "MitPhysics/Utils/interface/MVATools.h"
29   #include "MitPhysics/Utils/interface/PhotonTools.h"
30 + #include "MitPhysics/Utils/interface/RhoUtilities.h"
31  
32   class TRandom3;
33  
# Line 161 | Line 162 | namespace mithep
162      void                SetDoMCErrScaling(Bool_t b)        { fDoMCErrScaling = b; }
163      void                SetMCErrScale(Double_t ebscale, Double_t eescale) { fMCErrScaleEB = ebscale; fMCErrScaleEE = eescale; }
164  
165 +    void                SetIdMVAType(const char *type)    { fIdMVATypeName        = type;    }
166 +
167 +    void                SetRhoType(RhoUtilities::RhoType type) { fRhoType = type ; }
168 +
169        enum EPhIdType {
170          kIdUndef = 0,       //not defined
171          kTight,             //"Tight"
# Line 171 | Line 176 | namespace mithep
176          kMITMVAId,            // MingMing MVA ID
177          kMITPhSelection,      //MIT loose preselection (for mva)
178          kMITPFPhSelection,    //MIT loose preselection (for mva)
179 +        kMITPFPhSelection_NoTrigger,    //MIT loose preselection (for mva, no Trigger)
180          kVgamma2011Selection, // Vgamma 2011 Photon ID
181 +        kTrivialSelection,    // only pt & eta cuts
182          kCustomId             //"Custom"
183        };
184  
# Line 244 | Line 251 | namespace mithep
251  
252        Double_t fbdtCutBarrel;
253        Double_t fbdtCutEndcap;
254 +
255 +      // ----------------------------------------------------------------
256 +      // these guys should go away.... (let MVATools handle this)   (fab)
257        int                         fVariableType;
258        TString                     fEndcapWeights;
259        TString                     fBarrelWeights;
260 +      // ----------------------------------------------------------------
261        MVATools                    fTool;
262 +      TString                     fIdMVATypeName;
263 +      MVATools::IdMVAType         fIdMVAType;
264 +      // ----------------------------------------------------------------
265  
266        Bool_t fDoMCR9Scaling;
267        Double_t fMCR9ScaleEB;
# Line 301 | Line 315 | namespace mithep
315  
316        TRandom3* fRng;
317  
318 +      RhoUtilities::RhoType fRhoType;
319  
320      ClassDef(PhotonIDMod, 1) // Photon identification module
321    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines