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 | |
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 | |
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 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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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_, edm::ParameterSet::getParameter(), mapTauAnc_, MElectron, MMuon, MOther, MPhoton, MTau, 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(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), 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(), and edm::Ref< C, T, F >::key().
Referenced by produce().
|
inlineoverridevirtual |
Implements edm::global::EDProducerBase.
Definition at line 79 of file CandMCMatchTableProducer.cc.
References funct::abs(), branchName_, candMap_, candMapDressedLep_, candMapVisTau_, HLT_FULL_cff::cands, HLT_FULL_cff::deltaR, doc_, flavDoc_, EgammaValidation_cff::genp, genPartsToken_, edm::Event::getByToken(), getParentHadronFlag(), mps_fire::i, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), submitPVResolutionJobs::key, mapTauAnc_, match(), MElectron, HiEvtPlane_cfi::minpt, MMuon, eostools::move(), MPhoton, MTau, objName_, reco::LeafCandidate::pt(), edm::Event::put(), 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().