1 #ifndef RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2Spring16HZZ_H
2 #define RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2Spring16HZZ_H
18 #include "TMVA/Factory.h"
19 #include "TMVA/Tools.h"
20 #include "TMVA/Reader.h"
90 void init(
const std::vector <std::string> weightFileNames);
100 float mvaValue(
const int iCategory,
const std::vector<float> & vars)
const ;
virtual const std::string & getTag() const overridefinal
std::vector< std::unique_ptr< const GBRForest > > gbrForest_s
const std::string MethodName_
float mvaValue(const edm::Ptr< reco::Candidate > &particle, const edm::Event &) const override
const edm::InputTag conversionsLabelAOD_
float expectedMissingInnerHits
const edm::InputTag beamSpotLabel_
std::unique_ptr< const GBRForest > createSingleReader(const int iCategory, const edm::FileInPath &weightFile)
float mcCBmatchingCategory
const edm::InputTag conversionsLabelMiniAOD_
ElectronMVAEstimatorRun2Spring16HZZ()
std::vector< float > fillMVAVariables(const edm::Ptr< reco::Candidate > &particle, const edm::Event &) const override
void setConsumes(edm::ConsumesCollector &&) const overridefinal
virtual const std::string & getName() const overridefinal
float convVtxFitProbability
bool isEndcapCategory(int category) const
virtual int getNCategories() const override
~ElectronMVAEstimatorRun2Spring16HZZ()
void constrainMVAVariables(AllVariables &) const
void init(const std::vector< std::string > weightFileNames)
int findCategory(const edm::Ptr< reco::Candidate > &particle) const override