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 AlCaDiJetsProducer AlCaEcalHcalReadoutsProducer AlCaECALRecHitReducer AlCaElectronTracksReducer AlCaGammaJetProducer AlCaHcalNoiseProducer AlCaHOCalibProducer AlignmentMuonHIPTrajectorySelector AlignmentPrescaler AlphaTVarProducer APVCyclePhaseProducerFromL1ABC AssociationMapOneToOne2Association< CKey, CVal > AssociationVector2ValueMap< KeyRefProd, CVal > AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector > BasicToPFJet BetaBoostEvtVtxGenerator BoostedTopProducer BSCTrigger CaloRecoTauProducer CaloRecoTauTagInfoProducer CaloTowersMerger CaloTowersReCreator CandidateTriggerObjectProducer CandOneToOneDeltaRMatcher CandReducer CandViewRefMerger CandViewRefTriggerBiasRemover CastorCellProducer CastorClusterProducer CastorDigiToRaw CentralityBinProducer CloneProducer< C > cms::CkfDebugTrackCandidateMaker cms::ClusterizerFP420 cms::HitReCalibrator cms::JetVertexAssociation cms::ReconstructerFP420 cms::TrackerizerFP420 ColinsSoperVariablesComputer CollectionAdder< C > ConeIsolation ConfigurableAPVCyclePhaseProducer ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init > ConvBremSeedProducer CosmicMuonLinksProducer CRackSeedGenerator CSCDigiToRawModule CSCOverlapsTrackPreparation CSCTFCandidateProducer CSCTFTrackProducer DeltaBetaWeights DeltaRNearestObjectComputer< T > DiJetVarProducer DimuonMCMatcher DistortedMETProducer DistortedMuonProducer DistortedMuonProducerFromDB DistortedPFCandProducer DoubleProducer DQMTauProducer DTClusterer DTDDUFileReader DTNewROS8FileReader DTRecSegment2DExtendedProducer DTROS25FileReader DTROS8FileReader DTSpyReader DTTrigProd EcalDCCTB07UnpackingModule EcalDCCTBUnpackingModule EcalDigiToRaw EcalFEDWithCRCErrorProducer EcalListOfFEDSProducer EcalRecHitRecalib EcalRecHitsMerger ECALRegFEDSelector EcalTBH2TDCRecInfoProducer EcalTBHodoscopeRecInfoProducer EcalTBTDCRecInfoProducer EcalTBWeightUncalibRecHitProducer edm::EventAuxiliaryHistoryProducer edm::GenericSelectorByValueMap< T, C > EgammaElectronTkNumIsolationProducer EgammaHLTCombinedIsolationProducer EgammaHLTEcalIsolationProducersRegional EgammaHLTEcalRecIsolationProducer EgammaHLTElectronCombinedIsolationProducer EgammaHLTHcalIsolationDoubleConeProducers EgammaHLTHcalIsolationProducersRegional EgammaHLTHybridClusterProducer EgammaHLTIslandClusterProducer EgammaHLTMulti5x5ClusterProducer EgammaHLTPFChargedIsolationProducer EgammaHLTPFNeutralIsolationProducer EgammaHLTPFPhotonIsolationProducer EgammaHLTRegionalPixelSeedGeneratorProducers EgammaHLTRemoveDuplicatedSC EgammaHLTTimeCleanedRechitProducer EgammaPhotonTkIsolationProducer EgammaPhotonTkNumIsolationProducer ElectronConversionRejectionVars ElectronMatchedCandidateProducer ElectronPATIdMVAProducer ElectronRecalibSuperClusterAssociator ElectronSqPtTkIsolationProducer EmptySimHits ESListOfFEDSProducer ESRecHitsMerger EventShapeVarsProducer EventVtxInfoNtupleDumper EventWithHistoryProducer fftjetcms::FFTJetInterface FFTJetCorrectionProducer FFTJetPFPileupCleaner FFTJetPileupEstimator FFTJetVertexAdder FlavorHistoryProducer FromClusterSummaryMultiplicityProducer FSRWeightProducer GctDigiToRaw gen::Pythia6Gun GenHFHadronMatcher GenHIEventProducer GenParticleDecaySelector GenTtbarCategorizer GlobalDigisProducer GlobalHitsProducer GlobalRecHitsProducer GtPsbTextToDigi HcalCalibFEDSelector HcalHistogramRawToDigi HcalLaserEventFiltProducer2012 HcalLaserReco HcalPatternSource HcalRecHitRecalib HcalTBObjectUnpacker HepMCCopy HiGenCleaner< T2 > HighPtTrackEcalDetIdProducer HiL1Subtractor HLTDisplacedmumumuVtxProducer HLTDummyCollections HLTHFRecoEcalCandidateProducer HLTTauMCProducer HLTTauRefCombiner ImpactParameter IsolationProducer< C1, C2, Alg, OutputCollection, Setup > IsolationProducerForTracks ISRGammaWeightProducer ISRWeightProducer JetCrystalsAssociator JetEnergyShift JetIdSelector< T > JetPlusTrackProducerAA JetSignalVertexCompatibility L1Comparator L1DummyProducer L1EmulBias L1ExtraParticleMapProd L1GctEmulator L1GctInternJetProducer L1GTDigiToRaw L1GTEvmDigiToRaw L1GtTextToRaw L1HLTJetsMatching L1RCTInputProducer L1RCTProducer L1RCTTPGProvider l1t::AMC13DumpToRaw l1t::AMCDumpToRaw l1t::BXVectorInputProducer l1t::FakeInputProducer l1t::GenToInputProducer l1t::L1ComparatorRun2 l1t::L1TCaloRCTToUpgradeConverter l1t::MP7BufferDumpToRaw L1TCaloLayer1 L1TMuonOverlapTrackProducer L1TStage1Layer2Producer L1TStage2Layer1Producer L1TStage2Layer2Producer L2TauPixelTrackMatch LaserAlignmentT0Producer LHE2HepMCConverter LHECOMWeightProducer LTCRawToDigi MaskedRctInputDigiProducer MassKinFitterCandProducer MatacqProducer MatchedProbeMaker< T > reco::modules::MatcherBase< Collection, Collection, reco::helper::CandMapTrait< Collection >::type > MCTruthCompositeMatcher< C1, C2 > MFProducer MixBoostEvtVtxGenerator modules::MuonCleanerBySegmentsT< T > MuIsolatorResultProducer< BT > MultiplicityProducer< T > MuonErrorMatrixAdjuster MuonMCClassifier MuonMillepedeTrackRefitter MuonSeedTrack MuonSegmentProducer MuonSelectorVertex MuonWithPFIsoProducer MuPFIsoEmbedder MuScleFitMuonProducer NearbyCandCountComputer NtpProducer< C > NtpProducer< C > NTuplingDevice NuclearTrackCorrector ObjectMultiplicityCounter< T > ObjectViewCleaner< T > ObjectViewMatcher< T1, T2 > Onia2MuMuPAT OniaAddV0TracksProducer OtherObjectVariableComputer< T > ParticleDecayProducer ParticleTowerProducer pat::__class__Producer pat::GenPlusSimParticleProducer pat::helper::AnythingToValueMap< Adaptor, Collection, value_type > pat::helper::ManyThingsToValueMaps< Adaptor, Collection, value_type > pat::HLTL1MuonMatcher pat::L1MuonMatcher pat::MatcherByPulls< T > pat::MatcherUsingTracks PatElectronEAIsoCorrectionProducer PatJPsiProducer PdfWeightProducer PF_PU_FirstVertexTracks PFCand_NoPU_WithAM PFClusterShapeProducer PFJetToCaloProducer PFMET PFRecoTauProducer PFTau3ProngReco PFTauMVAInputDiscriminantTranslator PFTauToJetProducer PFTauViewRefMerger Phase2Tracker::Phase2TrackerCommissioningDigiProducer Phase2Tracker::Phase2TrackerDigiProducer PileupJPTJetIdProducer PixelVertexProducerMedian PiZeroDiscriminatorProducer PiZeroDiscriminatorProducer ProbeMulteplicityProducer ProduceIsolationMap QjetsAdder RawDataSelector RazorVarProducer RctInputTextToDigi RctTextToRctDigi reco::CentralityProducer reco::modules::CaloRecHitCandidateProducer< HitCollection > reco::modules::HICaloCompatibleTrackSelector reco::modules::MatcherBase< C1, C2, M > reco::modules::NamedCandCombinerBase reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup > reco::modulesNew::Matcher< C1, C2, S, D > reco::modulesNew::MCTruthCompositeMatcher reco::tautools::CastedRefProducer< DerivedCollection, BaseType > reco::tautools::CopyProducer< Collection > RecoTauEventFlagProducer RecoTauPiZeroFlattener ReduceHcalRecHitCollectionProducer RegressionEnergyPatElectronProducer RPCSeedGenerator RPCTechnicalTrigger RPCTrigger ShallowCloneProducer< C > ShallowClustersProducer ShallowDigisProducer ShallowEventDataProducer ShallowExampleProducer ShallowGainCalibration ShallowRechitClustersProducer ShallowSimhitClustersProducer ShallowSimTracksProducer ShallowTrackClustersProducer ShallowTracksProducer ShiftedPFCandidateProducerForPFNoPUMEt SimHitShifter SiPixelCalibDigiProducer SiPixelDigiToRaw SiPixelFedFillerWordEventNumber sistrip::FEDEmulatorModule sistrip::SpyDigiConverterModule sistrip::SpyEventSummaryProducer sistrip::SpyUnpackerModule SiStripElectronSeedProducer SiStripFineDelayHit SiStripProcessedRawDigiProducer SiStripRegFEDSelector SourceCardTextToRctDigi StEvtSolutionMaker StGenEventReco SubdetFEDSelector TagProbeMassProducer TextToRaw TkAlCaOverlapTagger TopDecaySubset TopInitSubset TrackerHitProducer TrackerToMuonPropagator TrackInfoProducer TriggerCandProducer< object > TriggerMatcherToHLTDebug TriggerMatchProducer< object > TriggerObjectFilterByCollection TruthTauDecayModeProducer TTClusterBuilder< T > TtDilepEvtSolutionMaker TtEvtBuilder< C > TtFullHadHypothesis TtFullHadKinFitProducer TtFullHadSignalSelMVAComputer TtFullLepHypothesis TtFullLepKinSolutionProducer TtGenEventReco TtHadEvtSolutionMaker TtJetPartonMatch< C > TtSemiEvtSolutionMaker TtSemiLepHitFitProducer< LeptonCollection > TtSemiLepHypothesis TtSemiLepJetCombGeom TtSemiLepJetCombMaxSumPtWMass TtSemiLepJetCombMVAComputer TtSemiLepJetCombWMassDeltaTopMass TtSemiLepJetCombWMassMaxSumPt TtSemiLepKinFitProducer< LeptonCollection > TtSemiLepSignalSelMVAComputer TTStubBuilder< T > Type1PFMET UpdatedMuonInnerTrackRef ValueMapTraslator WeakEffectsWeightProducer WMuNuProducer ZMuMuMuonUserData ZMuMuTrackUserData ZMuMuUserData ZMuMuUserDataOneTrack ZToLLEdmNtupleDumper

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
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) 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)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
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 doBeginJob ()
 
void doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc)
 
void doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
void doEndJob ()
 
void doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc)
 
void doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
bool doEvent (EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *act, ModuleCallingContext const *mcc)
 
void doPreallocate (PreallocationConfiguration const &)
 
void doRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
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 (WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) 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::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)
 

Detailed Description

Definition at line 35 of file EDProducer.h.

Member Typedef Documentation

Definition at line 39 of file EDProducer.h.

Constructor & Destructor Documentation

edm::EDProducer::EDProducer ( )

Definition at line 19 of file EDProducer.cc.

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

19  :
20  ProducerBase(),
26  }
ParentageID previousParentageId_
Definition: EDProducer.h:112
std::vector< BranchID > previousParentage_
Definition: EDProducer.h:108
static SharedResourcesRegistry * instance()
ModuleDescription moduleDescription_
Definition: EDProducer.h:107
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 28 of file EDProducer.cc.

28 { }

Member Function Documentation

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

Definition at line 121 of file EDProducer.cc.

References edm::kBaseType().

121  {
122  return kBaseType;
123  }
static const std::string kBaseType("EDAnalyzer")
virtual void edm::EDProducer::beginJob ( void  )
inlineprivatevirtual

Reimplemented in AlCaHOCalibProducer, GlobalRecHitsProducer, SimHitShifter, GlobalDigisProducer, FFTJetProducer, FFTJetCorrectionProducer, RPCSeedGenerator, GlobalHitsProducer, GenTtbarCategorizer, L1TStage1Layer2Producer, FFTJetPatRecoProducer, L1TStage2Layer1Producer, CSCOverlapsTrackPreparation, TrackerToMuonPropagator, l1t::BXVectorInputProducer, l1t::GenToInputProducer, L1TCaloLayer1, l1t::MP7BufferDumpToRaw, L1TStage2Layer2Producer, FFTJetPileupProcessor, APVCyclePhaseProducerFromL1ABC, l1t::AMC13DumpToRaw, l1t::AMCDumpToRaw, JetPlusTrackProducerAA, L1GTDigiToRaw, reco::CentralityProducer, FFTJetEFlowSmoother, HiL1Subtractor, MultiplicityProducer< T >, L1GTEvmDigiToRaw, RctInputTextToDigi, PatJPsiProducer, CastorClusterProducer, EcalDigiToRaw, l1t::L1TCaloRCTToUpgradeConverter, l1t::FakeInputProducer, MuonSeedTrack, FFTJetPileupEstimator, CaloTowersMerger, MuonErrorMatrixAdjuster, MuonSegmentProducer, MuScleFitMuonProducer, FFTJetPFPileupCleaner, FFTJetVertexAdder, TruthTauDecayModeProducer, EventShapeVarsProducer, ConfigurableAPVCyclePhaseProducer, L1GtTextToRaw, L1Comparator, BSCTrigger, CastorCellProducer, FromClusterSummaryMultiplicityProducer, gen::Pythia6Gun, EventWithHistoryProducer, GctDigiToRaw, L1DummyProducer, L1TMuonOverlapTrackProducer, TextToRaw, AlCaGammaJetProducer, cms::HitReCalibrator, AlCaDiJetsProducer, NTuplingDevice, ECALRegFEDSelector, WMuNuProducer, Onia2MuMuPAT, L1GctEmulator, L1EmulBias, LaserAlignmentT0Producer, TagProbeMassProducer, cms::ClusterizerFP420, MatchedProbeMaker< T >, PFMET, cms::TrackerizerFP420, EcalDCCTB07UnpackingModule, SiStripRegFEDSelector, EcalDCCTBUnpackingModule, ESListOfFEDSProducer, HLTDisplacedmumumuVtxProducer, EcalListOfFEDSProducer, SubdetFEDSelector, L1GctInternJetProducer, cms::ReconstructerFP420, ParticleTowerProducer, TriggerCandProducer< object >, SiPixelFedFillerWordEventNumber, CandidateTriggerObjectProducer, TriggerMatchProducer< object >, Phase2Tracker::Phase2TrackerDigiProducer, TrackerHitProducer, LHECOMWeightProducer, TtSemiLepSignalSelMVAComputer, TtSemiLepJetCombMVAComputer, AlignmentPrescaler, PdfWeightProducer, CSCTFTrackProducer, EcalRecHitsMerger, ESRecHitsMerger, TtFullHadSignalSelMVAComputer, TtFullLepKinSolutionProducer, FSRWeightProducer, ISRWeightProducer, ISRGammaWeightProducer, ElectronMatchedCandidateProducer, UpdatedMuonInnerTrackRef, HcalCalibFEDSelector, DistortedMuonProducer, DistortedPFCandProducer, MuonWithPFIsoProducer, EmptySimHits, TtSemiLepJetCombWMassDeltaTopMass, TtDilepEvtSolutionMaker, DistortedMETProducer, MFProducer, TtSemiLepJetCombGeom, TtSemiLepJetCombWMassMaxSumPt, TtSemiLepJetCombMaxSumPtWMass, and WeakEffectsWeightProducer.

Definition at line 91 of file EDProducer.h.

Referenced by doBeginJob().

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

Reimplemented in gen::Pythia6Gun.

Definition at line 96 of file EDProducer.h.

Referenced by doBeginLuminosityBlock().

96 {}
virtual void edm::EDProducer::beginRun ( Run const &  ,
EventSetup const &   
)
inlineprivatevirtual
void edm::EDProducer::doBeginJob ( )
private

Definition at line 45 of file EDProducer.cc.

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

45  {
46  std::vector<std::string> res = {SharedResourcesRegistry::kLegacyModuleResourceName};
48  this->beginJob();
49  }
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
virtual void beginJob()
Definition: EDProducer.h:91
Definition: Electron.h:6
static SharedResourcesRegistry * instance()
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:109
void edm::EDProducer::doBeginLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 77 of file EDProducer.cc.

References beginLuminosityBlock(), edm::ProducerBase::commit_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

78  {
79  LuminosityBlock lb(lbp, moduleDescription_, mcc,false);
80  lb.setConsumer(this);
81  LuminosityBlock const& cnstLb = lb;
82  this->beginLuminosityBlock(cnstLb, c);
83  commit_(lb);
84  }
ModuleDescription moduleDescription_
Definition: EDProducer.h:107
virtual void beginLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Definition: EDProducer.h:96
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
void edm::EDProducer::doBeginRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 57 of file EDProducer.cc.

References beginRun(), edm::ProducerBase::commit_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().

58  {
59  Run r(rp, moduleDescription_, mcc, false);
60  r.setConsumer(this);
61  Run const& cnstR = r;
62  this->beginRun(cnstR, c);
63  commit_(r);
64  }
virtual void beginRun(Run const &, EventSetup const &)
Definition: EDProducer.h:94
ModuleDescription moduleDescription_
Definition: EDProducer.h:107
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
void edm::EDProducer::doEndJob ( )
private

Definition at line 52 of file EDProducer.cc.

References endJob().

52  {
53  this->endJob();
54  }
virtual void endJob()
Definition: EDProducer.h:92
void edm::EDProducer::doEndLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 87 of file EDProducer.cc.

References edm::ProducerBase::commit_(), endLuminosityBlock(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

88  {
89  LuminosityBlock lb(lbp, moduleDescription_, mcc,true);
90  lb.setConsumer(this);
91  LuminosityBlock const& cnstLb = lb;
92  this->endLuminosityBlock(cnstLb, c);
93  commit_(lb);
94  }
virtual void endLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Definition: EDProducer.h:97
ModuleDescription moduleDescription_
Definition: EDProducer.h:107
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
void edm::EDProducer::doEndRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 67 of file EDProducer.cc.

References edm::ProducerBase::commit_(), endRun(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().

68  {
69  Run r(rp, moduleDescription_, mcc,true);
70  r.setConsumer(this);
71  Run const& cnstR = r;
72  this->endRun(cnstR, c);
73  commit_(r);
74  }
ModuleDescription moduleDescription_
Definition: EDProducer.h:107
virtual void endRun(Run const &, EventSetup const &)
Definition: EDProducer.h:95
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
bool edm::EDProducer::doEvent ( EventPrincipal const &  ep,
EventSetup const &  c,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
private

Definition at line 31 of file EDProducer.cc.

References edm::ProducerBase::commit_(), MillePedeFileConverter_cfg::e, moduleDescription_, previousParentage_, previousParentageId_, produce(), resourceAcquirer_, edm::Event::setConsumer(), edm::Event::setProducer(), and edm::Event::setSharedResourcesAcquirer().

33  {
34  Event e(ep, moduleDescription_, mcc);
35  e.setConsumer(this);
36  e.setProducer(this, &previousParentage_);
37  e.setSharedResourcesAcquirer(&resourceAcquirer_);
38  EventSignalsSentry sentry(act,mcc);
39  this->produce(e, c);
41  return true;
42  }
ParentageID previousParentageId_
Definition: EDProducer.h:112
std::vector< BranchID > previousParentage_
Definition: EDProducer.h:108
ModuleDescription moduleDescription_
Definition: EDProducer.h:107
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:109
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
virtual void produce(Event &, EventSetup const &)=0
void edm::EDProducer::doPreallocate ( PreallocationConfiguration const &  )
inlineprivate

Definition at line 65 of file EDProducer.h.

References benchmark_cfg::fb.

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

Definition at line 78 of file EDProducer.h.

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

Definition at line 102 of file EDProducer.cc.

References respondToCloseInputFile().

102  {
104  }
virtual void respondToCloseInputFile(FileBlock const &)
Definition: EDProducer.h:99
void edm::EDProducer::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 97 of file EDProducer.cc.

References respondToOpenInputFile().

97  {
99  }
virtual void respondToOpenInputFile(FileBlock const &)
Definition: EDProducer.h:98
virtual void edm::EDProducer::endJob ( void  )
inlineprivatevirtual

Reimplemented in AlCaHOCalibProducer, GlobalRecHitsProducer, SimHitShifter, GlobalDigisProducer, FFTJetProducer, FFTJetCorrectionProducer, RPCSeedGenerator, L1GTDigiToRaw, NuclearTrackCorrector, GenTtbarCategorizer, GlobalHitsProducer, L1GTEvmDigiToRaw, L1TStage1Layer2Producer, RPCTechnicalTrigger, FFTJetPatRecoProducer, L1TStage2Layer1Producer, CSCOverlapsTrackPreparation, TrackerToMuonPropagator, l1t::BXVectorInputProducer, l1t::GenToInputProducer, L1TCaloLayer1, JetIdSelector< T >, l1t::MP7BufferDumpToRaw, L1TStage2Layer2Producer, APVCyclePhaseProducerFromL1ABC, ObjectViewCleaner< T >, FFTJetPileupProcessor, L1GtTextToRaw, l1t::AMC13DumpToRaw, l1t::AMCDumpToRaw, JetPlusTrackProducerAA, reco::CentralityProducer, MuonSeedTrack, ObjectViewMatcher< T1, T2 >, FFTJetEFlowSmoother, HiL1Subtractor, CastorClusterProducer, MultiplicityProducer< T >, RctInputTextToDigi, PatJPsiProducer, EcalDigiToRaw, l1t::L1TCaloRCTToUpgradeConverter, l1t::FakeInputProducer, FFTJetPileupEstimator, CaloTowersMerger, MuonErrorMatrixAdjuster, MuonSegmentProducer, MuScleFitMuonProducer, FFTJetPFPileupCleaner, FFTJetVertexAdder, TruthTauDecayModeProducer, ConfigurableAPVCyclePhaseProducer, EventShapeVarsProducer, L1Comparator, MaskedRctInputDigiProducer, BSCTrigger, CastorCellProducer, FromClusterSummaryMultiplicityProducer, L1DummyProducer, EventWithHistoryProducer, GctDigiToRaw, L1TMuonOverlapTrackProducer, TextToRaw, AlCaGammaJetProducer, AlCaDiJetsProducer, L1EmulBias, pat::GenPlusSimParticleProducer, NTuplingDevice, ECALRegFEDSelector, Onia2MuMuPAT, L1GctEmulator, WMuNuProducer, LaserAlignmentT0Producer, TagProbeMassProducer, L1RCTTPGProvider, MatchedProbeMaker< T >, EcalDCCTB07UnpackingModule, GtPsbTextToDigi, EcalDCCTBUnpackingModule, SiStripRegFEDSelector, HLTDisplacedmumumuVtxProducer, ESListOfFEDSProducer, SubdetFEDSelector, L1GctInternJetProducer, EcalListOfFEDSProducer, ParticleTowerProducer, Phase2Tracker::Phase2TrackerDigiProducer, SiPixelDigiToRaw, TriggerCandProducer< object >, SiPixelFedFillerWordEventNumber, CandidateTriggerObjectProducer, TriggerMatchProducer< object >, TtSemiLepSignalSelMVAComputer, TtSemiLepJetCombMVAComputer, TrackerHitProducer, OniaAddV0TracksProducer, AlignmentPrescaler, PdfWeightProducer, TtFullHadSignalSelMVAComputer, TtFullLepKinSolutionProducer, FSRWeightProducer, ISRWeightProducer, EcalRecHitsMerger, ESRecHitsMerger, ISRGammaWeightProducer, ElectronMatchedCandidateProducer, UpdatedMuonInnerTrackRef, HcalCalibFEDSelector, DistortedMuonProducer, DistortedPFCandProducer, DistortedMuonProducerFromDB, MuonWithPFIsoProducer, EmptySimHits, cms::CkfDebugTrackCandidateMaker, TtSemiLepJetCombWMassDeltaTopMass, DistortedMETProducer, MFProducer, TtSemiLepJetCombGeom, TtSemiLepJetCombWMassMaxSumPt, TtSemiLepJetCombMaxSumPtWMass, HcalLaserEventFiltProducer2012, edm::EventAuxiliaryHistoryProducer, and WeakEffectsWeightProducer.

Definition at line 92 of file EDProducer.h.

Referenced by doEndJob().

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

Definition at line 97 of file EDProducer.h.

Referenced by doEndLuminosityBlock().

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

Definition at line 107 of file EDProducer.cc.

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

107  {
109  desc.setUnknown();
110  descriptions.addDefault(desc);
111  }
SerialTaskQueue* edm::EDProducer::globalLuminosityBlocksQueue ( )
inline

Definition at line 57 of file EDProducer.h.

References EnergyCorrector::c.

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

Definition at line 56 of file EDProducer.h.

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

Definition at line 102 of file EDProducer.h.

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

Definition at line 101 of file EDProducer.h.

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

Definition at line 49 of file EDProducer.h.

49 { return moduleDescription_; }
ModuleDescription moduleDescription_
Definition: EDProducer.h:107
void edm::EDProducer::preActionBeforeRunEventAsync ( WaitingTask iTask,
ModuleCallingContext const &  iModuleCallingContext,
Principal const &  iPrincipal 
) const
inlineprivate

Definition at line 63 of file EDProducer.h.

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

Definition at line 114 of file EDProducer.cc.

References edm::edmodule_mightGet_config(), edm::kBaseType(), and AlCaHLTBitMon_QueryRunRegistry::string.

114  {
115  edmodule_mightGet_config(iConfig);
116  }
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
virtual void edm::EDProducer::produce ( Event ,
EventSetup const &   
)
privatepure virtual
void edm::EDProducer::registerProductsAndCallbacks ( EDProducer module,
ProductRegistry reg 
)
inlineprivate

Definition at line 80 of file EDProducer.h.

80  {
82  }
void registerProducts(ProducerBase *, ProductRegistry *, ModuleDescription const &)
Definition: ProducerBase.cc:60
ModuleDescription moduleDescription_
Definition: EDProducer.h:107
Definition: vlib.h:208
virtual void edm::EDProducer::respondToCloseInputFile ( FileBlock const &  )
inlineprivatevirtual

Definition at line 99 of file EDProducer.h.

Referenced by doRespondToCloseInputFile().

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

Definition at line 98 of file EDProducer.h.

Referenced by doRespondToOpenInputFile().

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

Definition at line 104 of file EDProducer.h.

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

Definition at line 86 of file EDProducer.h.

86  {
87  return resourceAcquirer_;
88  }
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:109
static bool edm::EDProducer::wantsGlobalLuminosityBlocks ( )
inlinestatic

Definition at line 52 of file EDProducer.h.

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

Definition at line 51 of file EDProducer.h.

51 {return true;}
static bool edm::EDProducer::wantsStreamLuminosityBlocks ( )
inlinestatic

Definition at line 54 of file EDProducer.h.

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

Definition at line 53 of file EDProducer.h.

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

Definition at line 84 of file EDProducer.h.

84 {return "WorkerT<EDProducer>";}

Friends And Related Function Documentation

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

Definition at line 37 of file EDProducer.h.

template<typename T >
friend class WorkerT
friend

Definition at line 38 of file EDProducer.h.

Member Data Documentation

SerialTaskQueue edm::EDProducer::luminosityBlockQueue_
private

Definition at line 111 of file EDProducer.h.

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

Definition at line 108 of file EDProducer.h.

Referenced by doEvent().

ParentageID edm::EDProducer::previousParentageId_
private

Definition at line 112 of file EDProducer.h.

Referenced by doEvent().

SharedResourcesAcquirer edm::EDProducer::resourceAcquirer_
private

Definition at line 109 of file EDProducer.h.

Referenced by doBeginJob(), and doEvent().

SerialTaskQueue edm::EDProducer::runQueue_
private

Definition at line 110 of file EDProducer.h.