#include <LowPtGsfElectronSeedHeavyObjectCache.h>
lowptgsfeleseed::HeavyObjectCache::HeavyObjectCache |
( |
const edm::ParameterSet & |
conf | ) |
|
Definition at line 134 of file LowPtGsfElectronSeedHeavyObjectCache.cc.
References HLT_2018_cff::distance, Exception, postprocess-scan-build::features, spr::find(), PixelMapPlotter::inputs, Skims_PA_cff::name, convertSQLitetoXML_cfg::output, and reco::PreId::setMVA().
141 if (iter !=
names_.end()) {
144 features.set(ecal, hcal,
rho, spot, ecalTools);
145 std::vector<float>
inputs = features.get();
146 float output =
models_.at(index)->GetResponse(inputs.data());
148 ecal.
setMVA(pass, output, index);
152 <<
"'Name given: '" <<
name <<
"'. Check against configuration file.\n";
std::vector< std::string > names_
std::vector< double > thresholds_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void setMVA(bool accepted, float mva, unsigned n=0)
std::vector< std::unique_ptr< const GBRForest > > models_
std::vector<std::string> lowptgsfeleseed::HeavyObjectCache::modelNames |
( |
| ) |
const |
|
inline |
std::vector<std::unique_ptr<const GBRForest> > lowptgsfeleseed::HeavyObjectCache::models_ |
|
private |
std::vector<std::string> lowptgsfeleseed::HeavyObjectCache::names_ |
|
private |
std::vector<double> lowptgsfeleseed::HeavyObjectCache::thresholds_ |
|
private |