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::GenJetCollection > > | candMapDressedLep_ |
edm::EDGetTokenT< edm::Association< reco::GenParticleCollection > > | candMapVisTau_ |
const std::string | doc_ |
std::string | flavDoc_ |
edm::EDGetTokenT< reco::GenParticleCollection > | genPartsToken_ |
edm::EDGetTokenT< edm::ValueMap< bool > > | mapTauAnc_ |
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 | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 16 of file CandMCMatchTableProducer.cc.
|
protected |
Enumerator | |
---|---|
MMuon | |
MElectron | |
MTau | |
MPhoton | |
MOther |
Definition at line 259 of file CandMCMatchTableProducer.cc.
|
inline |
Definition at line 18 of file CandMCMatchTableProducer.cc.
References candMapDressedLep_, candMapVisTau_, Exception, flavDoc_, genPartsToken_, mapTauAnc_, MElectron, MMuon, MOther, MPhoton, MTau, submitPVValidationJobs::params, AlCaHLTBitMon_QueryRunRegistry::string, and type_.
|
inlineoverride |
Definition at line 77 of file CandMCMatchTableProducer.cc.
|
inlinestatic |
Definition at line 227 of file CandMCMatchTableProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Definition at line 204 of file CandMCMatchTableProducer.cc.
References funct::abs(), cms::cuda::assert(), edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), and match().
Referenced by produce().
|
inlineoverridevirtual |
Implements edm::global::EDProducerBase.
Definition at line 79 of file CandMCMatchTableProducer.cc.
References funct::abs(), branchName_, candMap_, candMapDressedLep_, candMapVisTau_, PbPb_ZMuSkimMuonDPG_cff::deltaR, doc_, flavDoc_, EgammaValidation_cff::genp, genPartsToken_, getParentHadronFlag(), electrons_cff::hasTauAnc, mps_fire::i, iEvent, edm::Ref< C, T, F >::isNonnull(), submitPVResolutionJobs::key, edm::Ref< C, T, F >::key(), electrons_cff::mapTauAnc, mapTauAnc_, match(), MElectron, HiEvtPlane_cfi::minpt, MMuon, eostools::move(), MPhoton, MTau, objName_, reco::LeafCandidate::pt(), src_, and type_.
|
protected |
Definition at line 252 of file CandMCMatchTableProducer.cc.
Referenced by produce().
|
protected |
Definition at line 254 of file CandMCMatchTableProducer.cc.
Referenced by produce().
|
protected |
Definition at line 256 of file CandMCMatchTableProducer.cc.
Referenced by CandMCMatchTableProducer(), and produce().
|
protected |
Definition at line 255 of file CandMCMatchTableProducer.cc.
Referenced by CandMCMatchTableProducer(), and produce().
|
protected |
Definition at line 252 of file CandMCMatchTableProducer.cc.
Referenced by produce().
|
protected |
Definition at line 260 of file CandMCMatchTableProducer.cc.
Referenced by CandMCMatchTableProducer(), and produce().
|
protected |
Definition at line 258 of file CandMCMatchTableProducer.cc.
Referenced by CandMCMatchTableProducer(), and produce().
|
protected |
Definition at line 257 of file CandMCMatchTableProducer.cc.
Referenced by CandMCMatchTableProducer(), and produce().
|
protected |
Definition at line 252 of file CandMCMatchTableProducer.cc.
Referenced by produce().
|
protected |
Definition at line 253 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(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and produce().