#include <ProductRegistryHelper.h>
Classes | |
struct | BranchAliasSetter |
struct | BranchAliasSetterT |
struct | has_donotrecordparents |
struct | TypeLabelItem |
Public Types | |
typedef std::vector< TypeLabelItem > | TypeLabelList |
Public Member Functions | |
virtual bool | hasAbilityToProduceInLumis () const |
virtual bool | hasAbilityToProduceInRuns () const |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
ProductRegistryHelper () | |
std::vector< bool > const & | recordProvenanceList () const |
TypeLabelList const & | typeLabelList () const |
used by the fwk to register the list of products of this module More... | |
virtual | ~ProductRegistryHelper () noexcept(false) |
Static Public Member Functions | |
static void | addToRegistry (TypeLabelList::const_iterator const &iBegin, TypeLabelList::const_iterator const &iEnd, ModuleDescription const &iDesc, ProductRegistry &iReg, ProductRegistryHelper *iProd, bool iIsListener=false) |
Private Attributes | |
std::vector< bool > | recordProvenanceList_ |
TypeLabelList | typeLabelList_ |
Definition at line 23 of file ProductRegistryHelper.h.
typedef std::vector<TypeLabelItem> edm::ProductRegistryHelper::TypeLabelList |
Definition at line 86 of file ProductRegistryHelper.h.
|
virtualnoexcept |
Definition at line 18 of file ProductRegistryHelper.cc.
|
inline |
Definition at line 26 of file ProductRegistryHelper.h.
|
static |
Definition at line 34 of file ProductRegistryHelper.cc.
References edm::ProductRegistry::addProduct(), edm::BeginLuminosityBlock, edm::BeginRun, revisionDML::branchType(), edm::checkClassDictionaries(), edm::checkDictionary(), edm::checkDictionaryOfWrappedType(), edm::convertToBranchType(), edm::EndLuminosityBlock, edm::EndRun, mps_splice::entry, Exception, hasAbilityToProduceInLumis(), hasAbilityToProduceInRuns(), edm::InEvent, edm::isEndTransition(), edm::ProductRegistryHelper::TypeLabelItem::kSwitchAlias, edm::errors::LogicError, edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), AlCaHLTBitMon_ParallelJobs::p, edm::ModuleDescription::parameterSetID(), edm::ModuleDescription::processName(), edm::setIsMergeable(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::throwMissingDictionariesException().
Referenced by recordProvenanceList(), edm::ProducerBase::registerProducts(), and edm::ProducerBase::registrationCallback().
|
inlinevirtual |
Reimplemented in edm::stream::EDFilter< T >, edm::stream::EDFilter< edm::GlobalCache< AlCaIsoTracks::Counters > >, edm::stream::EDFilter< edm::GlobalCache< AlCaHEMuons::Counters > >, edm::stream::EDFilter< edm::GlobalCache< prescale::Efficiency > >, edm::stream::EDFilter< edm::GlobalCache< PythiaFilterIsoTracks::Counters > >, edm::stream::EDFilter<>, edm::stream::EDFilter< edm::GlobalCache< AlCaIsoTracksProdFilter::Counters > >, edm::stream::EDFilter< edm::GlobalCache< trigger::Efficiency > >, edm::stream::EDFilter< edm::GlobalCache< AlCaHBHEMuons::Counters > >, edm::stream::EDFilter< edm::GlobalCache< AlCaIsolatedBunch::Counters > >, edm::stream::EDFilter< edm::GlobalCache< AlCaLowPUHBHEMuons::Counters > >, edm::stream::EDFilter< edm::GlobalCache< AlCaGammaJet::Counters > >, edm::limited::EDFilter< T >, edm::limited::EDProducer< T >, edm::global::EDFilter< T >, edm::global::EDFilter< edm::RunCache< leef::RunErrors >, edm::LuminosityBlockCache< LumiErrors >, edm::EndLuminosityBlockProducer >, edm::global::EDFilter<>, edm::global::EDFilter< edm::StreamCache< externalgen::StreamCache >, edm::RunCache< externalgen::RunCache >, edm::EndRunProducer, edm::LuminosityBlockCache< externalgen::LumiCache >, edm::LuminosityBlockSummaryCache< GenLumiInfoProduct >, edm::BeginLuminosityBlockProducer, edm::EndLuminosityBlockProducer >, edm::global::EDFilter< EndRunProducer, BeginLuminosityBlockProducer, EndLuminosityBlockProducer, RunCache< gen::RunCache >, LuminosityBlockSummaryCache< gen::LumiSummary >, StreamCache< gen::StreamCache< HAD, DEC > > >, edm::global::EDFilter< EndRunProducer, BeginLuminosityBlockProducer, EndLuminosityBlockProducer, RunCache< gen::GenRunCache >, LuminosityBlockSummaryCache< gen::GenLumiSummary >, StreamCache< gen::GenStreamCache< HAD, DEC > > >, edm::global::EDProducer< T >, edm::one::EDProducer< T >, edm::global::EDProducer< edm::BeginLuminosityBlockProducer >, edm::global::EDProducer<>, edm::global::EDProducer< edm::BeginRunProducer >, edm::global::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< Sums > >, edm::global::EDProducer< edm::LuminosityBlockCache< pr::Cache > >, edm::global::EDProducer< edm::EndLuminosityBlockProducer >, edm::global::EDProducer< edm::StreamCache< CSCTriggerPrimitivesBuilder > >, edm::global::EDProducer< edm::StreamCache< LumiCacheInfoHolder >, edm::RunCache< DynamicWeightChoice >, edm::RunSummaryCache< CounterMap >, edm::EndRunProducer >, edm::global::EDProducer< edm::RunCache< ConvertParticle > >, edm::global::EDProducer< edm::RunCache< IDto3Charge > >, edm::global::EDProducer< edm::ExternalWork >, edm::global::EDProducer< edm::RunCache< GEMROMapping > >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::BeginLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer<>, edm::one::EDProducer< edm::BeginRunProducer >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::RunCache< meedm::Void >, edm::LuminosityBlockCache< meedm::Void >, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndRunProducer, edm::one::WatchRuns, T... >, edm::one::EDProducer< edm::RunCache< edm::ConditionsInRunBlock >, edm::LuminosityBlockCache< edm::ConditionsInLumiBlock >, edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchRuns >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::EndRunProducer >, edm::one::EDProducer< edm::one::SharedResources >, edm::one::EDFilter< T >, edm::one::EDFilter<>, edm::one::EDFilter< EndRunProducer, BeginLuminosityBlockProducer, EndLuminosityBlockProducer, one::WatchRuns, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDFilter< EndRunProducer, BeginLuminosityBlockProducer, EndLuminosityBlockProducer, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDFilter< edm::one::WatchLuminosityBlocks >, edm::one::EDFilter< edm::one::SharedResources >, and edm::PuttableSourceBase.
Definition at line 168 of file ProductRegistryHelper.h.
Referenced by addToRegistry().
|
inlinevirtual |
Reimplemented in edm::stream::EDFilter< T >, edm::stream::EDFilter< edm::GlobalCache< AlCaIsoTracks::Counters > >, edm::stream::EDFilter< edm::GlobalCache< AlCaHEMuons::Counters > >, edm::stream::EDFilter< edm::GlobalCache< prescale::Efficiency > >, edm::stream::EDFilter< edm::GlobalCache< PythiaFilterIsoTracks::Counters > >, edm::stream::EDFilter<>, edm::stream::EDFilter< edm::GlobalCache< AlCaIsoTracksProdFilter::Counters > >, edm::stream::EDFilter< edm::GlobalCache< trigger::Efficiency > >, edm::stream::EDFilter< edm::GlobalCache< AlCaHBHEMuons::Counters > >, edm::stream::EDFilter< edm::GlobalCache< AlCaIsolatedBunch::Counters > >, edm::stream::EDFilter< edm::GlobalCache< AlCaLowPUHBHEMuons::Counters > >, edm::stream::EDFilter< edm::GlobalCache< AlCaGammaJet::Counters > >, edm::limited::EDFilter< T >, edm::limited::EDProducer< T >, edm::global::EDFilter< T >, edm::global::EDFilter< edm::RunCache< leef::RunErrors >, edm::LuminosityBlockCache< LumiErrors >, edm::EndLuminosityBlockProducer >, edm::global::EDFilter<>, edm::global::EDFilter< edm::StreamCache< externalgen::StreamCache >, edm::RunCache< externalgen::RunCache >, edm::EndRunProducer, edm::LuminosityBlockCache< externalgen::LumiCache >, edm::LuminosityBlockSummaryCache< GenLumiInfoProduct >, edm::BeginLuminosityBlockProducer, edm::EndLuminosityBlockProducer >, edm::global::EDFilter< EndRunProducer, BeginLuminosityBlockProducer, EndLuminosityBlockProducer, RunCache< gen::RunCache >, LuminosityBlockSummaryCache< gen::LumiSummary >, StreamCache< gen::StreamCache< HAD, DEC > > >, edm::global::EDFilter< EndRunProducer, BeginLuminosityBlockProducer, EndLuminosityBlockProducer, RunCache< gen::GenRunCache >, LuminosityBlockSummaryCache< gen::GenLumiSummary >, StreamCache< gen::GenStreamCache< HAD, DEC > > >, edm::global::EDProducer< T >, edm::one::EDProducer< T >, edm::global::EDProducer< edm::BeginLuminosityBlockProducer >, edm::global::EDProducer<>, edm::global::EDProducer< edm::BeginRunProducer >, edm::global::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< Sums > >, edm::global::EDProducer< edm::LuminosityBlockCache< pr::Cache > >, edm::global::EDProducer< edm::EndLuminosityBlockProducer >, edm::global::EDProducer< edm::StreamCache< CSCTriggerPrimitivesBuilder > >, edm::global::EDProducer< edm::StreamCache< LumiCacheInfoHolder >, edm::RunCache< DynamicWeightChoice >, edm::RunSummaryCache< CounterMap >, edm::EndRunProducer >, edm::global::EDProducer< edm::RunCache< ConvertParticle > >, edm::global::EDProducer< edm::RunCache< IDto3Charge > >, edm::global::EDProducer< edm::ExternalWork >, edm::global::EDProducer< edm::RunCache< GEMROMapping > >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::BeginLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer<>, edm::one::EDProducer< edm::BeginRunProducer >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::RunCache< meedm::Void >, edm::LuminosityBlockCache< meedm::Void >, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndRunProducer, edm::one::WatchRuns, T... >, edm::one::EDProducer< edm::RunCache< edm::ConditionsInRunBlock >, edm::LuminosityBlockCache< edm::ConditionsInLumiBlock >, edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchRuns >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::EndRunProducer >, edm::one::EDProducer< edm::one::SharedResources >, edm::one::EDFilter< T >, edm::one::EDFilter<>, edm::one::EDFilter< EndRunProducer, BeginLuminosityBlockProducer, EndLuminosityBlockProducer, one::WatchRuns, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDFilter< EndRunProducer, BeginLuminosityBlockProducer, EndLuminosityBlockProducer, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDFilter< edm::one::WatchLuminosityBlocks >, edm::one::EDFilter< edm::one::SharedResources >, and edm::PuttableSourceBase.
Definition at line 166 of file ProductRegistryHelper.h.
Referenced by addToRegistry().
|
inline |
declare what type of product will make and with which optional label
the statement
should be added to the producer ctor for every product
Definition at line 108 of file ProductRegistryHelper.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CaloTruthAccumulator::CaloTruthAccumulator(), CastorDigiProducer::CastorDigiProducer(), EcalDigiProducer::EcalDigiProducer(), EcalTBDigiProducer::EcalTBDigiProducer(), EcalTimeDigiProducer::EcalTimeDigiProducer(), FTLDigitizerBase::FTLDigitizerBase(), HcalDigiProducer::HcalDigiProducer(), HcalTBDigiProducer::HcalTBDigiProducer(), HGCDigiProducer::HGCDigiProducer(), MTDDigitizerBase::MTDDigitizerBase(), pat::PATPackedCandidateProducer::PATPackedCandidateProducer(), cms::Phase2TrackerDigitizer::Phase2TrackerDigitizer(), PhotonIDValueMapProducer::PhotonIDValueMapProducer(), cms::PileupVertexAccumulator::PileupVertexAccumulator(), PreMixingCaloParticleWorker::PreMixingCaloParticleWorker(), edm::PreMixingCrossingFrameWorker< T >::PreMixingCrossingFrameWorker(), PreMixingDigiSimLinkWorker< DigiSimLinkCollection >::PreMixingDigiSimLinkWorker(), PreMixingEcalWorker::PreMixingEcalWorker(), PreMixingHcalWorker::PreMixingHcalWorker(), PreMixingHGCalWorker::PreMixingHGCalWorker(), PreMixingMuonWorker< DigiCollection >::PreMixingMuonWorker(), edm::PreMixingPileupCopy::PreMixingPileupCopy(), PreMixingSiPixelWorker::PreMixingSiPixelWorker(), PreMixingSiStripWorker::PreMixingSiStripWorker(), PreMixingTrackingParticleWorker::PreMixingTrackingParticleWorker(), hitTripletEDProducerT::ImplSeedingHitSets::produces(), hitTripletEDProducerT::ImplIntermediateHitTriplets::produces(), RecoTrackAccumulator::RecoTrackAccumulator(), VariableNTupler::registerleaves(), StringBasedNTupler::registerleaves(), fastsim::TrackerSimHitProducer::registerProducts(), cms::SiPixelDigitizer::SiPixelDigitizer(), SiStripDigitizer::SiStripDigitizer(), edm::SwitchProducer::SwitchProducer(), and TrackingTruthAccumulator::TrackingTruthAccumulator().
|
inline |
|
inline |
Definition at line 118 of file ProductRegistryHelper.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 123 of file ProductRegistryHelper.h.
References TtFullHadDaughter::B, edm::InEvent, and eostools::move().
|
inline |
Definition at line 130 of file ProductRegistryHelper.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 135 of file ProductRegistryHelper.h.
References TtFullHadDaughter::B, edm::Event, and eostools::move().
|
inline |
Definition at line 141 of file ProductRegistryHelper.h.
References triggerObjects_cff::id, MuonErrorMatrixAdjuster_cfi::instanceName, and eostools::move().
|
inline |
Definition at line 148 of file ProductRegistryHelper.h.
References TtFullHadDaughter::B, edm::convertToTransition(), edm::InEvent, MuonErrorMatrixAdjuster_cfi::instanceName, eostools::move(), recordProvenanceList_, and typeLabelList_.
|
inline |
Definition at line 157 of file ProductRegistryHelper.h.
References TtFullHadDaughter::B, edm::Event, MuonErrorMatrixAdjuster_cfi::instanceName, eostools::move(), recordProvenanceList_, and typeLabelList_.
|
inline |
Definition at line 91 of file ProductRegistryHelper.h.
References addToRegistry(), and recordProvenanceList_.
Referenced by edm::PrincipalGetAdapter::recordProvenanceList().
ProductRegistryHelper::TypeLabelList const & edm::ProductRegistryHelper::typeLabelList | ( | ) | const |
used by the fwk to register the list of products of this module
Definition at line 20 of file ProductRegistryHelper.cc.
References Exception, edm::errors::LogicError, AlCaHLTBitMon_QueryRunRegistry::string, and typeLabelList_.
Referenced by edm::PrincipalGetAdapter::getPutTokenIndex(), edm::PrincipalGetAdapter::getTypeIDForPutTokenIndex(), edm::PrincipalGetAdapter::productInstanceLabel(), edm::ProducerBase::registerProducts(), edm::ProducerBase::registrationCallback(), and edm::ProducerBase::resolvePutIndicies().
|
private |
Definition at line 172 of file ProductRegistryHelper.h.
Referenced by produces(), and recordProvenanceList().
|
private |
Definition at line 171 of file ProductRegistryHelper.h.
Referenced by produces(), and typeLabelList().