#include <LowPtGsfElectronSeedHeavyObjectCache.h>
lowptgsfeleseed::HeavyObjectCache::HeavyObjectCache |
( |
const edm::ParameterSet & |
conf | ) |
|
Definition at line 144 of file LowPtGsfElectronSeedHeavyObjectCache.cc.
References SoftLeptonByDistance_cfi::distance, Exception, postprocess-scan-build::features, spr::find(), haddnano::inputs, dataset::name, convertSQLitetoXML_cfg::output, and reco::PreId::setMVA().
151 std::vector<std::string>::const_iterator iter =
std::find(
names_.begin(),
154 if ( iter !=
names_.end() ) {
157 features.set(ecal,hcal,
rho,spot,ecalTools);
158 std::vector<float>
inputs = features.get();
159 float output =
models_.at(index)->GetResponse( inputs.data() );
161 ecal.
setMVA(pass,output,index);
165 <<
"'Name given: '" <<
name 166 <<
"'. 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 |