18 #ifndef EGammaMvaEleEstimator_H 19 #define EGammaMvaEleEstimator_H 33 #include "TMVA/Factory.h" 34 #include "TMVA/Tools.h" 35 #include "TMVA/Reader.h" 36 #include "TMVA/MethodBase.h" 55 Bool_t useBinnedVersion,
56 std::vector<std::string> weightsfiles);
85 bool useFull5x5 = kFALSE,
110 Double_t ChargedIso_DR0p0To0p1,
111 Double_t ChargedIso_DR0p1To0p2,
112 Double_t ChargedIso_DR0p2To0p3,
113 Double_t ChargedIso_DR0p3To0p4,
114 Double_t ChargedIso_DR0p4To0p5,
115 Double_t GammaIso_DR0p0To0p1,
116 Double_t GammaIso_DR0p1To0p2,
117 Double_t GammaIso_DR0p2To0p3,
118 Double_t GammaIso_DR0p3To0p4,
119 Double_t GammaIso_DR0p4To0p5,
120 Double_t NeutralHadronIso_DR0p0To0p1,
121 Double_t NeutralHadronIso_DR0p1To0p2,
122 Double_t NeutralHadronIso_DR0p2To0p3,
123 Double_t NeutralHadronIso_DR0p3To0p4,
124 Double_t NeutralHadronIso_DR0p4To0p5,
146 Double_t PreShowerOverRaw,
172 Double_t PreShowerOverRaw,
195 Double_t PreShowerOverRaw,
211 Double_t OneMinusE1x5E5x5,
217 Double_t PreShowerOverRaw,
220 Double_t ChargedIso_DR0p0To0p1,
221 Double_t ChargedIso_DR0p1To0p2,
222 Double_t ChargedIso_DR0p2To0p3,
223 Double_t ChargedIso_DR0p3To0p4,
224 Double_t ChargedIso_DR0p4To0p5,
225 Double_t GammaIso_DR0p0To0p1,
226 Double_t GammaIso_DR0p1To0p2,
227 Double_t GammaIso_DR0p2To0p3,
228 Double_t GammaIso_DR0p3To0p4,
229 Double_t GammaIso_DR0p4To0p5,
230 Double_t NeutralHadronIso_DR0p0To0p1,
231 Double_t NeutralHadronIso_DR0p1To0p2,
232 Double_t NeutralHadronIso_DR0p2To0p3,
233 Double_t NeutralHadronIso_DR0p3To0p4,
234 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)
Double_t mvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, EcalClusterLazyTools const &myEcalCluster, bool printDebug=kFALSE)
Float_t fMVAVar_ChargedIso_DR0p4To0p5
Float_t fMVAVar_GammaIso_DR0p0To0p1
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
void initialize(std::string methodName, std::string weightsfile, EGammaMvaEleEstimator::MVAType type)
Float_t fMVAVar_NeutralHadronIso_DR0p0To0p1
Float_t fMVAVar_PreShowerOverRaw
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
static constexpr float d0
Float_t fMVAVar_NeutralHadronIso_DR0p2To0p3
Bool_t isInitialized() const
Float_t fMVAVar_ChargedIso_DR0p3To0p4
Float_t fMVAVar_NeutralHadronIso_DR0p1To0p2
Float_t fMVAVar_kfhitsall
Analysis-level electron class.
Float_t fMVAVar_NeutralHadronIso_DR0p3To0p4
UInt_t GetMVABin(double eta, double pt) const
Float_t fMVAVar_GammaIso_DR0p2To0p3
Double_t IDIsoCombinedMvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, EcalClusterLazyTools const &myEcalCluster, const reco::PFCandidateCollection &PFCandidates, double Rho, ElectronEffectiveArea::ElectronEffectiveAreaTarget EATarget, bool printDebug=kFALSE)
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