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; |
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 |
|
}; |
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 , |
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(); |
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; |