#include <PhysicsTools/PatAlgos/plugins/BaseMVAValueMapProducer.cc>
Public Member Functions | |
BaseMVAValueMapProducer (const edm::ParameterSet &iConfig) | |
void | setValue (const std::string var, float val) |
~BaseMVAValueMapProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static edm::ParameterSetDescription | getDescription () |
Private Member Functions | |
void | beginStream (edm::StreamID) override |
void | endStream () override |
virtual void | fillAdditionalVariables (const T &) |
void | produce (edm::Event &, const edm::EventSetup &) override |
virtual void | readAdditionalCollections (edm::Event &, const edm::EventSetup &) |
to be implemented in derived classes, filling values for additional variables More... | |
Private Attributes | |
std::vector< std::pair< std::string, StringObjectFunction< T, true > > > | funcs_ |
bool | isClassifier_ |
std::string | name_ |
std::map< std::string, size_t > | positions_ |
TMVA::Reader | reader_ |
edm::EDGetTokenT< edm::View< T > > | src_ |
std::vector< float > | values_ |
std::vector< std::string > | variablesOrder_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 50 of file BaseMVAValueMapProducer.h.
|
inlineexplicit |
Definition at line 52 of file BaseMVAValueMapProducer.h.
|
inlineoverride |
Definition at line 75 of file BaseMVAValueMapProducer.h.
|
inlineoverrideprivate |
Definition at line 85 of file BaseMVAValueMapProducer.h.
|
inlineoverrideprivate |
Definition at line 87 of file BaseMVAValueMapProducer.h.
|
inlineprivatevirtual |
Reimplemented in BJetEnergyRegressionMVA.
Definition at line 91 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< T >::produce().
|
static |
Definition at line 147 of file BaseMVAValueMapProducer.h.
References edm::ConfigurationDescriptions::add(), BaseMVAValueMapProducer< T >::getDescription(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by BaseMVAValueMapProducer< pat::Jet >::setValue().
|
static |
Definition at line 132 of file BaseMVAValueMapProducer.h.
References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::setAllowAnything(), AlCaHLTBitMon_QueryRunRegistry::string, and objects.autophobj::variables.
Referenced by BaseMVAValueMapProducer< T >::fillDescriptions(), BJetEnergyRegressionMVA::fillDescriptions(), and BaseMVAValueMapProducer< pat::Jet >::setValue().
|
overrideprivate |
Definition at line 107 of file BaseMVAValueMapProducer.h.
References edm::helper::Filler< Map >::fill(), BaseMVAValueMapProducer< T >::fillAdditionalVariables(), objects.autophobj::filler, BaseMVAValueMapProducer< T >::funcs_, edm::Event::getByToken(), edm::helper::Filler< Map >::insert(), BaseMVAValueMapProducer< T >::isClassifier_, eostools::move(), BaseMVAValueMapProducer< T >::name_, connectstrParser::o, AlCaHLTBitMon_ParallelJobs::p, BaseMVAValueMapProducer< T >::positions_, edm::Event::put(), BaseMVAValueMapProducer< T >::readAdditionalCollections(), BaseMVAValueMapProducer< T >::reader_, TrackRefitter_38T_cff::src, BaseMVAValueMapProducer< T >::src_, and BaseMVAValueMapProducer< T >::values_.
Referenced by BaseMVAValueMapProducer< pat::Jet >::beginStream().
|
inlineprivatevirtual |
to be implemented in derived classes, filling values for additional variables
Reimplemented in BJetEnergyRegressionMVA.
Definition at line 90 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< T >::produce().
|
inline |
Definition at line 77 of file BaseMVAValueMapProducer.h.
Referenced by BJetEnergyRegressionMVA::fillAdditionalVariables().
|
private |
Definition at line 96 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer(), and BaseMVAValueMapProducer< T >::produce().
|
private |
Definition at line 101 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< T >::produce().
|
private |
Definition at line 100 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer(), and BaseMVAValueMapProducer< T >::produce().
|
private |
Definition at line 95 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer(), BaseMVAValueMapProducer< T >::produce(), and BaseMVAValueMapProducer< pat::Jet >::setValue().
|
private |
Definition at line 99 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer(), and BaseMVAValueMapProducer< T >::produce().
|
private |
Definition at line 94 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< T >::produce().
|
private |
Definition at line 98 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer(), BaseMVAValueMapProducer< T >::produce(), and BaseMVAValueMapProducer< pat::Jet >::setValue().
|
private |
Definition at line 97 of file BaseMVAValueMapProducer.h.
Referenced by BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer().