1 #ifndef RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2_H
2 #define RecoEgamma_ElectronIdentification_ElectronMVAEstimatorRun2_H
41 const std::vector<std::string>& categoryCutStrings,
42 const std::vector<std::string>& weightFileNames,
47 std::vector<float>
const& auxVariables,
48 int& iCategory)
const override;
52 return mvaValue(candidate, std::vector<float>{rho}, iCategory);
58 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_
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