CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 APVCyclePhaseProducerFromL1ABC AssociationMapOneToOne2Association< CKey, CVal > AssociationVector2ValueMap< KeyRefProd, CVal > AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector > BasicToPFJet CandOneToOneDeltaRMatcher CandReducer CandViewRefMerger CastorCellProducer CastorClusterProducer cms::CkfDebugTrackCandidateMaker cms::ClusterizerFP420 cms::JetVertexAssociation cms::ReconstructerFP420 cms::TrackerizerFP420 ColinsSoperVariablesComputer CollectionAdder< C > ConeIsolation ConfigurableAPVCyclePhaseProducer ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init > CosmicMuonLinksProducer DeltaBetaWeights DeltaRNearestObjectComputer< T > DiJetVarProducer DoubleProducer DQMTauProducer DTClusterer DTDDUFileReader DTNewROS8FileReader DTROS25FileReader DTROS8FileReader DTSpyReader EcalDCCTB07UnpackingModule EcalDCCTBUnpackingModule EcalFEDWithCRCErrorProducer EcalTBH2TDCRecInfoProducer EcalTBHodoscopeRecInfoProducer EcalTBTDCRecInfoProducer edm::GenericSelectorByValueMap< T, C > ElectronMatchedCandidateProducer EmptySimHits EventShapeVarsProducer EventWithHistoryProducer fftjetcms::FFTJetInterface FFTJetCorrectionProducer FFTJetPFPileupCleaner FFTJetPileupEstimator FFTJetVertexAdder FlavorHistoryProducer FromClusterSummaryMultiplicityProducer GenParticleDecaySelector GtPsbTextToDigi HcalCalibFEDSelector HcalHistogramRawToDigi HcalLaserEventFiltProducer2012 HcalLaserReco HcalPatternSource HcalTBObjectUnpacker HepMCCopy HiL1Subtractor HLTDummyCollections ImpactParameter IsolationProducer< C1, C2, Alg, OutputCollection, Setup > IsolationProducerForTracks JetEnergyShift JetIdSelector< T > JetSignalVertexCompatibility L1CaloJetHTTProducer L1CaloJetProducer L1DummyProducer L1EmulBias L1ExtraParticleMapProd L1GctInternJetProducer L1GtTextToRaw L1HLTJetsMatching L1RCTInputProducer L1RCTTPGProvider l1t::AMC13DumpToRaw l1t::AMCDumpToRaw l1t::BXVectorInputProducer l1t::FakeInputProducer l1t::GenToInputProducer l1t::L1ComparatorRun2 l1t::MP7BufferDumpToRaw L1TowerCalibrator L1TStage2CaloLayer2Comp L1TStage2Layer1Producer L2TauPixelTrackMatch LHE2HepMCConverter LHECOMWeightProducer LTCRawToDigi MaskedRctInputDigiProducer MassKinFitterCandProducer MatacqProducer MixBoostEvtVtxGenerator MuIsolatorResultProducer< BT > MultiplicityProducer< T > MuonErrorMatrixAdjuster MuonSeedTrack MuonSelectorVertex MuPFIsoEmbedder MuScleFitMuonProducer NearbyCandCountComputer NtpProducer< C > NTuplingDevice NuclearTrackCorrector ObjectMultiplicityCounter< T > ObjectViewCleaner< T > ObjectViewMatcher< T1, T2 > OtherObjectVariableComputer< T > ParticleDecayProducer pat::GenPlusSimParticleProducer pat::helper::AnythingToValueMap< Adaptor, Collection, value_type > pat::helper::ManyThingsToValueMaps< Adaptor, Collection, value_type > PatJPsiProducer PF_PU_FirstVertexTracks PFCand_NoPU_WithAM PFJetToCaloProducer PFMET PFTau3ProngReco PFTauToJetProducer Phase2Tracker::Phase2TrackerCommissioningDigiProducer Phase2Tracker::Phase2TrackerDigiProducer ProbeMulteplicityProducer RawDataSelector RazorVarProducer RctInputTextToDigi RctTextToRctDigi reco::modules::HICaloCompatibleTrackSelector reco::modules::MatcherBase< C1, C2, M > reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup > reco::modulesNew::Matcher< C1, C2, S, D > reco::modulesNew::MCTruthCompositeMatcher RPCSeedGenerator RPDigiProducer ShallowExampleProducer sistrip::FEDEmulatorModule sistrip::SpyDigiConverterModule sistrip::SpyEventSummaryProducer sistrip::SpyUnpackerModule SiStripFineDelayHit SiStripProcessedRawDigiProducer SourceCardTextToRctDigi StEvtSolutionMaker StGenEventReco TextToRaw TopDecaySubset TopInitSubset TriggerCandProducer< object > TtDilepEvtSolutionMaker TtEvtBuilder< C > TtFullHadHypothesis TtFullHadKinFitProducer TtFullLepHypothesis TtFullLepKinSolutionProducer TtGenEventReco TtHadEvtSolutionMaker TtJetPartonMatch< C > TtSemiEvtSolutionMaker TtSemiLepHitFitProducer< LeptonCollection > TtSemiLepHypothesis TtSemiLepJetCombGeom TtSemiLepJetCombMaxSumPtWMass TtSemiLepJetCombWMassDeltaTopMass TtSemiLepJetCombWMassMaxSumPt TtSemiLepKinFitProducer< LeptonCollection > 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
 
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)
 
 ~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
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)
 

Detailed Description

Definition at line 36 of file EDProducer.h.

Member Typedef Documentation

Definition at line 42 of file EDProducer.h.

Constructor & Destructor Documentation

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:111
std::vector< BranchID > previousParentage_
Definition: EDProducer.h:107
static SharedResourcesRegistry * instance()
ModuleDescription moduleDescription_
Definition: EDProducer.h:106
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.
edm::EDProducer::~EDProducer ( )
override

Definition at line 25 of file EDProducer.cc.

25 {}

Member Function Documentation

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

Definition at line 113 of file EDProducer.cc.

References edm::kBaseType().

113 { return kBaseType; }
static const std::string kBaseType("EDAnalyzer")
virtual void edm::EDProducer::beginJob ( void  )
inlineprivatevirtual
virtual void edm::EDProducer::beginLuminosityBlock ( LuminosityBlock const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 97 of file EDProducer.h.

Referenced by doBeginLuminosityBlock().

97 {}
virtual void edm::EDProducer::beginRun ( Run const &  ,
EventSetup const &   
)
inlineprivatevirtual
void edm::EDProducer::doAccessInputProcessBlock ( ProcessBlockPrincipal const &  ,
ModuleCallingContext const *   
)
inlineprivate

Definition at line 73 of file EDProducer.h.

73 {}
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  }
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
virtual void beginJob()
Definition: EDProducer.h:92
static SharedResourcesRegistry * instance()
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:108
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  false};
81  this->beginLuminosityBlock(cnstLb, c);
82  commit_(lb);
83  }
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EventSetup & c
ModuleDescription moduleDescription_
Definition: EDProducer.h:106
virtual void beginLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Definition: EDProducer.h:97
void commit_(P &iPrincipal)
Definition: ProducerBase.h:121
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void edm::EDProducer::doBeginProcessBlock ( ProcessBlockPrincipal const &  ,
ModuleCallingContext const *   
)
inlineprivate

Definition at line 72 of file EDProducer.h.

72 {}
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_, alignCSCRings::r, and edm::Run::setConsumer().

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, false};
56  this->beginRun(cnstR, c);
57  commit_(r);
58  }
virtual void beginRun(Run const &, EventSetup const &)
Definition: EDProducer.h:95
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EventSetup & c
ModuleDescription moduleDescription_
Definition: EDProducer.h:106
void commit_(P &iPrincipal)
Definition: ProducerBase.h:121
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void edm::EDProducer::doEndJob ( )
private

Definition at line 47 of file EDProducer.cc.

References endJob().

47 { this->endJob(); }
virtual void endJob()
Definition: EDProducer.h:93
void edm::EDProducer::doEndLuminosityBlock ( LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 85 of file EDProducer.cc.

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

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

Definition at line 74 of file EDProducer.h.

74 {}
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_, alignCSCRings::r, and edm::Run::setConsumer().

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, false};
67  this->endRun(cnstR, c);
68  commit_(r);
69  }
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EventSetup & c
ModuleDescription moduleDescription_
Definition: EDProducer.h:106
virtual void endRun(Run const &, EventSetup const &)
Definition: EDProducer.h:96
void commit_(P &iPrincipal)
Definition: ProducerBase.h:121
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
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_(), alignCSCRings::e, edm::EDConsumerBase::esGetTokenIndices(), edm::Event, info(), moduleDescription_, previousParentage_, previousParentageId_, produce(), resourceAcquirer_, edm::Event::setConsumer(), edm::Event::setProducer(), and edm::Event::setSharedResourcesAcquirer().

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, false};
36  this->produce(e, c);
38  return true;
39  }
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EventSetup & c
ParentageID previousParentageId_
Definition: EDProducer.h:111
std::vector< BranchID > previousParentage_
Definition: EDProducer.h:107
ModuleDescription moduleDescription_
Definition: EDProducer.h:106
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:108
void commit_(P &iPrincipal)
Definition: ProducerBase.h:121
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
virtual void produce(Event &, EventSetup const &)=0
void edm::EDProducer::doPreallocate ( PreallocationConfiguration const &  )
inlineprivate

Definition at line 69 of file EDProducer.h.

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

Definition at line 82 of file EDProducer.h.

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

Definition at line 101 of file EDProducer.cc.

References respondToCloseInputFile().

virtual void respondToCloseInputFile(FileBlock const &)
Definition: EDProducer.h:100
void edm::EDProducer::doRespondToCloseOutputFile ( )
inlineprivate

Definition at line 81 of file EDProducer.h.

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

Definition at line 99 of file EDProducer.cc.

References respondToOpenInputFile().

virtual void respondToOpenInputFile(FileBlock const &)
Definition: EDProducer.h:99
virtual void edm::EDProducer::endJob ( void  )
inlineprivatevirtual
virtual void edm::EDProducer::endLuminosityBlock ( LuminosityBlock const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 98 of file EDProducer.h.

Referenced by doEndLuminosityBlock().

98 {}
virtual void edm::EDProducer::endRun ( Run const &  ,
EventSetup const &   
)
inlineprivatevirtual
void edm::EDProducer::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 103 of file EDProducer.cc.

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

103  {
105  desc.setUnknown();
106  descriptions.addDefault(desc);
107  }
SerialTaskQueue* edm::EDProducer::globalLuminosityBlocksQueue ( )
inline

Definition at line 62 of file EDProducer.h.

62 { return &luminosityBlockQueue_; }
SerialTaskQueue luminosityBlockQueue_
Definition: EDProducer.h:110
SerialTaskQueue* edm::EDProducer::globalRunsQueue ( )
inline

Definition at line 61 of file EDProducer.h.

61 { return &runQueue_; }
SerialTaskQueue runQueue_
Definition: EDProducer.h:109
bool edm::EDProducer::hasAccumulator ( ) const
inlineprivate

Definition at line 103 of file EDProducer.h.

103 { return false; }
bool edm::EDProducer::hasAcquire ( ) const
inlineprivate

Definition at line 102 of file EDProducer.h.

102 { return false; }
ModuleDescription const& edm::EDProducer::moduleDescription ( ) const
inline

Definition at line 52 of file EDProducer.h.

52 { return moduleDescription_; }
ModuleDescription moduleDescription_
Definition: EDProducer.h:106
void edm::EDProducer::preActionBeforeRunEventAsync ( WaitingTaskHolder  ,
ModuleCallingContext const &  ,
Principal const &   
) const
inlineprivate

Definition at line 67 of file EDProducer.h.

67 {}
void edm::EDProducer::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 109 of file EDProducer.cc.

References edm::edmodule_mightGet_config().

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

Implemented in FFTJetProducer, MatacqProducer, FFTJetCorrectionProducer, RPCSeedGenerator, L1TStage2CaloLayer2Comp, PFTau3ProngReco, pat::helper::ManyThingsToValueMaps< Adaptor, Collection, value_type >, FFTJetPatRecoProducer, NuclearTrackCorrector, HLTDummyCollections, L1TStage2Layer1Producer, L1TowerCalibrator, l1t::GenToInputProducer, JetIdSelector< T >, l1t::BXVectorInputProducer, l1t::MP7BufferDumpToRaw, FFTJetPileupProcessor, APVCyclePhaseProducerFromL1ABC, sistrip::FEDEmulatorModule, FlavorHistoryProducer, sistrip::SpyUnpackerModule, FFTJetEFlowSmoother, PFCand_NoPU_WithAM, reco::modules::HICaloCompatibleTrackSelector, RPDigiProducer, MixBoostEvtVtxGenerator, L1CaloJetProducer, ObjectViewCleaner< T >, MuIsolatorResultProducer< BT >, MuonSeedTrack, l1t::AMC13DumpToRaw, l1t::AMCDumpToRaw, PF_PU_FirstVertexTracks, RctInputTextToDigi, FFTJetPileupEstimator, ObjectViewMatcher< T1, T2 >, FFTJetPFPileupCleaner, FFTJetVertexAdder, MultiplicityProducer< T >, L1GtTextToRaw, CastorClusterProducer, MuScleFitMuonProducer, PatJPsiProducer, HiL1Subtractor, MuonErrorMatrixAdjuster, LHE2HepMCConverter, ConfigurableAPVCyclePhaseProducer, l1t::FakeInputProducer, MaskedRctInputDigiProducer, EventShapeVarsProducer, TtJetPartonMatch< C >, EcalFEDWithCRCErrorProducer, SiStripFineDelayHit, SourceCardTextToRctDigi, CastorCellProducer, DeltaRNearestObjectComputer< T >, DTClusterer, TextToRaw, pat::GenPlusSimParticleProducer, reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup >, EventWithHistoryProducer, FromClusterSummaryMultiplicityProducer, L1DummyProducer, edm::GenericSelectorByValueMap< T, C >, MuPFIsoEmbedder, LTCRawToDigi, l1t::L1ComparatorRun2, L1EmulBias, L1ExtraParticleMapProd, RctTextToRctDigi, L1CaloJetHTTProducer, IsolationProducer< C1, C2, Alg, OutputCollection, Setup >, NTuplingDevice, JetEnergyShift, TopDecaySubset, TtEvtBuilder< C >, TtFullLepHypothesis, L1GctInternJetProducer, L1RCTTPGProvider, GtPsbTextToDigi, cms::ClusterizerFP420, TtSemiLepHypothesis, sistrip::SpyDigiConverterModule, sistrip::SpyEventSummaryProducer, TtFullHadHypothesis, DTSpyReader, HcalTBObjectUnpacker, DTROS25FileReader, cms::TrackerizerFP420, DTDDUFileReader, ImpactParameter, EcalDCCTB07UnpackingModule, HcalHistogramRawToDigi, Phase2Tracker::Phase2TrackerDigiProducer, DTROS8FileReader, L1RCTInputProducer, NearbyCandCountComputer, EcalDCCTBUnpackingModule, Type1PFMET, cms::ReconstructerFP420, CandReducer, PFMET, reco::modules::MatcherBase< C1, C2, M >, reco::modulesNew::Matcher< C1, C2, S, D >, LHECOMWeightProducer, DTNewROS8FileReader, cms::JetVertexAssociation, OtherObjectVariableComputer< T >, ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >, TriggerCandProducer< object >, pat::helper::AnythingToValueMap< Adaptor, Collection, value_type >, ObjectMultiplicityCounter< T >, TtFullHadKinFitProducer, NtpProducer< C >, reco::modulesNew::MCTruthCompositeMatcher, ColinsSoperVariablesComputer, TtHadEvtSolutionMaker, SiStripProcessedRawDigiProducer, CollectionAdder< C >, ProbeMulteplicityProducer, TtSemiEvtSolutionMaker, CandViewRefMerger, RawDataSelector, TtSemiLepHitFitProducer< LeptonCollection >, ConeIsolation, DeltaBetaWeights, AssociationVector2ValueMap< KeyRefProd, CVal >, L2TauPixelTrackMatch, TtFullLepKinSolutionProducer, AssociationMapOneToOne2Association< CKey, CVal >, HcalCalibFEDSelector, CandOneToOneDeltaRMatcher, L1HLTJetsMatching, AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >, DiJetVarProducer, Phase2Tracker::Phase2TrackerCommissioningDigiProducer, EmptySimHits, GenParticleDecaySelector, cms::CkfDebugTrackCandidateMaker, CosmicMuonLinksProducer, ParticleDecayProducer, MassKinFitterCandProducer, StEvtSolutionMaker, AlphaTVarProducer, DQMTauProducer, PFTauToJetProducer, TtDilepEvtSolutionMaker, TtSemiLepJetCombWMassDeltaTopMass, TtSemiLepKinFitProducer< LeptonCollection >, RazorVarProducer, JetSignalVertexCompatibility, PFJetToCaloProducer, EcalTBHodoscopeRecInfoProducer, EcalTBH2TDCRecInfoProducer, EcalTBTDCRecInfoProducer, HcalLaserReco, TopInitSubset, TtSemiLepJetCombGeom, TtSemiLepJetCombWMassMaxSumPt, DoubleProducer, IsolationProducerForTracks, ElectronMatchedCandidateProducer, TtSemiLepJetCombMaxSumPtWMass, HcalPatternSource, BasicToPFJet, MuonSelectorVertex, HcalLaserEventFiltProducer2012, HepMCCopy, StGenEventReco, ShallowExampleProducer, and TtGenEventReco.

Referenced by doEvent().

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

Definition at line 83 of file EDProducer.h.

83  {
85  }
void registerProducts(ProducerBase *, ProductRegistry *, ModuleDescription const &)
Definition: ProducerBase.cc:57
ModuleDescription moduleDescription_
Definition: EDProducer.h:106
tuple module
Definition: callgraph.py:69
virtual void edm::EDProducer::respondToCloseInputFile ( FileBlock const &  )
inlineprivatevirtual

Definition at line 100 of file EDProducer.h.

Referenced by doRespondToCloseInputFile().

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

Definition at line 99 of file EDProducer.h.

Referenced by doRespondToOpenInputFile().

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

Definition at line 105 of file EDProducer.h.

105 { moduleDescription_ = md; }
ModuleDescription moduleDescription_
Definition: EDProducer.h:106
SharedResourcesAcquirer& edm::EDProducer::sharedResourcesAcquirer ( )
inlineprivate

Definition at line 89 of file EDProducer.h.

89 { return resourceAcquirer_; }
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:108
static bool edm::EDProducer::wantsGlobalLuminosityBlocks ( )
inlinestatic

Definition at line 57 of file EDProducer.h.

57 { return true; }
static bool edm::EDProducer::wantsGlobalRuns ( )
inlinestatic

Definition at line 56 of file EDProducer.h.

56 { return true; }
static bool edm::EDProducer::wantsInputProcessBlocks ( )
inlinestatic

Definition at line 55 of file EDProducer.h.

55 { return false; }
static bool edm::EDProducer::wantsProcessBlocks ( )
inlinestatic

Definition at line 54 of file EDProducer.h.

54 { return false; }
static bool edm::EDProducer::wantsStreamLuminosityBlocks ( )
inlinestatic

Definition at line 59 of file EDProducer.h.

59 { return false; };
static bool edm::EDProducer::wantsStreamRuns ( )
inlinestatic

Definition at line 58 of file EDProducer.h.

58 { return false; }
std::string edm::EDProducer::workerType ( ) const
inlineprivate

Definition at line 87 of file EDProducer.h.

87 { return "WorkerT<EDProducer>"; }

Friends And Related Function Documentation

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

Definition at line 39 of file EDProducer.h.

template<typename T >
friend class WorkerT
friend

Definition at line 41 of file EDProducer.h.

Member Data Documentation

SerialTaskQueue edm::EDProducer::luminosityBlockQueue_
private

Definition at line 110 of file EDProducer.h.

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

Definition at line 107 of file EDProducer.h.

Referenced by doEvent().

ParentageID edm::EDProducer::previousParentageId_
private

Definition at line 111 of file EDProducer.h.

Referenced by doEvent().

SharedResourcesAcquirer edm::EDProducer::resourceAcquirer_
private

Definition at line 108 of file EDProducer.h.

Referenced by doBeginJob(), and doEvent().

SerialTaskQueue edm::EDProducer::runQueue_
private

Definition at line 109 of file EDProducer.h.