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 CalibratedElectronProducer CalibratedPatElectronProducer 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 L1TBMTFConverter L1TCaloLayer1 L1TMicroGMTInputProducer L1TMicroGMTInputProducerFromGen L1TMuonAssignedInternalTrackProducer L1TMuonCaloSumProducer L1TMuonEndCapTrackProducer L1TMuonOverlapTrackProducer L1TMuonProducer L1TMuonQualityAdjuster L1TMuonTriggerPrimitiveProducer L1TStage1Layer2Producer L1TStage2Layer1Producer L1TStage2Layer2Producer L1TTwinMuxRawToDigi 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 RecHitCorrector 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 Timer 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 VZeroProducer WeakEffectsWeightProducer WMuNuProducer ZMuMuMuonUserData ZMuMuTrackUserData ZMuMuUserData ZMuMuUserDataOneTrack ZToLLEdmNtupleDumper

Public Types

typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- 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 ()
 
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel)
 
virtual ~ProducerBase () noexcept(false)
 
- 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
 
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)
 

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 &)
 
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

ModuleDescription moduleDescription_
 
std::vector< BranchIDpreviousParentage_
 
ParentageID previousParentageId_
 
SharedResourcesAcquirer resourceAcquirer_
 

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:100
std::vector< BranchID > previousParentage_
Definition: EDProducer.h:98
static SharedResourcesRegistry * instance()
ModuleDescription moduleDescription_
Definition: EDProducer.h:97
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 ( )
virtual

Definition at line 28 of file EDProducer.cc.

28 { }

Member Function Documentation

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

Definition at line 120 of file EDProducer.cc.

References edm::kBaseType().

120  {
121  return kBaseType;
122  }
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, L1TMuonProducer, L1TStage2Layer2Producer, L1TMuonEndCapTrackProducer, FFTJetPileupProcessor, APVCyclePhaseProducerFromL1ABC, l1t::AMC13DumpToRaw, l1t::AMCDumpToRaw, JetPlusTrackProducerAA, L1GTDigiToRaw, L1TMicroGMTInputProducerFromGen, reco::CentralityProducer, FFTJetEFlowSmoother, HiL1Subtractor, MultiplicityProducer< T >, L1GTEvmDigiToRaw, L1TMuonCaloSumProducer, RctInputTextToDigi, PatJPsiProducer, CastorClusterProducer, EcalDigiToRaw, l1t::L1TCaloRCTToUpgradeConverter, l1t::FakeInputProducer, L1TMicroGMTInputProducer, MuonSeedTrack, FFTJetPileupEstimator, CaloTowersMerger, MuonErrorMatrixAdjuster, MuonSegmentProducer, L1TBMTFConverter, MuScleFitMuonProducer, FFTJetPFPileupCleaner, FFTJetVertexAdder, RecHitCorrector, TruthTauDecayModeProducer, ConfigurableAPVCyclePhaseProducer, EventShapeVarsProducer, L1GtTextToRaw, L1Comparator, BSCTrigger, CastorCellProducer, FromClusterSummaryMultiplicityProducer, gen::Pythia6Gun, EventWithHistoryProducer, GctDigiToRaw, L1DummyProducer, L1TMuonOverlapTrackProducer, TextToRaw, AlCaGammaJetProducer, cms::HitReCalibrator, AlCaDiJetsProducer, ECALRegFEDSelector, NTuplingDevice, WMuNuProducer, Onia2MuMuPAT, L1GctEmulator, L1EmulBias, L1TMuonQualityAdjuster, LaserAlignmentT0Producer, TagProbeMassProducer, cms::ClusterizerFP420, MatchedProbeMaker< T >, PFMET, cms::TrackerizerFP420, EcalDCCTB07UnpackingModule, SiStripRegFEDSelector, EcalDCCTBUnpackingModule, ESListOfFEDSProducer, EcalListOfFEDSProducer, SubdetFEDSelector, L1GctInternJetProducer, HLTDisplacedmumumuVtxProducer, 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 84 of file EDProducer.h.

Referenced by doBeginJob().

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

Reimplemented in L1TMuonProducer, and gen::Pythia6Gun.

Definition at line 89 of file EDProducer.h.

Referenced by doBeginLuminosityBlock().

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

Definition at line 44 of file EDProducer.cc.

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

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

Definition at line 76 of file EDProducer.cc.

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

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

Definition at line 56 of file EDProducer.cc.

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

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

Definition at line 51 of file EDProducer.cc.

References endJob().

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

Definition at line 86 of file EDProducer.cc.

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

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

Definition at line 66 of file EDProducer.cc.

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

67  {
68  Run r(rp, moduleDescription_, mcc);
69  r.setConsumer(this);
70  Run const& cnstR = r;
71  this->endRun(cnstR, c);
72  commit_(r);
73  }
ModuleDescription moduleDescription_
Definition: EDProducer.h:97
virtual void endRun(Run const &, EventSetup const &)
Definition: EDProducer.h:88
void commit_(P &iPrincipal)
Definition: ProducerBase.h:92
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(), and edm::Event::setSharedResourcesAcquirer().

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

Definition at line 58 of file EDProducer.h.

References benchmark_cfg::fb.

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

Definition at line 71 of file EDProducer.h.

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

Definition at line 101 of file EDProducer.cc.

References respondToCloseInputFile().

101  {
103  }
virtual void respondToCloseInputFile(FileBlock const &)
Definition: EDProducer.h:92
void edm::EDProducer::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 96 of file EDProducer.cc.

References respondToOpenInputFile().

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

Reimplemented in AlCaHOCalibProducer, GlobalRecHitsProducer, SimHitShifter, GlobalDigisProducer, FFTJetProducer, FFTJetCorrectionProducer, RPCSeedGenerator, L1GTDigiToRaw, BoostedTopProducer, NuclearTrackCorrector, GenTtbarCategorizer, GlobalHitsProducer, L1GTEvmDigiToRaw, L1TStage1Layer2Producer, RPCTechnicalTrigger, FFTJetPatRecoProducer, L1TStage2Layer1Producer, CSCOverlapsTrackPreparation, TrackerToMuonPropagator, l1t::BXVectorInputProducer, l1t::GenToInputProducer, L1TCaloLayer1, JetIdSelector< T >, l1t::MP7BufferDumpToRaw, L1TMuonProducer, L1TStage2Layer2Producer, APVCyclePhaseProducerFromL1ABC, L1TMuonEndCapTrackProducer, ObjectViewCleaner< T >, FFTJetPileupProcessor, L1GtTextToRaw, l1t::AMC13DumpToRaw, l1t::AMCDumpToRaw, JetPlusTrackProducerAA, L1TMicroGMTInputProducerFromGen, reco::CentralityProducer, MuonSeedTrack, ObjectViewMatcher< T1, T2 >, FFTJetEFlowSmoother, HiL1Subtractor, CastorClusterProducer, MultiplicityProducer< T >, L1TMuonCaloSumProducer, RctInputTextToDigi, PatJPsiProducer, EcalDigiToRaw, l1t::L1TCaloRCTToUpgradeConverter, L1TMicroGMTInputProducer, l1t::FakeInputProducer, FFTJetPileupEstimator, CaloTowersMerger, MuonErrorMatrixAdjuster, MuonSegmentProducer, L1TBMTFConverter, MuScleFitMuonProducer, FFTJetPFPileupCleaner, FFTJetVertexAdder, RecHitCorrector, TruthTauDecayModeProducer, ConfigurableAPVCyclePhaseProducer, L1Comparator, EventShapeVarsProducer, MaskedRctInputDigiProducer, BSCTrigger, CastorCellProducer, FromClusterSummaryMultiplicityProducer, L1DummyProducer, EventWithHistoryProducer, GctDigiToRaw, L1TMuonOverlapTrackProducer, TextToRaw, AlCaGammaJetProducer, AlCaDiJetsProducer, ECALRegFEDSelector, L1EmulBias, pat::GenPlusSimParticleProducer, NTuplingDevice, Onia2MuMuPAT, L1GctEmulator, WMuNuProducer, L1TMuonQualityAdjuster, LaserAlignmentT0Producer, TagProbeMassProducer, L1RCTTPGProvider, MatchedProbeMaker< T >, EcalDCCTB07UnpackingModule, GtPsbTextToDigi, EcalDCCTBUnpackingModule, SiStripRegFEDSelector, ESListOfFEDSProducer, SubdetFEDSelector, L1GctInternJetProducer, HLTDisplacedmumumuVtxProducer, 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, TtSemiLepJetCombWMassDeltaTopMass, cms::CkfDebugTrackCandidateMaker, DistortedMETProducer, MFProducer, TtSemiLepJetCombGeom, TtSemiLepJetCombWMassMaxSumPt, TtSemiLepJetCombMaxSumPtWMass, HcalLaserEventFiltProducer2012, edm::EventAuxiliaryHistoryProducer, and WeakEffectsWeightProducer.

Definition at line 85 of file EDProducer.h.

Referenced by doEndJob().

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

Reimplemented in L1TMuonProducer.

Definition at line 90 of file EDProducer.h.

Referenced by doEndLuminosityBlock().

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

Definition at line 106 of file EDProducer.cc.

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

106  {
108  desc.setUnknown();
109  descriptions.addDefault(desc);
110  }
ModuleDescription const& edm::EDProducer::moduleDescription ( ) const
inline

Definition at line 49 of file EDProducer.h.

References EnergyCorrector::c.

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

Definition at line 56 of file EDProducer.h.

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

Definition at line 113 of file EDProducer.cc.

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

113  {
114  edmodule_mightGet_config(iConfig);
115  }
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 73 of file EDProducer.h.

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

Definition at line 92 of file EDProducer.h.

Referenced by doRespondToCloseInputFile().

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

Definition at line 91 of file EDProducer.h.

Referenced by doRespondToOpenInputFile().

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

Definition at line 94 of file EDProducer.h.

94  {
95  moduleDescription_ = md;
96  }
ModuleDescription moduleDescription_
Definition: EDProducer.h:97
SharedResourcesAcquirer& edm::EDProducer::sharedResourcesAcquirer ( )
inlineprivate

Definition at line 79 of file EDProducer.h.

79  {
80  return resourceAcquirer_;
81  }
SharedResourcesAcquirer resourceAcquirer_
Definition: EDProducer.h:99
std::string edm::EDProducer::workerType ( ) const
inlineprivate

Definition at line 77 of file EDProducer.h.

77 {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

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

Definition at line 98 of file EDProducer.h.

Referenced by doEvent().

ParentageID edm::EDProducer::previousParentageId_
private

Definition at line 100 of file EDProducer.h.

Referenced by doEvent().

SharedResourcesAcquirer edm::EDProducer::resourceAcquirer_
private

Definition at line 99 of file EDProducer.h.

Referenced by doBeginJob(), and doEvent().