19 for (
auto&
name : conf.
getParameter<std::vector<std::string> >(
"ModelNames")) {
30 <<
"'ModelNames' size (" <<
names_.size() <<
") != 'ModelWeights' size (" <<
models_.size() <<
").\n";
34 <<
"'ModelWeights' size (" <<
models_.size() <<
") != 'ModelThresholds' size (" <<
thresholds_.size()
48 if (iter !=
names_.end()) {
57 <<
"'Name given: '" <<
name <<
"'. Check against configuration file.\n";
T getParameter(std::string const &) const
std::vector< std::string > names_
std::vector< double > thresholds_
bool eval(const std::string &name, reco::PreId &ecal, reco::PreId &hcal, double rho, const reco::BeamSpot &spot, noZS::EcalClusterLazyTools &ecalTools) const
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< float > features(const reco::PreId &ecal, const reco::PreId &hcal, double rho, const reco::BeamSpot &spot, noZS::EcalClusterLazyTools &ecalTools)
HeavyObjectCache(const edm::ParameterSet &)
std::vector< std::unique_ptr< const GBRForest > > models_