#include <EDProducer.h>
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 () | |
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) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 |
EDConsumerBase & | operator= (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 Attributes | |
ModuleDescription | moduleDescription_ |
std::vector< BranchID > | previousParentage_ |
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) |
Definition at line 35 of file EDProducer.h.
Definition at line 39 of file EDProducer.h.
edm::EDProducer::EDProducer | ( | ) |
Definition at line 19 of file EDProducer.cc.
References edm::SharedResourcesRegistry::instance(), edm::SharedResourcesRegistry::kLegacyModuleResourceName, and edm::SharedResourcesRegistry::registerSharedResource().
|
override |
Definition at line 28 of file EDProducer.cc.
|
static |
Definition at line 121 of file EDProducer.cc.
References edm::kBaseType().
|
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, 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, 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, L1TMuonEndCapTrackProducer, 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().
|
inlineprivatevirtual |
Reimplemented in gen::Pythia6Gun.
Definition at line 89 of file EDProducer.h.
Referenced by doBeginLuminosityBlock().
|
inlineprivatevirtual |
Reimplemented in AlCaHOCalibProducer, L1TStage1Layer2Producer, L1TStage2Layer1Producer, L1TCaloLayer1, l1t::BXVectorInputProducer, l1t::GenToInputProducer, L1TStage2Layer2Producer, LHE2HepMCConverter, l1t::FakeInputProducer, L1TMuonOverlapTrackProducer, gen::Pythia6Gun, Phase2Tracker::Phase2TrackerDigiProducer, TriggerCandProducer< object >, TriggerMatchProducer< object >, and cms::CkfDebugTrackCandidateMaker.
Definition at line 87 of file EDProducer.h.
Referenced by doBeginRun().
|
private |
Definition at line 45 of file EDProducer.cc.
References beginJob(), edm::SharedResourcesRegistry::createAcquirer(), edm::SharedResourcesRegistry::instance(), edm::SharedResourcesRegistry::kLegacyModuleResourceName, and resourceAcquirer_.
|
private |
Definition at line 77 of file EDProducer.cc.
References beginLuminosityBlock(), edm::ProducerBase::commit_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
private |
Definition at line 57 of file EDProducer.cc.
References beginRun(), edm::ProducerBase::commit_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
private |
Definition at line 52 of file EDProducer.cc.
References endJob().
|
private |
Definition at line 87 of file EDProducer.cc.
References edm::ProducerBase::commit_(), endLuminosityBlock(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
|
private |
Definition at line 67 of file EDProducer.cc.
References edm::ProducerBase::commit_(), endRun(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
|
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().
|
inlineprivate |
|
inlineprivate |
Definition at line 71 of file EDProducer.h.
|
private |
Definition at line 102 of file EDProducer.cc.
References respondToCloseInputFile().
|
private |
Definition at line 97 of file EDProducer.cc.
References respondToOpenInputFile().
|
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, 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, RecHitCorrector, TruthTauDecayModeProducer, ConfigurableAPVCyclePhaseProducer, L1Comparator, EventShapeVarsProducer, MaskedRctInputDigiProducer, BSCTrigger, CastorCellProducer, FromClusterSummaryMultiplicityProducer, L1DummyProducer, EventWithHistoryProducer, GctDigiToRaw, L1TMuonOverlapTrackProducer, TextToRaw, AlCaGammaJetProducer, AlCaDiJetsProducer, ECALRegFEDSelector, L1EmulBias, pat::GenPlusSimParticleProducer, NTuplingDevice, Onia2MuMuPAT, L1GctEmulator, WMuNuProducer, 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, L1TMuonEndCapTrackProducer, 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 85 of file EDProducer.h.
Referenced by doEndJob().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Reimplemented in L1TStage1Layer2Producer, L1TStage2Layer1Producer, l1t::BXVectorInputProducer, l1t::GenToInputProducer, L1TStage2Layer2Producer, l1t::FakeInputProducer, and gen::Pythia6Gun.
Definition at line 88 of file EDProducer.h.
Referenced by doEndRun().
|
static |
Definition at line 107 of file EDProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
inline |
|
inlineprivate |
Definition at line 56 of file EDProducer.h.
|
static |
Definition at line 114 of file EDProducer.cc.
References edm::edmodule_mightGet_config(), edm::kBaseType(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatepure virtual |
Implemented in L1TStage1Layer2Producer, l1t::BXVectorInputProducer, l1t::GenToInputProducer, l1t::FakeInputProducer, l1t::L1ComparatorRun2, edm::GenericSelectorByValueMap< T, C >, DTSpyReader, DTROS25FileReader, DTDDUFileReader, DTROS8FileReader, DTNewROS8FileReader, HLTHFRecoEcalCandidateProducer, and edm::EventAuxiliaryHistoryProducer.
Referenced by doEvent(), JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
inlineprivate |
Definition at line 73 of file EDProducer.h.
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivate |
Definition at line 94 of file EDProducer.h.
|
inlineprivate |
Definition at line 79 of file EDProducer.h.
|
inlineprivate |
Definition at line 77 of file EDProducer.h.
|
friend |
Definition at line 37 of file EDProducer.h.
|
friend |
Definition at line 38 of file EDProducer.h.
|
private |
Definition at line 97 of file EDProducer.h.
Referenced by doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), and doEvent().
|
private |
Definition at line 98 of file EDProducer.h.
Referenced by doEvent().
|
private |
Definition at line 100 of file EDProducer.h.
Referenced by doEvent().
|
private |
Definition at line 99 of file EDProducer.h.
Referenced by doBeginJob(), and doEvent().