1 #ifndef RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2Phys14NonTrig_H
2 #define RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2Phys14NonTrig_H
14 #include "TMVA/Factory.h"
15 #include "TMVA/Tools.h"
16 #include "TMVA/Reader.h"
17 #include "TMVA/MethodBDT.h"
float mvaValue(const edm::Ptr< reco::Candidate > &particle, const edm::Event &evt) const override
virtual int getNCategories() const overridefinal
int findCategory(const edm::Ptr< reco::Candidate > &particle) const override
std::vector< std::unique_ptr< const GBRForest > > _gbrForests
std::unique_ptr< const GBRForest > createSingleReader(const int iCategory, const edm::FileInPath &weightFile)
std::vector< float > fillMVAVariables(const edm::Ptr< reco::Candidate > &particle, const edm::Event &) const override
ElectronMVAEstimatorRun2Phys14NonTrig(const edm::ParameterSet &conf)
~ElectronMVAEstimatorRun2Phys14NonTrig()
virtual const std::string & getTag() const overridefinal
void constrainMVAVariables(AllVariables &vars) const
bool isEndcapCategory(int category) const
virtual const std::string & getName() const overridefinal