#include <EDProducerBase.h>
Public Types | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
ModuleDescription | moduleDescription_ |
std::vector< BranchID > | previousParentage_ |
ParentageID | previousParentageId_ |
SharedResourcesAcquirer | resourcesAcquirer_ |
Friends | |
template<typename T > | |
class | edm::maker::ModuleHolderT |
template<typename T > | |
class | edm::WorkerT |
Additional Inherited Members | |
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 47 of file EDProducerBase.h.
Definition at line 53 of file EDProducerBase.h.
EDProducerBase::EDProducerBase | ( | ) |
Definition at line 41 of file EDProducerBase.cc.
|
virtual |
Definition at line 47 of file EDProducerBase.cc.
|
static |
Definition at line 166 of file EDProducerBase.cc.
References edm::one::kBaseType().
|
inlineprivatevirtual |
Reimplemented in LaserAlignment, GlobalHitsProdHist, EmbeddingLHEProducer, HcalRecHitsDQMClient, MEtoEDMConverter, L1GtTriggerMenuLiteProducer, SiStripMeanCMExtractor, HcalNoiseRatesClient, TrackingOfflineDQM, CaloTowersDQMClient, L1MuGlobalMuonTrigger, TauSpinnerCMS, EcalSimpleProducer, SeedToTrackProducer, CaloTowersClient, TrackingCertificationInfo, DQMCorrelationClient, TrackEfficiencyClient, EcalFEtoDigi, BPHWriteSpecificDecay, DQMScaleToClient, TrackingAnalyser, AlcaBeamSpotFromDB, RPCEfficiencyShiftHisto, TriggerRatesMonitorClient, ElectronDqmHarvesterBase, RPCEfficiencySecond, RPCDqmClient, RPCEventSummary, BrilClient, DQMExample_Step2, RPCRecHitProbabilityClient, RPCDaqInfo, RPCDCSSummary, RPCEfficiencyPerRingLayer, RPCDataCertification, HIPixelMedianVtxProducer, RPCChamberQuality, and RPCDcsInfoClient.
Definition at line 102 of file EDProducerBase.h.
Referenced by doBeginJob().
|
privatevirtual |
|
private |
Definition at line 70 of file EDProducerBase.cc.
References beginJob(), createAcquirer(), and resourcesAcquirer_.
|
private |
Definition at line 110 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doBeginLuminosityBlock_(), doBeginLuminosityBlockProduce_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 88 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doBeginRun_(), doBeginRunProduce_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
|
private |
Definition at line 121 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doEndLuminosityBlock_(), doEndLuminosityBlockProduce_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 99 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doEndRun_(), doEndRunProduce_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 52 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), MillePedeFileConverter_cfg::e, moduleDescription_, previousParentage_, previousParentageId_, produce(), resourcesAcquirer_, edm::Event::setConsumer(), and edm::Event::setSharedResourcesAcquirer().
|
private |
Definition at line 82 of file EDProducerBase.cc.
References edm::PreallocationConfiguration::numberOfThreads(), and preallocThreads().
|
inlineprivate |
Definition at line 89 of file EDProducerBase.h.
|
private |
Definition at line 137 of file EDProducerBase.cc.
|
private |
Definition at line 132 of file EDProducerBase.cc.
|
inlineprivatevirtual |
Reimplemented in LaserAlignment, EmbeddingLHEProducer, GlobalHitsProdHist, L1GtTriggerMenuLiteProducer, MEtoEDMConverter, SiStripMeanCMExtractor, SeedToTrackProducer, TauSpinnerCMS, EcalFEtoDigi, BPHWriteSpecificDecay, AlcaBeamSpotFromDB, and DQMEDHarvester.
Definition at line 103 of file EDProducerBase.h.
Referenced by doEndJob().
|
static |
Definition at line 152 of file EDProducerBase.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
inline |
Definition at line 64 of file EDProducerBase.h.
References EnergyCorrector::c.
Referenced by HLTPrescaleRecorder::beginRun().
|
inlineprivate |
|
inlineprivatevirtual |
Reimplemented in ExternalLHEProducer.
Definition at line 105 of file EDProducerBase.h.
Referenced by doPreallocate().
|
static |
Definition at line 159 of file EDProducerBase.cc.
References edm::edmodule_mightGet_config(), edm::one::kBaseType(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatepure virtual |
Implemented in LaserAlignment, DaqFakeReader, and DQMEDHarvester.
Referenced by doEvent(), JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
inlineprivate |
Definition at line 92 of file EDProducerBase.h.
|
inlineprivate |
Definition at line 119 of file EDProducerBase.h.
|
inlineprivate |
Definition at line 97 of file EDProducerBase.h.
|
inlineprivate |
Definition at line 95 of file EDProducerBase.h.
|
friend |
Definition at line 51 of file EDProducerBase.h.
|
friend |
Definition at line 52 of file EDProducerBase.h.
|
private |
Definition at line 122 of file EDProducerBase.h.
Referenced by doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), and doEvent().
|
private |
Definition at line 123 of file EDProducerBase.h.
Referenced by doEvent().
|
private |
Definition at line 124 of file EDProducerBase.h.
Referenced by doEvent().
|
private |
Definition at line 126 of file EDProducerBase.h.
Referenced by doBeginJob(), and doEvent().