#include <MVAValueMapProducer.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (const egamma::MVAObjectCache *) |
static std::unique_ptr< egamma::MVAObjectCache > | initializeGlobalCache (const edm::ParameterSet &conf) |
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 | produce (edm::Event &, const edm::EventSetup &) override |
template<typename T > | |
void | writeValueMap (edm::Event &iEvent, const edm::Handle< edm::View< ParticleType > > &handle, const std::vector< T > &values, const std::string &label) const |
Private Attributes | |
std::vector< std::string > | mvaCategoriesMapNames_ |
std::vector< std::string > | mvaRawValueMapNames_ |
std::vector< std::string > | mvaValueMapNames_ |
edm::EDGetToken | src_ |
edm::EDGetToken | srcMiniAOD_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< egamma::MVAObjectCache > > | |
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) |
Definition at line 22 of file MVAValueMapProducer.h.
MVAValueMapProducer< ParticleType >::MVAValueMapProducer | ( | const edm::ParameterSet & | iConfig, |
const egamma::MVAObjectCache * | mva_cache | ||
) |
Definition at line 65 of file MVAValueMapProducer.h.
References egamma::MVAObjectCache::allMVAs(), edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getParameter(), MVAValueMapProducer< ParticleType >::mvaCategoriesMapNames_, MVAValueMapProducer< ParticleType >::mvaRawValueMapNames_, MVAValueMapProducer< ParticleType >::mvaValueMapNames_, MVAValueMapProducer< ParticleType >::src_, MVAValueMapProducer< ParticleType >::srcMiniAOD_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 104 of file MVAValueMapProducer.h.
|
static |
Definition at line 173 of file MVAValueMapProducer.h.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
Referenced by MVAValueMapProducer< ParticleType >::globalEndJob().
|
inlinestatic |
Definition at line 34 of file MVAValueMapProducer.h.
References MVAValueMapProducer< ParticleType >::fillDescriptions(), cmsBatch::handle, iEvent, diffTwoXMLs::label, MVAValueMapProducer< ParticleType >::produce(), AlCaHLTBitMon_QueryRunRegistry::string, MuonErrorMatrixValues_cff::values, and MVAValueMapProducer< ParticleType >::writeValueMap().
|
inlinestatic |
Definition at line 30 of file MVAValueMapProducer.h.
|
overrideprivate |
Definition at line 108 of file MVAValueMapProducer.h.
References SoftLeptonByDistance_cfi::distance, JetChargeProducer_cfi::exp, edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), MVAValueMapProducer< ParticleType >::mvaCategoriesMapNames_, MVAValueMapProducer< ParticleType >::mvaRawValueMapNames_, MVAValueMapProducer< ParticleType >::mvaValueMapNames_, TrackRefitter_38T_cff::src, MVAValueMapProducer< ParticleType >::src_, MVAValueMapProducer< ParticleType >::srcMiniAOD_, and MVAValueMapProducer< ParticleType >::writeValueMap().
Referenced by MVAValueMapProducer< ParticleType >::globalEndJob().
|
private |
Definition at line 158 of file MVAValueMapProducer.h.
References objects.autophobj::filler, cmsBatch::handle, eostools::move(), and edm::Event::put().
Referenced by MVAValueMapProducer< ParticleType >::globalEndJob(), and MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 60 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::MVAValueMapProducer(), and MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 59 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::MVAValueMapProducer(), and MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 58 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::MVAValueMapProducer(), and MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 50 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::MVAValueMapProducer(), and MVAValueMapProducer< ParticleType >::produce().
|
private |
Definition at line 53 of file MVAValueMapProducer.h.
Referenced by MVAValueMapProducer< ParticleType >::MVAValueMapProducer(), and MVAValueMapProducer< ParticleType >::produce().