CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::EDProducer Class Referenceabstract

#include <EDProducer.h>

Inheritance diagram for edm::EDProducer:
edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper AlphaTVarProducer AssociationMapOneToOne2Association< CKey, CVal > AssociationVector2ValueMap< KeyRefProd, CVal > AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector > BasicToPFJet CandViewRefMerger CastorCellProducer CastorClusterProducer cms::CkfDebugTrackCandidateMaker cms::JetVertexAssociation ConeIsolation CosmicMuonLinksProducer DiJetVarProducer DQMTauProducer DTDDUFileReader DTNewROS8FileReader DTROS25FileReader DTROS8FileReader DTSpyReader EcalDCCTB07UnpackingModule EcalDCCTBUnpackingModule EcalTBH2TDCRecInfoProducer EcalTBHodoscopeRecInfoProducer EcalTBTDCRecInfoProducer edm::GenericSelectorByValueMap< T, C > EventShapeVarsProducer fftjetcms::FFTJetInterface FFTJetCorrectionProducer FFTJetPFPileupCleaner FFTJetPileupEstimator FFTJetVertexAdder GtPsbTextToDigi HcalCalibFEDSelector HcalHistogramRawToDigi HcalLaserEventFiltProducer2012 HcalLaserReco HcalTBObjectUnpacker HiL1Subtractor ImpactParameter JetSignalVertexCompatibility L1DummyProducer L1EmulBias L1ExtraParticleMapProd L1GctInternJetProducer L1GtTextToRaw L1HLTJetsMatching L1RCTInputProducer L1RCTTPGProvider l1t::AMC13DumpToRaw l1t::AMCDumpToRaw l1t::BXVectorInputProducer l1t::FakeInputProducer l1t::GenToInputProducer l1t::L1ComparatorRun2 l1t::MP7BufferDumpToRaw L1TStage2CaloLayer2Comp L1TStage2Layer1Producer L2TauPixelTrackMatch LTCRawToDigi MaskedRctInputDigiProducer MatacqProducer MuIsolatorResultProducer< BT > MuonErrorMatrixAdjuster MuPFIsoEmbedder NtpProducer< C > NTuplingDevice PF_PU_FirstVertexTracks PFCand_NoPU_WithAM PFJetToCaloProducer PFTau3ProngReco PFTauToJetProducer RawDataSelector RazorVarProducer RctInputTextToDigi RctTextToRctDigi reco::modules::HICaloCompatibleTrackSelector RPCSeedGenerator RPDigiProducer SourceCardTextToRctDigi TextToRaw TtDilepEvtSolutionMaker TtFullLepKinSolutionProducer TtHadEvtSolutionMaker TtSemiEvtSolutionMaker Type1PFMET

Public Types

typedef EDProducer 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
 

Public Member Functions

 EDProducer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducer () override
 
- 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 ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
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, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 

Private Member Functions

virtual void beginJob ()
 
virtual void beginLuminosityBlock (LuminosityBlock const &, EventSetup const &)
 
virtual void beginRun (Run const &, EventSetup const &)
 
void doAccessInputProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
void doBeginJob ()
 
void doBeginLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *)
 
void doBeginProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
void doBeginRun (RunTransitionInfo const &, ModuleCallingContext const *)
 
void doEndJob ()
 
void doEndLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *)
 
void doEndProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
void doEndRun (RunTransitionInfo const &, ModuleCallingContext const *)
 
bool doEvent (EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
void doRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToCloseOutputFile ()
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
virtual void endJob ()
 
virtual void endLuminosityBlock (LuminosityBlock const &, EventSetup const &)
 
virtual void endRun (Run const &, EventSetup const &)
 
bool hasAccumulator () const
 
bool hasAcquire () const
 
void preActionBeforeRunEventAsync (WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const
 
virtual void produce (Event &, EventSetup const &)=0
 
void registerProductsAndCallbacks (EDProducer *module, ProductRegistry *reg)
 
virtual void respondToCloseInputFile (FileBlock const &)
 
virtual void respondToOpenInputFile (FileBlock const &)
 
void setModuleDescription (ModuleDescription const &md)
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 
std::string workerType () const
 

Private Attributes

SerialTaskQueue luminosityBlockQueue_
 
ModuleDescription moduleDescription_
 
std::vector< BranchIDpreviousParentage_
 
ParentageID previousParentageId_
 
SharedResourcesAcquirer resourceAcquirer_
 
SerialTaskQueue runQueue_
 

Friends

template<typename T >
class maker::ModuleHolderT
 
template<typename T >
class WorkerT
 

Additional Inherited Members

- 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< Bconsumes (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 ()
 
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)
 

Detailed Description

The legacy EDProducer class is deprecated. We annotate the constructor only with the CMS_DEPRECATED, because with gcc it turns out to flag deriving classes more reliably than annotating the entire class.

Definition at line 42 of file EDProducer.h.

Member Typedef Documentation

◆ ModuleType

Definition at line 48 of file EDProducer.h.

Constructor & Destructor Documentation

◆ EDProducer()

edm::EDProducer::EDProducer ( )

Definition at line 21 of file EDProducer.cc.

References edm::SharedResourcesRegistry::instance(), edm::SharedResourcesRegistry::kLegacyModuleResourceName, and edm::SharedResourcesRegistry::registerSharedResource().

23  }
ParentageID previousParentageId_
Definition: EDProducer.h:117
std::vector< BranchID > previousParentage_
Definition: EDProducer.h:113
static SharedResourcesRegistry * instance()
ModuleDescription moduleDescription_
Definition: EDProducer.h:112
void registerSharedResource(const std::string &)
A resource name must be registered before it can be used in the createAcquirer call.
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.

◆ ~EDProducer()

edm::EDProducer::~EDProducer ( )
override

Definition at line 25 of file EDProducer.cc.

25 {}

Member Function Documentation

◆ baseType()

const std::string & edm::EDProducer::baseType ( )
static

Definition at line 111 of file EDProducer.cc.

References edm::kBaseType().

111 { return kBaseType; }
static const std::string kBaseType("EDAnalyzer")

◆ beginJob()

virtual void edm::EDProducer::beginJob ( void  )
inlineprivatevirtual

◆ beginLuminosityBlock()

virtual void edm::EDProducer::beginLuminosityBlock ( LuminosityBlock const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 103 of file EDProducer.h.

Referenced by doBeginLuminosityBlock().

103 {}

◆ beginRun()

virtual void edm::EDProducer::beginRun ( Run const &  ,
EventSetup const &   
)
inlineprivatevirtual

◆ doAccessInputProcessBlock()

void edm::EDProducer::doAccessInputProcessBlock ( ProcessBlockPrincipal const &  ,
ModuleCallingContext const *   
)
inlineprivate

Definition at line 79 of file EDProducer.h.

79 {}

◆ doBeginJob()

void edm::EDProducer::doBeginJob ( )
private

Definition at line 41 of file EDProducer.cc.

References beginJob(), edm::SharedResourcesRegistry::createAcquirer(), edm::SharedResourcesRegistry::instance(), edm::SharedResourcesRegistry::kLegacyModuleResourceName, and resourceAcquirer_.

41  {
42  std::vector<std::string> res = {SharedResourcesRegistry::kLegacyModuleResourceName};
44  this->beginJob();
45  }
virtual void beginJob()
Definition: EDProducer.h:98
Definition: Electron.h:6
static SharedResourcesRegistry * instance()
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:114
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const

◆ doBeginLuminosityBlock()

void edm::EDProducer::doBeginLuminosityBlock ( LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 71 of file EDProducer.cc.

References edm::BeginLuminosityBlock, beginLuminosityBlock(), c, edm::ProducerBase::commit_(), edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

71  {
72  LuminosityBlock lb(info, moduleDescription_, mcc, false);
73  lb.setConsumer(this);
74  LuminosityBlock const& cnstLb = lb;
75  ESParentContext parentC(mcc);
76  const EventSetup c{info,
77  static_cast<unsigned int>(Transition::BeginLuminosityBlock),
79  parentC};
80  this->beginLuminosityBlock(cnstLb, c);
81  commit_(lb);
82  }
static const TGPicture * info(bool iBackgroundIsBlack)
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_
Definition: EDProducer.h:112
virtual void beginLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Definition: EDProducer.h:103
void commit_(P &iPrincipal)
Definition: ProducerBase.h:121

◆ doBeginProcessBlock()

void edm::EDProducer::doBeginProcessBlock ( ProcessBlockPrincipal const &  ,
ModuleCallingContext const *   
)
inlineprivate

Definition at line 78 of file EDProducer.h.

78 {}

◆ doBeginRun()

void edm::EDProducer::doBeginRun ( RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 49 of file EDProducer.cc.

References edm::BeginRun, beginRun(), c, edm::ProducerBase::commit_(), edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, and alignCSCRings::r.

49  {
50  Run r(info, moduleDescription_, mcc, false);
51  r.setConsumer(this);
52  Run const& cnstR = r;
53  ESParentContext parentC(mcc);
54  const EventSetup c{
55  info, static_cast<unsigned int>(Transition::BeginRun), esGetTokenIndices(Transition::BeginRun), parentC};
56  this->beginRun(cnstR, c);
57  commit_(r);
58  }
virtual void beginRun(Run const &, EventSetup const &)
Definition: EDProducer.h:101
static const TGPicture * info(bool iBackgroundIsBlack)
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_
Definition: EDProducer.h:112
void commit_(P &iPrincipal)
Definition: ProducerBase.h:121

◆ doEndJob()

void edm::EDProducer::doEndJob ( )
private

Definition at line 47 of file EDProducer.cc.

References endJob().

47 { this->endJob(); }
virtual void endJob()
Definition: EDProducer.h:99

◆ doEndLuminosityBlock()

void edm::EDProducer::doEndLuminosityBlock ( LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 84 of file EDProducer.cc.

References c, edm::ProducerBase::commit_(), edm::EndLuminosityBlock, endLuminosityBlock(), edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

84  {
85  LuminosityBlock lb(info, moduleDescription_, mcc, true);
86  lb.setConsumer(this);
87  ESParentContext parentC(mcc);
88  const EventSetup c{info,
89  static_cast<unsigned int>(Transition::EndLuminosityBlock),
91  parentC};
92  LuminosityBlock const& cnstLb = lb;
93  this->endLuminosityBlock(cnstLb, c);
94  commit_(lb);
95  }
static const TGPicture * info(bool iBackgroundIsBlack)
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
virtual void endLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Definition: EDProducer.h:104
ModuleDescription moduleDescription_
Definition: EDProducer.h:112
void commit_(P &iPrincipal)
Definition: ProducerBase.h:121

◆ doEndProcessBlock()

void edm::EDProducer::doEndProcessBlock ( ProcessBlockPrincipal const &  ,
ModuleCallingContext const *   
)
inlineprivate

Definition at line 80 of file EDProducer.h.

80 {}

◆ doEndRun()

void edm::EDProducer::doEndRun ( RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 60 of file EDProducer.cc.

References c, edm::ProducerBase::commit_(), edm::EndRun, endRun(), edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, and alignCSCRings::r.

60  {
61  Run r(info, moduleDescription_, mcc, true);
62  r.setConsumer(this);
63  Run const& cnstR = r;
64  ESParentContext parentC(mcc);
65  const EventSetup c{
66  info, static_cast<unsigned int>(Transition::EndRun), esGetTokenIndices(Transition::EndRun), parentC};
67  this->endRun(cnstR, c);
68  commit_(r);
69  }
static const TGPicture * info(bool iBackgroundIsBlack)
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_
Definition: EDProducer.h:112
virtual void endRun(Run const &, EventSetup const &)
Definition: EDProducer.h:102
void commit_(P &iPrincipal)
Definition: ProducerBase.h:121

◆ doEvent()

bool edm::EDProducer::doEvent ( EventTransitionInfo const &  info,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
private

Definition at line 27 of file EDProducer.cc.

References c, edm::ProducerBase::commit_(), MillePedeFileConverter_cfg::e, edm::EDConsumerBase::esGetTokenIndices(), edm::Event, info(), moduleDescription_, previousParentage_, previousParentageId_, produce(), and resourceAcquirer_.

27  {
29  e.setConsumer(this);
30  e.setProducer(this, &previousParentage_);
31  e.setSharedResourcesAcquirer(&resourceAcquirer_);
32  EventSignalsSentry sentry(act, mcc);
33  ESParentContext parentC(mcc);
34  const EventSetup c{
35  info, static_cast<unsigned int>(Transition::Event), esGetTokenIndices(Transition::Event), parentC};
36  this->produce(e, c);
38  return true;
39  }
static const TGPicture * info(bool iBackgroundIsBlack)
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
ParentageID previousParentageId_
Definition: EDProducer.h:117
std::vector< BranchID > previousParentage_
Definition: EDProducer.h:113
ModuleDescription moduleDescription_
Definition: EDProducer.h:112
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:114
void commit_(P &iPrincipal)
Definition: ProducerBase.h:121
virtual void produce(Event &, EventSetup const &)=0

◆ doPreallocate()

void edm::EDProducer::doPreallocate ( PreallocationConfiguration const &  )
inlineprivate

Definition at line 75 of file EDProducer.h.

75 {}

◆ doRegisterThinnedAssociations()

void edm::EDProducer::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 88 of file EDProducer.h.

88 {}

◆ doRespondToCloseInputFile()

void edm::EDProducer::doRespondToCloseInputFile ( FileBlock const &  fb)
private

Definition at line 99 of file EDProducer.cc.

References respondToCloseInputFile().

virtual void respondToCloseInputFile(FileBlock const &)
Definition: EDProducer.h:106

◆ doRespondToCloseOutputFile()

void edm::EDProducer::doRespondToCloseOutputFile ( )
inlineprivate

Definition at line 87 of file EDProducer.h.

87 {}

◆ doRespondToOpenInputFile()

void edm::EDProducer::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 97 of file EDProducer.cc.

References respondToOpenInputFile().

virtual void respondToOpenInputFile(FileBlock const &)
Definition: EDProducer.h:105

◆ endJob()

virtual void edm::EDProducer::endJob ( void  )
inlineprivatevirtual

◆ endLuminosityBlock()

virtual void edm::EDProducer::endLuminosityBlock ( LuminosityBlock const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 104 of file EDProducer.h.

Referenced by doEndLuminosityBlock().

104 {}

◆ endRun()

virtual void edm::EDProducer::endRun ( Run const &  ,
EventSetup const &   
)
inlineprivatevirtual

Reimplemented in L1TStage2Layer1Producer, l1t::GenToInputProducer, l1t::BXVectorInputProducer, and l1t::FakeInputProducer.

Definition at line 102 of file EDProducer.h.

Referenced by doEndRun().

102 {}

◆ fillDescriptions()

void edm::EDProducer::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 101 of file EDProducer.cc.

References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.

101  {
103  desc.setUnknown();
104  descriptions.addDefault(desc);
105  }

◆ globalLuminosityBlocksQueue()

SerialTaskQueue* edm::EDProducer::globalLuminosityBlocksQueue ( )
inline

Definition at line 68 of file EDProducer.h.

References luminosityBlockQueue_.

68 { return &luminosityBlockQueue_; }
SerialTaskQueue luminosityBlockQueue_
Definition: EDProducer.h:116

◆ globalRunsQueue()

SerialTaskQueue* edm::EDProducer::globalRunsQueue ( )
inline

Definition at line 67 of file EDProducer.h.

References runQueue_.

67 { return &runQueue_; }
SerialTaskQueue runQueue_
Definition: EDProducer.h:115

◆ hasAccumulator()

bool edm::EDProducer::hasAccumulator ( ) const
inlineprivate

Definition at line 109 of file EDProducer.h.

109 { return false; }

◆ hasAcquire()

bool edm::EDProducer::hasAcquire ( ) const
inlineprivate

Definition at line 108 of file EDProducer.h.

108 { return false; }

◆ moduleDescription()

ModuleDescription const& edm::EDProducer::moduleDescription ( ) const
inline

Definition at line 58 of file EDProducer.h.

References moduleDescription_.

58 { return moduleDescription_; }
ModuleDescription moduleDescription_
Definition: EDProducer.h:112

◆ preActionBeforeRunEventAsync()

void edm::EDProducer::preActionBeforeRunEventAsync ( WaitingTaskHolder  ,
ModuleCallingContext const &  ,
Principal const &   
) const
inlineprivate

Definition at line 73 of file EDProducer.h.

73 {}

◆ prevalidate()

void edm::EDProducer::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 107 of file EDProducer.cc.

References edm::edmodule_mightGet_config().

107 { edmodule_mightGet_config(iConfig); }
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)

◆ produce()

virtual void edm::EDProducer::produce ( Event ,
EventSetup const &   
)
privatepure virtual

Implemented in FFTJetProducer, MatacqProducer, FFTJetCorrectionProducer, RPCSeedGenerator, L1TStage2CaloLayer2Comp, PFTau3ProngReco, FFTJetPatRecoProducer, L1TStage2Layer1Producer, l1t::GenToInputProducer, l1t::BXVectorInputProducer, l1t::MP7BufferDumpToRaw, FFTJetPileupProcessor, FFTJetEFlowSmoother, PFCand_NoPU_WithAM, reco::modules::HICaloCompatibleTrackSelector, RPDigiProducer, MuIsolatorResultProducer< BT >, l1t::AMC13DumpToRaw, l1t::AMCDumpToRaw, PF_PU_FirstVertexTracks, RctInputTextToDigi, FFTJetPileupEstimator, FFTJetPFPileupCleaner, FFTJetVertexAdder, L1GtTextToRaw, CastorClusterProducer, HiL1Subtractor, MuonErrorMatrixAdjuster, l1t::FakeInputProducer, MaskedRctInputDigiProducer, EventShapeVarsProducer, SourceCardTextToRctDigi, CastorCellProducer, TextToRaw, L1DummyProducer, edm::GenericSelectorByValueMap< T, C >, MuPFIsoEmbedder, LTCRawToDigi, l1t::L1ComparatorRun2, L1EmulBias, L1ExtraParticleMapProd, RctTextToRctDigi, NTuplingDevice, L1GctInternJetProducer, L1RCTTPGProvider, GtPsbTextToDigi, DTSpyReader, HcalTBObjectUnpacker, DTROS25FileReader, DTDDUFileReader, ImpactParameter, EcalDCCTB07UnpackingModule, HcalHistogramRawToDigi, DTROS8FileReader, L1RCTInputProducer, EcalDCCTBUnpackingModule, Type1PFMET, DTNewROS8FileReader, cms::JetVertexAssociation, TtHadEvtSolutionMaker, NtpProducer< C >, CandViewRefMerger, RawDataSelector, TtSemiEvtSolutionMaker, ConeIsolation, AssociationVector2ValueMap< KeyRefProd, CVal >, L2TauPixelTrackMatch, AssociationMapOneToOne2Association< CKey, CVal >, HcalCalibFEDSelector, L1HLTJetsMatching, TtDilepEvtSolutionMaker, AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >, DiJetVarProducer, cms::CkfDebugTrackCandidateMaker, CosmicMuonLinksProducer, AlphaTVarProducer, DQMTauProducer, PFTauToJetProducer, TtFullLepKinSolutionProducer, RazorVarProducer, JetSignalVertexCompatibility, PFJetToCaloProducer, EcalTBHodoscopeRecInfoProducer, EcalTBH2TDCRecInfoProducer, EcalTBTDCRecInfoProducer, HcalLaserReco, BasicToPFJet, and HcalLaserEventFiltProducer2012.

Referenced by doEvent().

◆ registerProductsAndCallbacks()

void edm::EDProducer::registerProductsAndCallbacks ( EDProducer module,
ProductRegistry reg 
)
inlineprivate

Definition at line 89 of file EDProducer.h.

References callgraph::module, moduleDescription_, and edm::ProducerBase::registerProducts().

89  {
91  }
void registerProducts(ProducerBase *, ProductRegistry *, ModuleDescription const &)
Definition: ProducerBase.cc:57
ModuleDescription moduleDescription_
Definition: EDProducer.h:112

◆ respondToCloseInputFile()

virtual void edm::EDProducer::respondToCloseInputFile ( FileBlock const &  )
inlineprivatevirtual

Definition at line 106 of file EDProducer.h.

Referenced by doRespondToCloseInputFile().

106 {}

◆ respondToOpenInputFile()

virtual void edm::EDProducer::respondToOpenInputFile ( FileBlock const &  )
inlineprivatevirtual

Definition at line 105 of file EDProducer.h.

Referenced by doRespondToOpenInputFile().

105 {}

◆ setModuleDescription()

void edm::EDProducer::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 111 of file EDProducer.h.

References moduleDescription_.

111 { moduleDescription_ = md; }
ModuleDescription moduleDescription_
Definition: EDProducer.h:112

◆ sharedResourcesAcquirer()

SharedResourcesAcquirer& edm::EDProducer::sharedResourcesAcquirer ( )
inlineprivate

Definition at line 95 of file EDProducer.h.

References resourceAcquirer_.

95 { return resourceAcquirer_; }
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:114

◆ wantsGlobalLuminosityBlocks()

static bool edm::EDProducer::wantsGlobalLuminosityBlocks ( )
inlinestatic

Definition at line 63 of file EDProducer.h.

63 { return true; }

◆ wantsGlobalRuns()

static bool edm::EDProducer::wantsGlobalRuns ( )
inlinestatic

Definition at line 62 of file EDProducer.h.

62 { return true; }

◆ wantsInputProcessBlocks()

static bool edm::EDProducer::wantsInputProcessBlocks ( )
inlinestatic

Definition at line 61 of file EDProducer.h.

61 { return false; }

◆ wantsProcessBlocks()

static bool edm::EDProducer::wantsProcessBlocks ( )
inlinestatic

Definition at line 60 of file EDProducer.h.

60 { return false; }

◆ wantsStreamLuminosityBlocks()

static bool edm::EDProducer::wantsStreamLuminosityBlocks ( )
inlinestatic

Definition at line 65 of file EDProducer.h.

65 { return false; };

◆ wantsStreamRuns()

static bool edm::EDProducer::wantsStreamRuns ( )
inlinestatic

Definition at line 64 of file EDProducer.h.

64 { return false; }

◆ workerType()

std::string edm::EDProducer::workerType ( ) const
inlineprivate

Definition at line 93 of file EDProducer.h.

93 { return "WorkerT<EDProducer>"; }

Friends And Related Function Documentation

◆ maker::ModuleHolderT

template<typename T >
friend class maker::ModuleHolderT
friend

Definition at line 45 of file EDProducer.h.

◆ WorkerT

template<typename T >
friend class WorkerT
friend

Definition at line 47 of file EDProducer.h.

Member Data Documentation

◆ luminosityBlockQueue_

SerialTaskQueue edm::EDProducer::luminosityBlockQueue_
private

Definition at line 116 of file EDProducer.h.

Referenced by globalLuminosityBlocksQueue().

◆ moduleDescription_

ModuleDescription edm::EDProducer::moduleDescription_
private

◆ previousParentage_

std::vector<BranchID> edm::EDProducer::previousParentage_
private

Definition at line 113 of file EDProducer.h.

Referenced by doEvent().

◆ previousParentageId_

ParentageID edm::EDProducer::previousParentageId_
private

Definition at line 117 of file EDProducer.h.

Referenced by doEvent().

◆ resourceAcquirer_

SharedResourcesAcquirer edm::EDProducer::resourceAcquirer_
private

Definition at line 114 of file EDProducer.h.

Referenced by doBeginJob(), doEvent(), and sharedResourcesAcquirer().

◆ runQueue_

SerialTaskQueue edm::EDProducer::runQueue_
private

Definition at line 115 of file EDProducer.h.

Referenced by globalRunsQueue().