#include <MVAValueMapProducer.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
Private Attributes | |
const edm::EDGetTokenT< edm::View< ParticleType > > | keysForValueMapsToken_ |
const std::vector< std::string > | mvaCategoriesMapNames_ |
const std::vector< std::unique_ptr< AnyMVAEstimatorRun2Base > > | mvaEstimators_ |
const std::vector< std::string > | mvaRawValueMapNames_ |
const std::vector< std::string > | mvaValueMapNames_ |
const MultiTokenT< edm::View< ParticleType > > | src_ |
std::atomic< bool > | validated_ = false |
const MVAVariableHelper< ParticleType > | variableHelper_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | 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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Definition at line 26 of file MVAValueMapProducer.h.
MVAValueMapProducer< ParticleType >::MVAValueMapProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 103 of file MVAValueMapProducer.h.
References MVAValueMapProducer< ParticleType >::mvaCategoriesMapNames_, MVAValueMapProducer< ParticleType >::mvaRawValueMapNames_, MVAValueMapProducer< ParticleType >::mvaValueMapNames_, and dataset::name.
|
inlineoverride |
Definition at line 31 of file MVAValueMapProducer.h.
References MVAValueMapProducer< ParticleType >::fillDescriptions(), and MVAValueMapProducer< ParticleType >::produce().
|
static |
Definition at line 160 of file MVAValueMapProducer.h.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addVPSet(), ElectronMVAValueMapProducer_cfi::mvaConfigurations, and edm::ParameterSetDescription::setUnknown().
Referenced by MVAValueMapProducer< ParticleType >::~MVAValueMapProducer().
|
overrideprivate |
Definition at line 119 of file MVAValueMapProducer.h.
References eostools::cat(), JetChargeProducer_cfi::exp, edm::Event::getHandle(), MultiTokenT< T >::getValidHandle(), edm::EDGetTokenT< T >::isUninitialized(), MVAValueMapProducer< ParticleType >::keysForValueMapsToken_, MVAValueMapProducer< ParticleType >::mvaCategoriesMapNames_, MVAValueMapProducer< ParticleType >::mvaEstimators_, MVAValueMapProducer< ParticleType >::mvaRawValueMapNames_, MVAValueMapProducer< ParticleType >::mvaValueMapNames_, MVAValueMapProducer< ParticleType >::src_, MVAValueMapProducer< ParticleType >::validated_, egammaTools::validateEgammaCandidate(), MVAValueMapProducer< ParticleType >::variableHelper_, and writeValueMap().
Referenced by MVAValueMapProducer< ParticleType >::~MVAValueMapProducer().
|
private |
Definition at line 41 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 49 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::MVAValueMapProducer(), and MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 44 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 48 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::MVAValueMapProducer(), and MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 47 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::MVAValueMapProducer(), and MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 40 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::produce().
|
mutableprivate |
Definition at line 54 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 52 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::produce().