CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::stream::EDProducerBase Class Referenceabstract

#include "FWCore/Framework/interface/stream/EDProducerBase.h"

Inheritance diagram for edm::stream::EDProducerBase:
edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper edm::stream::EDProducer< T > edm::stream::EDProducer<> BeamSpotProducer BtoCharmDecayVertexMerger CaloMuonProducer CandIsoDepositProducer CandIsolatorFromDeposits CastorJetIDProducer CastorRawToDigi CastorSimpleReconstructor CastorTowerProducer ClusterSummaryProducer cms::CaloMETProducer cms::CkfTrackCandidateMaker cms::CkfTrajectoryMaker cms::MuonMET cms::MuonMETValueMapProducer cms::MuonTCMETValueMapProducer cms::PFMETProducer cms::TCMETProducer cms::TrackListMerger ConversionProducer ConversionTrackCandidateProducer ConversionTrackMerger ConversionTrackProducer ConvertedPhotonProducer ConvertObjectMapRecord CorrectedECALPFClusterProducer CosmicMuonProducer CosmicMuonSeedGenerator CSCDCCUnpacker CSCRecHitDProducer CSCTFUnpacker CtfSpecialSeedGenerator DeDxDiscriminatorProducer DeDxEstimatorProducer DTRecHitProducer DTRecSegment2DProducer DTRecSegment4DProducer DTSegment4DT0Corrector DTTFFEDReader EcalCompactTrigPrimProducer EcalDetIdToBeRecoveredProducer EcalDigiSelector EcalRawToDigi EcalRecHitProducer EcalTPSkimmer EcalTrigPrimProducer edm::FwdPtrProducer< T, H > EgammaEcalRecHitIsolationProducer EgammaElectronTkIsolationProducer EgammaSCCorrectionMaker EgammaTowerIsolationProducer ElectronIDExternalProducer< algo > ElectronIDValueMapProducer ElectronSeedMerger EleIsoDetIdCollectionProducer ESRawToDigi FixedGridRhoProducer FixedGridRhoProducerFastjet GamIsoDetIdCollectionProducer GctRawToDigi GEDGsfElectronFinalizer GEDPhotonCoreProducer GEDPhotonProducer GlobalCosmicMuonProducer GlobalMuonProducer GlobalTrackQualityProducer GsfElectronBaseProducer GsfElectronCoreBaseProducer GsfElectronFull5x5Filler HFEMClusterProducer HFRecoEcalCandidateProducer HybridClusterProducer InclusiveVertexFinder InterestingDetIdCollectionProducer InterestingEcalDetIdProducer InterestingTrackEcalDetIdProducer JetExtender JetIDProducer JetPlusTrackProducer JetTracksAssociatorAtCaloFace JetTracksAssociatorAtVertex JetTracksAssociatorExplicit L1ExtraParticlesProd L1GlobalTriggerEvmRawToDigi L1GlobalTriggerRawToDigi L1GlobalTriggerRecordProducer MeasurementTrackerEventProducer MuIsoDepositCopyProducer MuIsoDepositProducer Multi5x5ClusterProducer Multi5x5SuperClusterProducer MuonIdProducer MuonProducer MuonReSeeder MuonSeedGenerator MuonSeedMerger MuonSeedProducer MuonSelectionTypeValueMapProducer MuonTimingProducer OutsideInMuonSeeder ParticleBasedIsoProducer PFBlockProducer PFCandIsolatorFromDeposits PFClusterProducer PFClusterSelector PFConcretePFCandidateProducer PFConversionProducer PFDisplacedTrackerVertexProducer PFDisplacedVertexCandidateProducer PFDisplacedVertexProducer PFECALSuperClusterProducer PFEGammaProducer PFElectronTranslator PFLinker PFNuclearProducer PFPhotonTranslator PFPileUp PFProducer PFRecoTauChargedHadronProducer PFTrackProducer PFV0Producer PhotonConversionTrajectorySeedProducerFromSingleLeg PhotonCoreProducer PhotonIDProducer PhotonProducer PixelTrackProducer PixelVertexCollectionTrimmer PreshowerClusterShapeProducer PreshowerPhiClusterProducer PrimaryVertexProducer reco::BeamHaloSummaryProducer reco::CSCHaloDataProducer reco::EcalHaloDataProducer reco::GlobalHaloDataProducer reco::HcalHaloDataProducer reco::modules::CosmicTrackSelector reco::modules::DuplicateListMerger reco::modules::DuplicateTrackMerger reco::modules::MultiTrackSelector RecoTauJetRegionProducer RecoTauPiZeroProducer RecoTauPiZeroUnembedder RecoTauProducer ReducedESRecHitCollectionProducer ReducedRecHitCollectionProducer RPCRecHitProducer RPCUnpackingModule ScalersRawToDigi SecondaryVertexProducer SeedClusterRemover SeedCombiner SeedGeneratorFromRegionHitsEDProducer SeedingLayersEDProducer SiPixelClusterShapeCacheProducer SiPixelRawToDigi SiStripClusterizer SiStripClusterizerFromRaw SiStripClusterToDigiProducer SiStripElectronAssociator SiStripElectronProducer SiStripZeroSuppression SoftLepton SoftPFElectronTagInfoProducer SoftPFMuonTagInfoProducer StandAloneMuonProducer TevMuonProducer TrackClusterRemover TrackExtrapolator TrackIPProducer TrackProducer TrackProducerWithSCAssociation TrackVertexArbitrator TrajectorySeedFromMuonProducer UnifiedSCCollectionProducer V0Producer VersionedIdProducer< PhysicsObjectPtr, SelectorType > VertexMerger

Public Types

typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 

Public Member Functions

 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

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 EDProducerBaseoperator= (const EDProducerBase &)=delete
 
virtual void produce (Event &, EventSetup const &)=0
 
void setModuleDescriptionPtr (ModuleDescription const *iDesc)
 

Private Attributes

ModuleDescription const * moduleDescriptionPtr_
 
std::vector< BranchIDpreviousParentage_
 
ParentageID previousParentageId_
 

Friends

class EDProducerAdaptorBase
 
class ProducingModuleAdaptorBase< EDProducerBase >
 

Additional Inherited Members

- Protected Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- 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

Description: [one line class summary]

Usage: <usage>

Definition at line 38 of file EDProducerBase.h.

Member Typedef Documentation

Definition at line 45 of file EDProducerBase.h.

Constructor & Destructor Documentation

EDProducerBase::EDProducerBase ( )

Definition at line 34 of file EDProducerBase.cc.

34  : moduleDescriptionPtr_(nullptr)
35 {
36 }
ModuleDescription const * moduleDescriptionPtr_
EDProducerBase::~EDProducerBase ( )
virtual

Definition at line 43 of file EDProducerBase.cc.

44 {
45 }
edm::stream::EDProducerBase::EDProducerBase ( const EDProducerBase )
privatedelete

Member Function Documentation

const std::string & EDProducerBase::baseType ( )
static

Definition at line 85 of file EDProducerBase.cc.

References edm::kBaseType().

85  {
86  return kBaseType;
87 }
static const std::string kBaseType("EDAnalyzer")
virtual void edm::stream::EDProducerBase::beginLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
inlineprivatevirtual

Reimplemented in PFBlockProducer, PFECALSuperClusterProducer, PFClusterProducer, and GsfElectronFull5x5Filler.

Definition at line 65 of file EDProducerBase.h.

65 {}
virtual void edm::stream::EDProducerBase::beginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineprivatevirtual
virtual void edm::stream::EDProducerBase::beginStream ( StreamID  )
inlineprivatevirtual

Reimplemented in ClusterSummaryProducer.

Definition at line 63 of file EDProducerBase.h.

63 {}
virtual void edm::stream::EDProducerBase::endLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
inlineprivatevirtual

Definition at line 67 of file EDProducerBase.h.

67 {}
virtual void edm::stream::EDProducerBase::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineprivatevirtual
virtual void edm::stream::EDProducerBase::endStream ( )
inlineprivatevirtual

Reimplemented in DeDxDiscriminatorProducer, and Multi5x5SuperClusterProducer.

Definition at line 69 of file EDProducerBase.h.

69 {}
void EDProducerBase::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 71 of file EDProducerBase.cc.

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

71  {
73  desc.setUnknown();
74  descriptions.addDefault(desc);
75 }
ModuleDescription const& edm::stream::EDProducerBase::moduleDescription ( ) const
inline

Definition at line 55 of file EDProducerBase.h.

References moduleDescriptionPtr_.

55  {
56  return *moduleDescriptionPtr_;
57  }
ModuleDescription const * moduleDescriptionPtr_
const EDProducerBase& edm::stream::EDProducerBase::operator= ( const EDProducerBase )
privatedelete
void EDProducerBase::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 78 of file EDProducerBase.cc.

References edm::edmodule_mightGet_config().

78  {
79  edmodule_mightGet_config(iConfig);
80 }
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
virtual void edm::stream::EDProducerBase::produce ( Event ,
EventSetup const &   
)
privatepure virtual

Implemented in SiStripClusterizerFromRaw, reco::GlobalHaloDataProducer, reco::CSCHaloDataProducer, reco::EcalHaloDataProducer, SoftLepton, reco::HcalHaloDataProducer, ConversionProducer, MuonIdProducer, ClusterSummaryProducer, CorrectedECALPFClusterProducer, SecondaryVertexProducer, reco::BeamHaloSummaryProducer, PFPhotonTranslator, TrackExtrapolator, L1GlobalTriggerRawToDigi, PFRecoTauChargedHadronProducer, PrimaryVertexProducer, SiPixelClusterShapeCacheProducer, L1GlobalTriggerEvmRawToDigi, CastorTowerProducer, MuonProducer, PFBlockProducer, DeDxDiscriminatorProducer, ConversionTrackProducer, PFEGammaProducer, InterestingTrackEcalDetIdProducer, GctRawToDigi, RPCRecHitProducer, RecoTauProducer, InterestingDetIdCollectionProducer, CtfSpecialSeedGenerator, EcalRawToDigi, JetIDProducer, TrajectorySeedFromMuonProducer, GEDPhotonProducer, cms::MuonTCMETValueMapProducer, TevMuonProducer, reco::modules::AnalyticalTrackSelector, reco::modules::DuplicateListMerger, TrackVertexArbitrator, PFECALSuperClusterProducer, MuonTimingProducer, reco::modules::MultiTrackSelector, OutsideInMuonSeeder, L1GlobalTriggerRecordProducer, SiStripElectronAssociator, CastorJetIDProducer, PixelVertexCollectionTrimmer, V0Producer, L1ExtraParticlesProd, JetPlusTrackProducer, cms::CaloMETProducer, cms::PFMETProducer, PFProducer, RecoTauPiZeroProducer, GamIsoDetIdCollectionProducer, ConversionTrackCandidateProducer, PhotonProducer, cms::MuonMETValueMapProducer, reco::modules::CosmicTrackSelector, PFPileUp, cms::CkfTrajectoryMaker, reco::modules::DuplicateTrackMerger, ScalersRawToDigi, SoftPFMuonTagInfoProducer, DTRecSegment2DProducer, DTTFFEDReader, EgammaSCCorrectionMaker, ConvertedPhotonProducer, GlobalMuonProducer, DeDxEstimatorProducer, CSCTFUnpacker, SeedClusterRemover, TrackClusterRemover, cms::TrackListMerger, EcalTrigPrimProducer, ReducedRecHitCollectionProducer, SiStripElectronProducer, EleIsoDetIdCollectionProducer, PFLinker, EgammaEcalRecHitIsolationProducer, EgammaTowerIsolationProducer, cms::TCMETProducer, PFTrackProducer, RecoTauJetRegionProducer, SoftPFElectronTagInfoProducer, cms::CkfTrackCandidateMaker, ConversionTrackMerger, CosmicMuonSeedGenerator, edm::FwdPtrProducer< T, H >, PhotonCoreProducer, MuonSeedProducer, InclusiveVertexFinder, SiPixelRawToDigi, CSCRecHitDProducer, StandAloneMuonProducer, MuonReSeeder, ConvertObjectMapRecord, EcalDetIdToBeRecoveredProducer, SiStripClusterToDigiProducer, CastorRawToDigi, GlobalTrackQualityProducer, PFDisplacedVertexCandidateProducer, PFCandIsolatorFromDeposits, CandIsolatorFromDeposits, Multi5x5ClusterProducer, DTRecHitProducer, cms::MuonMET, BeamSpotProducer, RPCUnpackingModule, ElectronIDValueMapProducer, DTRecSegment4DProducer, DTSegment4DT0Corrector, MuonSeedGenerator, MuonSeedMerger, PFClusterProducer, PFDisplacedVertexProducer, VersionedIdProducer< PhysicsObjectPtr, SelectorType >, PreshowerClusterShapeProducer, PreshowerPhiClusterProducer, ReducedESRecHitCollectionProducer, EcalRecHitProducer, MuonSelectionTypeValueMapProducer, GEDPhotonCoreProducer, RecoTauPiZeroUnembedder, ElectronIDExternalProducer< algo >, CaloMuonProducer, PFElectronTranslator, HybridClusterProducer, Multi5x5SuperClusterProducer, PFConversionProducer, PFV0Producer, CandIsoDepositProducer, BtoCharmDecayVertexMerger, EcalDigiSelector, HFRecoEcalCandidateProducer, ParticleBasedIsoProducer, EcalTPSkimmer, MuIsoDepositCopyProducer, CSCDCCUnpacker, JetTracksAssociatorAtCaloFace, GlobalCosmicMuonProducer, PFNuclearProducer, PFDisplacedTrackerVertexProducer, EgammaElectronTkIsolationProducer, TrackProducerWithSCAssociation, PFClusterSelector, JetExtender, JetTracksAssociatorAtVertex, JetTracksAssociatorExplicit, MuIsoDepositProducer, PhotonIDProducer, TrackProducer, UnifiedSCCollectionProducer, GEDGsfElectronFinalizer, EcalCompactTrigPrimProducer, SiStripZeroSuppression, PFConcretePFCandidateProducer, ESRawToDigi, GsfElectronFull5x5Filler, CosmicMuonProducer, VertexMerger, TrackIPProducer, ElectronSeedMerger, SeedGeneratorFromRegionHitsEDProducer, FixedGridRhoProducerFastjet, PixelTrackProducer, PhotonConversionTrajectorySeedProducerFromSingleLeg, MeasurementTrackerEventProducer, SeedCombiner, HFEMClusterProducer, CastorSimpleReconstructor, SiStripClusterizer, SeedingLayersEDProducer, GEDGsfElectronProducer, GsfElectronCoreProducer, InterestingEcalDetIdProducer, GEDGsfElectronCoreProducer, FixedGridRhoProducer, GsfElectronCoreEcalDrivenProducer, GsfElectronEcalDrivenProducer, and GsfElectronProducer.

Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().

void edm::stream::EDProducerBase::setModuleDescriptionPtr ( ModuleDescription const *  iDesc)
inlineprivate

Definition at line 71 of file EDProducerBase.h.

References moduleDescriptionPtr_.

71  {
72  moduleDescriptionPtr_ = iDesc;
73  }
ModuleDescription const * moduleDescriptionPtr_

Friends And Related Function Documentation

friend class EDProducerAdaptorBase
friend

Definition at line 41 of file EDProducerBase.h.

Definition at line 42 of file EDProducerBase.h.

Member Data Documentation

ModuleDescription const* edm::stream::EDProducerBase::moduleDescriptionPtr_
private

Definition at line 77 of file EDProducerBase.h.

Referenced by moduleDescription(), and setModuleDescriptionPtr().

std::vector<BranchID> edm::stream::EDProducerBase::previousParentage_
private

Definition at line 75 of file EDProducerBase.h.

ParentageID edm::stream::EDProducerBase::previousParentageId_
private

Definition at line 76 of file EDProducerBase.h.