#include <MVAObjectCache.h>
Public Types | |
typedef std::unique_ptr< const AnyMVAEstimatorRun2Base > | MVAPtr |
Public Member Functions | |
const std::unordered_map< std::string, MVAPtr > & | allMVAs () const |
const MVAPtr & | getMVA (const std::string &mva) const |
MVAObjectCache (const edm::ParameterSet &conf) | |
Private Attributes | |
std::unordered_map< std::string, MVAPtr > | mvas_ |
Definition at line 14 of file MVAObjectCache.h.
typedef std::unique_ptr<const AnyMVAEstimatorRun2Base> egamma::MVAObjectCache::MVAPtr |
Definition at line 16 of file MVAObjectCache.h.
MVAObjectCache::MVAObjectCache | ( | const edm::ParameterSet & | conf | ) |
Definition at line 5 of file MVAObjectCache.cc.
References Exception, reco::get(), edm::ParameterSet::getParameterSetVector(), mvas_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 22 of file MVAObjectCache.h.
References mvas_.
Referenced by MVAValueMapProducer< ParticleType >::MVAValueMapProducer().
const MVAObjectCache::MVAPtr & MVAObjectCache::getMVA | ( | const std::string & | mva | ) | const |
Definition at line 38 of file MVAObjectCache.cc.
References Exception, and mvas_.
|
private |
Definition at line 26 of file MVAObjectCache.h.
Referenced by allMVAs(), getMVA(), and MVAObjectCache().