#include <LowPtGsfElectronIDHeavyObjectCache.h>
double lowptgsfeleid::HeavyObjectCache::eval |
( |
const std::string & |
name, |
|
|
const reco::GsfElectronRef & |
ele, |
|
|
double |
rho |
|
) |
| const |
Definition at line 138 of file LowPtGsfElectronIDHeavyObjectCache.cc.
References SoftLeptonByDistance_cfi::distance, Exception, postprocess-scan-build::features, spr::find(), PatBasicFWLiteJetAnalyzer_Selector_cfg::inputs, and dataset::name.
142 std::vector<std::string>::const_iterator iter =
std::find(
names_.begin(),
145 if ( iter !=
names_.end() ) {
148 features.set(ele,
rho);
149 std::vector<float>
inputs = features.get();
150 return models_.at(index)->GetResponse( inputs.data() );
153 <<
"'Name given: '" <<
name 154 <<
"'. Check against configuration file.\n";
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< std::string > names_
std::vector< std::unique_ptr< const GBRForest > > models_
std::vector<std::string> lowptgsfeleid::HeavyObjectCache::modelNames |
( |
| ) |
const |
|
inline |
std::vector< std::unique_ptr<const GBRForest> > lowptgsfeleid::HeavyObjectCache::models_ |
|
private |
std::vector<std::string> lowptgsfeleid::HeavyObjectCache::names_ |
|
private |
std::vector<double> lowptgsfeleid::HeavyObjectCache::thresholds_ |
|
private |