Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static int | getParentHadronFlag (const reco::GenParticleRef match) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Types | |
enum | MatchType { MMuon, MElectron, MTau, MPhoton, MOther } |
Protected Attributes | |
const std::string | branchName_ |
const edm::EDGetTokenT< edm::Association< reco::GenParticleCollection > > | candMap_ |
edm::EDGetTokenT< edm::Association< reco::GenParticleCollection > > | candMapVisTau_ |
const std::string | doc_ |
std::string | flavDoc_ |
const std::string | objName_ |
const edm::EDGetTokenT< reco::CandidateView > | src_ |
enum CandMCMatchTableProducer::MatchType | type_ |
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 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 15 of file CandMCMatchTableProducer.cc.
|
protected |
Enumerator | |
---|---|
MMuon | |
MElectron | |
MTau | |
MPhoton | |
MOther |
Definition at line 145 of file CandMCMatchTableProducer.cc.
|
inline |
Definition at line 17 of file CandMCMatchTableProducer.cc.
References candMapVisTau_, Exception, flavDoc_, edm::ParameterSet::getParameter(), MElectron, MMuon, MOther, MPhoton, MTau, AlCaHLTBitMon_QueryRunRegistry::string, and type_.
|
inlineoverride |
Definition at line 48 of file CandMCMatchTableProducer.cc.
|
inlinestatic |
Definition at line 128 of file CandMCMatchTableProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Definition at line 110 of file CandMCMatchTableProducer.cc.
References funct::abs(), edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), and edm::Ref< C, T, F >::key().
Referenced by produce().
|
inlineoverride |
Definition at line 50 of file CandMCMatchTableProducer.cc.
References funct::abs(), branchName_, candMap_, candMapVisTau_, doc_, flavDoc_, edm::Event::getByToken(), getParentHadronFlag(), mps_fire::i, nanoaod::FlatTable::IntColumn, edm::Ref< C, T, F >::isNonnull(), crabWrapper::key, edm::Ref< C, T, F >::key(), genParticles_cff::map, match(), MElectron, MMuon, eostools::move(), MPhoton, MTau, objName_, edm::View< T >::ptrAt(), edm::Event::put(), edm::View< T >::size(), src_, type_, and nanoaod::FlatTable::UInt8Column.
|
protected |
Definition at line 141 of file CandMCMatchTableProducer.cc.
Referenced by produce().
|
protected |
Definition at line 143 of file CandMCMatchTableProducer.cc.
Referenced by produce().
|
protected |
Definition at line 144 of file CandMCMatchTableProducer.cc.
Referenced by CandMCMatchTableProducer(), and produce().
|
protected |
Definition at line 141 of file CandMCMatchTableProducer.cc.
Referenced by produce().
|
protected |
Definition at line 146 of file CandMCMatchTableProducer.cc.
Referenced by CandMCMatchTableProducer(), and produce().
|
protected |
Definition at line 141 of file CandMCMatchTableProducer.cc.
Referenced by produce().
|
protected |
Definition at line 142 of file CandMCMatchTableProducer.cc.
Referenced by produce().
|
protected |
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), CandMCMatchTableProducer(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and produce().