#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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
ModuleDescription | moduleDescription_ |
std::mutex | mutex_ |
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 40 of file EDProducerBase.cc.
|
virtual |
Definition at line 46 of file EDProducerBase.cc.
|
static |
Definition at line 174 of file EDProducerBase.cc.
References edm::one::kBaseType().
|
inlineprivatevirtual |
Reimplemented in LaserAlignment, GlobalHitsProdHist, MEtoEDMConverter, L1GtTriggerMenuLiteProducer, TauSpinnerCMS, L1MuGlobalMuonTrigger, AlcaBeamSpotFromDB, and HIPixelMedianVtxProducer.
Definition at line 98 of file EDProducerBase.h.
Referenced by doBeginJob().
|
privatevirtual |
Definition at line 69 of file EDProducerBase.cc.
Referenced by doBeginJob().
|
private |
Definition at line 74 of file EDProducerBase.cc.
References beginJob(), createAcquirer(), and resourcesAcquirer_.
|
private |
Definition at line 108 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doBeginLuminosityBlock_(), doBeginLuminosityBlockProduce_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 86 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doBeginRun_(), doBeginRunProduce_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
|
private |
Definition at line 119 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doEndLuminosityBlock_(), doEndLuminosityBlockProduce_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 97 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), doEndRun_(), doEndRunProduce_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 51 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), alignCSCRings::e, moduleDescription_, mutex_, previousParentage_, previousParentageId_, produce(), resourcesAcquirer_, edm::Event::setConsumer(), and edm::Event::setSharedResourcesAcquirer().
|
private |
Definition at line 145 of file EDProducerBase.cc.
References postForkReacquireResources().
|
inlineprivate |
Definition at line 70 of file EDProducerBase.h.
|
private |
Definition at line 140 of file EDProducerBase.cc.
References preForkReleaseResources().
|
inlineprivate |
Definition at line 89 of file EDProducerBase.h.
|
private |
Definition at line 135 of file EDProducerBase.cc.
|
private |
Definition at line 130 of file EDProducerBase.cc.
|
inlineprivatevirtual |
Reimplemented in LaserAlignment, GlobalHitsProdHist, MEtoEDMConverter, L1GtTriggerMenuLiteProducer, TauSpinnerCMS, and AlcaBeamSpotFromDB.
Definition at line 99 of file EDProducerBase.h.
Referenced by doEndJob().
|
static |
Definition at line 160 of file EDProducerBase.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
inline |
Definition at line 64 of file EDProducerBase.h.
References moduleDescription_.
Referenced by HLTPrescaleRecorder::beginRun().
|
inlineprivatevirtual |
Definition at line 102 of file EDProducerBase.h.
Referenced by doPostForkReacquireResources().
|
inlineprivatevirtual |
|
static |
Definition at line 167 of file EDProducerBase.cc.
References edm::edmodule_mightGet_config().
|
privatepure virtual |
Implemented in LumiProducer, LaserAlignment, GlobalHitsProdHist, ExpressLumiProducer, ExternalLHEProducer, TkLasBeamFitter, MEtoEDMConverter, L1GtTriggerMenuLiteProducer, TauSpinnerCMS, HLTPrescaleRecorder, L1MuGlobalMuonTrigger, ConditionDumperInEdm, GenFilterEfficiencyProducer, CSCTriggerPrimitivesProducer, edm::BeamHaloProducer, EventCountProducer, GeometryProducer, MillePedeFileConverter, AlcaBeamSpotProducer, DTTrackFinder, L1TMuonBarrelTrackProducer, AlcaBeamSpotFromDB, L1TTwinMuxProducer, edm::CosMuoGenProducer, OscarProducer, edm::ExpoRandomPGunProducer, edm::ExpoRandomPtGunProducer, edm::MultiParticleInConeGunProducer, ParticleLevelProducer, edm::FlatRandomEGunProducer, edm::FlatRandomPtGunProducer, edm::FlatRandomOneOverPtGunProducer, edm::FileRandomKEThetaGunProducer, HIPixelMedianVtxProducer, edm::FlatRandomEThetaGunProducer, and edm::FlatRandomPtThetaGunProducer.
Referenced by doEvent(), JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
inlineprivate |
Definition at line 92 of file EDProducerBase.h.
References moduleDescription_, and edm::ProducerBase::registerProducts().
|
inlineprivate |
Definition at line 116 of file EDProducerBase.h.
References moduleDescription_.
|
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 119 of file EDProducerBase.h.
Referenced by doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), doEvent(), moduleDescription(), registerProductsAndCallbacks(), and setModuleDescription().
|
private |
Definition at line 124 of file EDProducerBase.h.
Referenced by doEvent().
|
private |
Definition at line 120 of file EDProducerBase.h.
Referenced by doEvent().
|
private |
Definition at line 121 of file EDProducerBase.h.
Referenced by doEvent().
|
private |
Definition at line 123 of file EDProducerBase.h.
Referenced by doBeginJob(), and doEvent().