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