19 #ifndef EGammaMvaEleEstimator_H 20 #define EGammaMvaEleEstimator_H 34 #include "TMVA/Factory.h" 35 #include "TMVA/Tools.h" 36 #include "TMVA/Reader.h" 37 #include "TMVA/MethodBase.h" 58 Bool_t useBinnedVersion,
59 std::vector<std::string> weightsfiles );
72 bool printDebug = kFALSE);
80 bool printDebug = kFALSE);
84 bool printDebug = kFALSE);
90 bool useFull5x5 = kFALSE,
91 bool printDebug = kFALSE);
100 bool printDebug = kFALSE);
109 bool printDebug = kFALSE);
115 Double_t ChargedIso_DR0p0To0p1,
116 Double_t ChargedIso_DR0p1To0p2,
117 Double_t ChargedIso_DR0p2To0p3,
118 Double_t ChargedIso_DR0p3To0p4,
119 Double_t ChargedIso_DR0p4To0p5,
120 Double_t GammaIso_DR0p0To0p1,
121 Double_t GammaIso_DR0p1To0p2,
122 Double_t GammaIso_DR0p2To0p3,
123 Double_t GammaIso_DR0p3To0p4,
124 Double_t GammaIso_DR0p4To0p5,
125 Double_t NeutralHadronIso_DR0p0To0p1,
126 Double_t NeutralHadronIso_DR0p1To0p2,
127 Double_t NeutralHadronIso_DR0p2To0p3,
128 Double_t NeutralHadronIso_DR0p3To0p4,
129 Double_t NeutralHadronIso_DR0p4To0p5,
130 Bool_t printDebug = kFALSE );
151 Double_t PreShowerOverRaw,
156 Bool_t printDebug = kFALSE );
177 Double_t PreShowerOverRaw,
180 Bool_t printDebug = kFALSE );
200 Double_t PreShowerOverRaw,
203 Bool_t printDebug = kFALSE );
216 Double_t OneMinusE1x5E5x5,
222 Double_t PreShowerOverRaw,
225 Double_t ChargedIso_DR0p0To0p1,
226 Double_t ChargedIso_DR0p1To0p2,
227 Double_t ChargedIso_DR0p2To0p3,
228 Double_t ChargedIso_DR0p3To0p4,
229 Double_t ChargedIso_DR0p4To0p5,
230 Double_t GammaIso_DR0p0To0p1,
231 Double_t GammaIso_DR0p1To0p2,
232 Double_t GammaIso_DR0p2To0p3,
233 Double_t GammaIso_DR0p3To0p4,
234 Double_t GammaIso_DR0p4To0p5,
235 Double_t NeutralHadronIso_DR0p0To0p1,
236 Double_t NeutralHadronIso_DR0p1To0p2,
237 Double_t NeutralHadronIso_DR0p2To0p3,
238 Double_t NeutralHadronIso_DR0p3To0p4,
239 Double_t NeutralHadronIso_DR0p4To0p5,
243 Bool_t printDebug = kFALSE);
Float_t fMVAVar_ChargedIso_DR0p1To0p2
Float_t fMVAVar_GammaIso_DR0p3To0p4
Float_t fMVAVar_GammaIso_DR0p4To0p5
Double_t isoMvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const reco::PFCandidateCollection &PFCandidates, double Rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EATarget, const reco::GsfElectronCollection &IdentifiedElectrons, const reco::MuonCollection &IdentifiedMuons, bool printDebug=kFALSE)
Float_t fMVAVar_ChargedIso_DR0p4To0p5
Float_t fMVAVar_GammaIso_DR0p0To0p1
UInt_t GetMVABin(double eta, double pt) const
std::vector< TMVA::Reader * > fTMVAReader
ElectronEffectiveAreaTarget
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
std::vector< Muon > MuonCollection
collection of Muon objects
Float_t fMVAVar_OneMinusE1x5E5x5
Float_t fMVAVar_eleEoPout
Double_t IDIsoCombinedMvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, EcalClusterLazyTools myEcalCluster, const reco::PFCandidateCollection &PFCandidates, double Rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EATarget, bool printDebug=kFALSE)
Bool_t isInitialized() const
void initialize(std::string methodName, std::string weightsfile, EGammaMvaEleEstimator::MVAType type)
Float_t fMVAVar_NeutralHadronIso_DR0p0To0p1
Float_t fMVAVar_PreShowerOverRaw
Double_t mvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, EcalClusterLazyTools myEcalCluster, bool printDebug=kFALSE)
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
Float_t fMVAVar_NeutralHadronIso_DR0p2To0p3
Float_t fMVAVar_ChargedIso_DR0p3To0p4
Float_t fMVAVar_NeutralHadronIso_DR0p1To0p2
Float_t fMVAVar_kfhitsall
Analysis-level electron class.
Float_t fMVAVar_NeutralHadronIso_DR0p3To0p4
Float_t fMVAVar_GammaIso_DR0p2To0p3
Float_t fMVAVar_ChargedIso_DR0p0To0p1
std::vector< TMVA::MethodBase * > fTMVAMethod
Float_t fMVAVar_ChargedIso_DR0p2To0p3
Float_t fMVAVar_GammaIso_DR0p1To0p2
Float_t fMVAVar_NeutralHadronIso_DR0p4To0p5