1 #ifndef RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2_H 2 #define RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2_H 28 const std::vector<std::string>& categoryCutStrings,
35 return std::vector<float>{
static_cast<float>(
rho)};
39 float mvaValue(
const reco::Candidate* candidate, std::vector<float>
const& auxVariables,
int &iCategory)
const override;
45 void init(
const std::vector<std::string> &weightFileNames);
MVAVariableManager< reco::GsfElectron > mvaVarMngr_
std::vector< int > nVariables_
std::vector< ThreadSafeStringCut< StringCutObjectSelector< reco::GsfElectron >, reco::GsfElectron > > categoryFunctions_
~ElectronMVAEstimatorRun2() override
float mvaValue(const reco::Candidate *candidate, std::vector< float > const &auxVariables, int &iCategory) const override
ElectronMVAEstimatorRun2(const edm::ParameterSet &conf)
void init(const std::vector< std::string > &weightFileNames)
std::vector< std::vector< int > > variables_
std::vector< std::unique_ptr< const GBRForest > > gbrForests_
int findCategory(const reco::Candidate *candidate) const override
static std::vector< float > getExtraVars(double rho)