#include "FWCore/Framework/interface/stream/EDProducerBase.h"
Public Types | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
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< 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 Member Functions | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | beginStream (StreamID) |
EDProducerBase (const EDProducerBase &)=delete | |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
virtual void | endStream () |
const EDProducerBase & | operator= (const EDProducerBase &)=delete |
virtual void | produce (Event &, EventSetup const &)=0 |
virtual void | registerThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &) |
void | setModuleDescriptionPtr (ModuleDescription const *iDesc) |
Private Attributes | |
ModuleDescription const * | moduleDescriptionPtr_ |
std::vector< BranchID > | previousParentage_ |
ParentageID | previousParentageId_ |
Friends | |
class | EDProducerAdaptorBase |
class | ProducingModuleAdaptorBase< EDProducerBase > |
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) |
Description: [one line class summary]
Usage: <usage>
Definition at line 41 of file EDProducerBase.h.
Definition at line 48 of file EDProducerBase.h.
EDProducerBase::EDProducerBase | ( | ) |
Definition at line 34 of file EDProducerBase.cc.
Referenced by moduleDescription().
|
virtual |
Definition at line 43 of file EDProducerBase.cc.
|
privatedelete |
|
static |
Definition at line 85 of file EDProducerBase.cc.
References edm::kBaseType().
|
inlineprivatevirtual |
Reimplemented in edm::DataMixingModule, edm::MixingModule, l1t::L1TDigiToRaw, l1t::L1TRawToDigi, PFBlockProducer, BetafuncEvtVtxGenerator, and GsfElectronFull5x5Filler.
Definition at line 68 of file EDProducerBase.h.
References produce().
|
inlineprivatevirtual |
Reimplemented in HBHEPhase1Reconstructor, AlCaIsoTracksProducer, ME0SegmentMatcher, CSCChamberMasker, DTChamberMasker, edm::DataMixingModule, RPCChamberMasker, AlCaHBHEMuonProducer, edm::MixingModule, l1t::L1TDigiToRaw, l1t::L1TRawToDigi, HcalHitReconstructor, CtfSpecialSeedGenerator, ElectronSeedProducer, GEDPhotonProducer, ME0ChamberMasker, ConversionTrackCandidateProducer, PhotonProducer, GEMChamberMasker, EgammaHLTElectronDetaDphiProducer, cms::CkfTrajectoryMaker, CastorRawToDigi, RPCTwinMuxRawToDigi, cms::CkfTrackCandidateMaker, ZdcHitReconstructor, RPCTwinMuxDigiToRaw, HcalSimpleReconstructor, FastTSGFromL2Muon, ZdcSimpleReconstructor, ParticleBasedIsoProducer, and HFEMClusterProducer.
Definition at line 67 of file EDProducerBase.h.
|
inlineprivatevirtual |
Reimplemented in edm::BMixingModule, L1TCaloLayer1RawToDigi, CTPPSRecHitProducer, ClusterSummaryProducer, DeepFlavourJetTagsProducer, CTPPSFastTrackingProducer, BoostedDoubleSVProducer, DeepCMVATagInfoProducer, CTPPSSimHitProducer, HIMultiTrackSelector, TemplatedDeepNNTagInfoProducer< IPTag, SVTag >, TrackingRecHitProducer, __class__< T >, HGCalElectronIDValueMapProducer, HGCalElectronFilter, HGCalPhotonIDValueMapProducer, MultiTrackSelector, TestBXVectorRefProducer, MuMuForEmbeddingSelector, __class__< T >, TrackMVAClassifierBase, FastTrackerRecHitCombiner, HiFJRhoProducer, and HiFJGridEmptyAreaCalculator.
Definition at line 66 of file EDProducerBase.h.
|
inlineprivatevirtual |
Reimplemented in edm::DataMixingModule, edm::MixingModule, l1t::L1TDigiToRaw, and l1t::L1TRawToDigi.
Definition at line 70 of file EDProducerBase.h.
|
inlineprivatevirtual |
Reimplemented in HBHEPhase1Reconstructor, AlCaIsoTracksProducer, RPCChamberMasker, AlCaHBHEMuonProducer, edm::MixingModule, l1t::L1TDigiToRaw, l1t::L1TRawToDigi, HcalHitReconstructor, CtfSpecialSeedGenerator, ElectronSeedProducer, GEDPhotonProducer, ME0ChamberMasker, PhotonProducer, GEMChamberMasker, ZdcHitReconstructor, HcalSimpleReconstructor, ZdcSimpleReconstructor, and ParticleBasedIsoProducer.
Definition at line 71 of file EDProducerBase.h.
|
inlineprivatevirtual |
Reimplemented in AlCaIsoTracksProducer, TriggerSummaryProducerAOD, edm::BMixingModule, L1TCaloLayer1RawToDigi, CTPPSRecHitProducer, DeepFlavourJetTagsProducer, CTPPSFastTrackingProducer, BoostedDoubleSVProducer, DeepCMVATagInfoProducer, CTPPSSimHitProducer, TemplatedDeepNNTagInfoProducer< IPTag, SVTag >, TrackingRecHitProducer, AlCaHBHEMuonProducer, __class__< T >, HGCalElectronIDValueMapProducer, HGCalElectronFilter, HGCalPhotonIDValueMapProducer, TestBXVectorRefProducer, MuMuForEmbeddingSelector, __class__< T >, TotemVFATRawToDigi, OniaPhotonConversionProducer, FastTrackerRecHitCombiner, HiFJRhoProducer, HiFJGridEmptyAreaCalculator, and Multi5x5SuperClusterProducer.
Definition at line 72 of file EDProducerBase.h.
|
static |
Definition at line 71 of file EDProducerBase.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
inline |
Definition at line 58 of file EDProducerBase.h.
References EDProducerBase(), moduleDescriptionPtr_, and operator=().
Referenced by pat::PATTriggerEventProducer::PATTriggerEventProducer(), pat::PATTriggerProducer::PATTriggerProducer(), edm::MixingModule::pileAllWorkers(), edm::DataMixingModule::pileWorker(), and edm::ThinningProducer< Collection, Selector >::registerThinnedAssociations().
|
privatedelete |
Referenced by moduleDescription().
|
static |
Definition at line 78 of file EDProducerBase.cc.
References edm::edmodule_mightGet_config(), edm::kBaseType(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatepure virtual |
Implemented in AlCaIsoTracksProducer, HLTJetsCleanedFromLeadingLeptons< JetType >, JetConstituentSelector< T, C >, HLTRechitsToDigis, JetCorrectorProducer< T >, RPCTwinMuxRawToDigi, SubsystemNeutronWriter, edm::ThinningProducer< Collection, Selector >, RPCTwinMuxDigiToRaw, HFRecoEcalCandidateProducer, HLTDQMMuonSelector, HFEMClusterProducer, and HLTDQMObjSelector< ObjType, ObjCollType >.
Referenced by beginLuminosityBlock(), JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), HTMLExport.HTMLExportStatic::export(), MaskedMeasurementTrackerEventProducer::~MaskedMeasurementTrackerEventProducer(), MeasurementTrackerEventProducer::~MeasurementTrackerEventProducer(), and PhotonConversionTrajectorySeedProducerFromSingleLeg::~PhotonConversionTrajectorySeedProducerFromSingleLeg().
|
inlineprivatevirtual |
Reimplemented in edm::ThinningProducer< Collection, Selector >.
Definition at line 74 of file EDProducerBase.h.
|
inlineprivate |
Definition at line 77 of file EDProducerBase.h.
References moduleDescriptionPtr_.
|
friend |
Definition at line 44 of file EDProducerBase.h.
|
friend |
Definition at line 45 of file EDProducerBase.h.
|
private |
Definition at line 83 of file EDProducerBase.h.
Referenced by moduleDescription(), and setModuleDescriptionPtr().
|
private |
Definition at line 81 of file EDProducerBase.h.
|
private |
Definition at line 82 of file EDProducerBase.h.