1 #ifndef RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2_H
2 #define RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2_H
25 const std::vector<std::string>& categoryCutStrings,
26 const std::vector<std::string>& weightFileNames,
31 std::vector<float>
const& auxVariables,
32 int& iCategory)
const override;
36 return mvaValue(candidate, std::vector<float>{rho}, iCategory);
42 void init(
const std::vector<std::string>& weightFileNames);
float mvaValue(const reco::Candidate *candidate, float rho, int &iCategory) const
MVAVariableManager< reco::GsfElectron > mvaVarMngr_
std::vector< int > nVariables_
~ElectronMVAEstimatorRun2() override
std::vector< ThreadSafeFunctor< StringCutObjectSelector< reco::GsfElectron > > > categoryFunctions_
ElectronMVAEstimatorRun2(const edm::ParameterSet &conf)
void init(const std::vector< std::string > &weightFileNames)
std::vector< std::vector< int > > variables_
float mvaValue(const reco::Candidate *candidate, std::vector< float > const &auxVariables, int &iCategory) const override
std::vector< std::unique_ptr< const GBRForest > > gbrForests_
int findCategory(const reco::Candidate *candidate) const override