#include <PhysicsTools/PatAlgos/plugins/BaseMVAValueMapProducer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static edm::ParameterSetDescription | getDescription () |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 85 of file BaseMVAValueMapProducer.h.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
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().