19 #ifndef EGammaMvaEleEstimator_H
20 #define EGammaMvaEleEstimator_H
34 #include "TMVA/Factory.h"
35 #include "TMVA/Tools.h"
36 #include "TMVA/Reader.h"
53 std::string weightsfile,
57 Bool_t useBinnedVersion,
58 std::vector<std::string> weightsfiles );
113 Double_t ChargedIso_DR0p0To0p1,
114 Double_t ChargedIso_DR0p1To0p2,
115 Double_t ChargedIso_DR0p2To0p3,
116 Double_t ChargedIso_DR0p3To0p4,
117 Double_t ChargedIso_DR0p4To0p5,
118 Double_t GammaIso_DR0p0To0p1,
119 Double_t GammaIso_DR0p1To0p2,
120 Double_t GammaIso_DR0p2To0p3,
121 Double_t GammaIso_DR0p3To0p4,
122 Double_t GammaIso_DR0p4To0p5,
123 Double_t NeutralHadronIso_DR0p0To0p1,
124 Double_t NeutralHadronIso_DR0p1To0p2,
125 Double_t NeutralHadronIso_DR0p2To0p3,
126 Double_t NeutralHadronIso_DR0p3To0p4,
127 Double_t NeutralHadronIso_DR0p4To0p5,
149 Double_t PreShowerOverRaw,
175 Double_t PreShowerOverRaw,
198 Double_t PreShowerOverRaw,
214 Double_t OneMinusE1x5E5x5,
220 Double_t PreShowerOverRaw,
223 Double_t ChargedIso_DR0p0To0p1,
224 Double_t ChargedIso_DR0p1To0p2,
225 Double_t ChargedIso_DR0p2To0p3,
226 Double_t ChargedIso_DR0p3To0p4,
227 Double_t ChargedIso_DR0p4To0p5,
228 Double_t GammaIso_DR0p0To0p1,
229 Double_t GammaIso_DR0p1To0p2,
230 Double_t GammaIso_DR0p2To0p3,
231 Double_t GammaIso_DR0p3To0p4,
232 Double_t GammaIso_DR0p4To0p5,
233 Double_t NeutralHadronIso_DR0p0To0p1,
234 Double_t NeutralHadronIso_DR0p1To0p2,
235 Double_t NeutralHadronIso_DR0p2To0p3,
236 Double_t NeutralHadronIso_DR0p3To0p4,
237 Double_t NeutralHadronIso_DR0p4To0p5,
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
Float_t fMVAVar_ChargedIso_DR0p2To0p3
Float_t fMVAVar_GammaIso_DR0p1To0p2
Float_t fMVAVar_NeutralHadronIso_DR0p4To0p5