ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/ElectronIDMVA.h
(Generate patch)

Comparing UserCode/MitPhysics/Utils/interface/ElectronIDMVA.h (file contents):
Revision 1.11 by ceballos, Sat Apr 28 07:11:17 2012 UTC vs.
Revision 1.13 by vdutta, Wed Jun 13 01:50:48 2012 UTC

# Line 22 | Line 22
22   #include "MitCommon/MathTools/interface/MathUtils.h"
23   #include "MitPhysics/Utils/interface/ElectronTools.h"
24  
25 + // for Rho definitons
26 + #include "MitPhysics/Utils/interface/RhoUtilities.h"
27 +
28   class TRandom3;
29   namespace TMVA {
30    class Reader;
# Line 41 | Line 44 | namespace mithep {
44          kIDIsoCombined,         // ID variables , PFIso03 , PFIso04
45          kIDEGamma2012TrigV0,    // EGamma certified (Spring 2012) ID-only MVA
46          kIDEGamma2012NonTrigV0, // EGamma certified (Spring 2012) ID-only MVA
47 +        kIDEGamma2012NonTrigV1, // EGamma certified (Spring 2012) ID-only MVA, "official" version
48          kIsoRingsV0,            // Isolation MVA with IsoRings as input
49          kIDHWW2012TrigV0        // HWW certified (Spring 2012) ID-only MVA
50        };
# Line 48 | Line 52 | namespace mithep {
52  
53        void     Initialize( std::string methodName,
54                             std::string weightsfile,
55 <                           ElectronIDMVA::MVAType type);
55 >                           ElectronIDMVA::MVAType type,
56 >                           RhoUtilities::RhoType theRhoType = RhoUtilities::DEFAULT);
57        void     Initialize( std::string methodName,
58                             ElectronIDMVA::MVAType type,
59                             Bool_t useBinnedVersion,
60 <                           std::vector<std::string> weightsfiles );
60 >                           std::vector<std::string> weightsfiles,
61 >                           RhoUtilities::RhoType theRhoType = RhoUtilities::DEFAULT);
62        void     Initialize(TString methodName,
63                            TString Subdet0Pt10To20Weights ,
64                            TString Subdet1Pt10To20Weights ,
# Line 60 | Line 66 | namespace mithep {
66                            TString Subdet0Pt20ToInfWeights,
67                            TString Subdet1Pt20ToInfWeights,
68                            TString Subdet2Pt20ToInfWeights,
69 <                          ElectronIDMVA::MVAType type );
69 >                          ElectronIDMVA::MVAType type,
70 >                          RhoUtilities::RhoType theRhoType = RhoUtilities::DEFAULT);
71        
72        Bool_t   IsInitialized() const { return fIsInitialized; }
73        void     bindVariables();
# Line 174 | Line 181 | namespace mithep {
181        MVAType                   fMVAType;
182        Bool_t                    fUseBinnedVersion;
183        UInt_t                    fNMVABins;
184 +      RhoUtilities::RhoType     fTheRhoType;
185  
186        Float_t                   fMVAVar_ElePt;
187        Float_t                   fMVAVar_EleEta;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines