![]() |
![]() |
#include <EDProducerBase.h>
Public Types | |
typedef EDProducerBase | ModuleType |
typedef WorkerT< EDProducerBase > | WorkerType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
EDProducerBase () | |
virtual | ~EDProducerBase () |
![]() | |
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 () |
![]() | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) 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) |
Protected Member Functions | |
CurrentProcessingContext const * | currentContext () const |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
![]() | |
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) |
Private Attributes | |
CurrentProcessingContext const * | current_context_ |
ModuleDescription | moduleDescription_ |
std::vector< BranchID > | previousParentage_ |
ParentageID | previousParentageId_ |
Friends | |
template<typename T > | |
class | edm::WorkerT |
Definition at line 35 of file EDProducerBase.h.
Definition at line 40 of file EDProducerBase.h.
Definition at line 41 of file EDProducerBase.h.
edm::one::EDProducerBase::EDProducerBase | ( | ) |
Definition at line 40 of file EDProducerBase.cc.
|
virtual |
Definition at line 47 of file EDProducerBase.cc.
|
static |
Definition at line 181 of file EDProducerBase.cc.
References edm::one::kBaseType().
|
inlineprivatevirtual |
Reimplemented in LaserAlignment, GlobalHitsProdHist, MEtoEDMConverter, L1GtTriggerMenuLiteProducer, and AlcaBeamSpotFromDB.
Definition at line 86 of file EDProducerBase.h.
Referenced by doBeginJob().
|
protected |
Definition at line 162 of file EDProducerBase.cc.
References current_context_.
|
private |
|
private |
Definition at line 98 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, doBeginLuminosityBlock_(), doBeginLuminosityBlockProduce_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 73 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, doBeginRun_(), doBeginRunProduce_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
|
private |
Definition at line 110 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, doEndLuminosityBlock_(), doEndLuminosityBlockProduce_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 86 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, doEndRun_(), doEndRunProduce_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 52 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, alignCSCRings::e, moduleDescription_, previousParentage_, previousParentageId_, produce(), and edm::Event::setConsumer().
|
private |
Definition at line 147 of file EDProducerBase.cc.
|
private |
Definition at line 142 of file EDProducerBase.cc.
|
private |
Definition at line 127 of file EDProducerBase.cc.
|
private |
Definition at line 137 of file EDProducerBase.cc.
|
private |
Definition at line 122 of file EDProducerBase.cc.
|
private |
Definition at line 132 of file EDProducerBase.cc.
|
inlineprivatevirtual |
Reimplemented in LaserAlignment, GlobalHitsProdHist, ExternalLHEProducer, MEtoEDMConverter, L1GtTriggerMenuLiteProducer, and AlcaBeamSpotFromDB.
Definition at line 87 of file EDProducerBase.h.
Referenced by doEndJob().
|
static |
Definition at line 167 of file EDProducerBase.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
static |
Definition at line 174 of file EDProducerBase.cc.
References edm::edmodule_mightGet_config().
|
privatepure virtual |
Implemented in LumiProducer, LaserAlignment, GlobalHitsProdHist, ExpressLumiProducer, ExternalLHEProducer, TkLasBeamFitter, MEtoEDMConverter, L1GtTriggerMenuLiteProducer, ConditionDumperInEdm, HLTPrescaleRecorder, GenFilterEfficiencyProducer, AlcaBeamSpotProducer, EventCountProducer, RandomEngineStateProducer, edm::BeamHaloProducer, AlcaBeamSpotFromDB, edm::CosMuoGenProducer, edm::ExpoRandomPtGunProducer, edm::MultiParticleInConeGunProducer, edm::FlatRandomEGunProducer, edm::FlatRandomPtGunProducer, edm::FlatRandomOneOverPtGunProducer, edm::FileRandomKEThetaGunProducer, edm::FlatRandomEThetaGunProducer, and edm::FlatRandomPtThetaGunProducer.
Referenced by doEvent(), JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
inlineprivate |
Definition at line 80 of file EDProducerBase.h.
References moduleDescription_, and edm::ProducerBase::registerProducts().
|
inlineprivate |
Definition at line 100 of file EDProducerBase.h.
References moduleDescription_.
|
inlineprivate |
Definition at line 83 of file EDProducerBase.h.
|
friend |
Definition at line 39 of file EDProducerBase.h.
|
private |
Definition at line 104 of file EDProducerBase.h.
Referenced by currentContext(), doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), and doEvent().
|
private |
Definition at line 103 of file EDProducerBase.h.
Referenced by doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), doEvent(), registerProductsAndCallbacks(), and setModuleDescription().
|
private |
Definition at line 105 of file EDProducerBase.h.
Referenced by doEvent().
|
private |
Definition at line 106 of file EDProducerBase.h.
Referenced by doEvent().