#include <EDConsumerBase.h>
Classes | |
struct | ESTokenLookupInfo |
struct | LabelPlacement |
struct | TokenLookupInfo |
Public Types | |
typedef ProductLabels | Labels |
Protected Member Functions | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Private Types | |
enum | { kLookupInfo, kAlwaysGets, kLabels, kKind } |
enum | { kESLookupInfo, kESProxyIndex } |
Private Member Functions | |
edm::InputTag const & | checkIfEmpty (edm::InputTag const &tag) |
const char * | labelFor (ESTokenIndex) const |
unsigned int | recordConsumes (BranchType iBranch, TypeToGet const &iType, edm::InputTag const &iTag, bool iAlwaysGets) |
ESTokenIndex | recordESConsumes (Transition, eventsetup::EventSetupRecordKey const &, eventsetup::heterocontainer::HCTypeTag const &, edm::ESInputTag const &iTag) |
virtual void | registerLateConsumes (eventsetup::ESRecordsToProxyIndices const &) |
void | throwBadToken (edm::TypeID const &iType, EDGetToken iToken) const |
void | throwBranchMismatch (BranchType, EDGetToken) const |
void | throwConsumesCallAfterFrozen (TypeToGet const &, InputTag const &) const |
void | throwESConsumesCallAfterFrozen (eventsetup::EventSetupRecordKey const &, eventsetup::heterocontainer::HCTypeTag const &, edm::ESInputTag const &) const |
void | throwESConsumesInProcessBlock () const |
void | throwTypeMismatch (edm::TypeID const &, EDGetToken) const |
Private Attributes | |
bool | containsCurrentProcessAlias_ |
std::array< std::vector< ESProxyIndex >, static_cast< unsigned int >edm::Transition::NumberOfEventSetupTransitions)> | esItemsToGetFromTransition_ |
std::array< std::vector< ESRecordIndex >, static_cast< unsigned int >edm::Transition::NumberOfEventSetupTransitions)> | esRecordsToGetFromTransition_ |
bool | frozen_ |
std::array< std::vector< ProductResolverIndexAndSkipBit >, edm::NumBranchTypes > | itemsToGetFromBranch_ |
edm::SoATuple< ESTokenLookupInfo, ESProxyIndex > | m_esTokenInfo |
edm::SoATuple< TokenLookupInfo, bool, LabelPlacement, edm::KindOfType > | m_tokenInfo |
std::vector< char > | m_tokenLabels |
Friends | |
class | ConsumesCollector |
template<BranchType B> | |
class | EDConsumerBaseAdaptor |
template<Transition Tr> | |
class | EDConsumerBaseESAdaptor |
template<Transition Tr> | |
class | EDConsumerBaseWithTagESAdaptor |
template<typename T > | |
class | WillGetIfMatch |
Description: Allows declaration of what data is being consumed
Usage: The EDM modules all inherit from this base class
Definition at line 71 of file EDConsumerBase.h.
Definition at line 106 of file EDConsumerBase.h.
|
private |
|
private |
EDConsumerBase::EDConsumerBase | ( | ) |
Definition at line 39 of file EDConsumerBase.cc.
|
virtualnoexcept |
Definition at line 42 of file EDConsumerBase.cc.
|
delete |
|
default |
|
private |
Definition at line 54 of file EDConsumerBase.cc.
References kWasEmpty, and edm::InputTag::label().
Referenced by consumes(), and mayConsume().
|
inlineprotected |
Definition at line 165 of file EDConsumerBase.h.
References checkIfEmpty(), edm::InEvent, recordConsumes(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineprotected |
Definition at line 155 of file EDConsumerBase.h.
References TtFullHadDaughter::B, checkIfEmpty(), recordConsumes(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by AlCaECALRecHitReducer::AlCaECALRecHitReducer(), pat::CandidateSummaryTable::CandidateSummaryTable(), CrossingFramePSimHitToPSimHitsConverter::CrossingFramePSimHitToPSimHitsConverter(), EgammaEcalRecHitIsolationProducer::EgammaEcalRecHitIsolationProducer(), EgammaElectronTkIsolationProducer::EgammaElectronTkIsolationProducer(), EgammaIsoDetIdCollectionProducer< T1 >::EgammaIsoDetIdCollectionProducer(), EgammaIsoESDetIdCollectionProducer::EgammaIsoESDetIdCollectionProducer(), EgammaPhotonTkIsolationProducer::EgammaPhotonTkIsolationProducer(), EgammaPhotonTkNumIsolationProducer::EgammaPhotonTkNumIsolationProducer(), edm::EventContentAnalyzer::EventContentAnalyzer(), EcalDQMonitorTask::formSchedule(), edm::GenericConsumer::GenericConsumer(), HGCalValidator::HGCalValidator(), HLTMuonIsoFilter::HLTMuonIsoFilter(), HLTMuonPFIsoFilter::HLTMuonPFIsoFilter(), JetCollectionReducerT< T >::JetCollectionReducerT(), edm::SubProcess::keepThisBranch(), edm::one::OutputModuleBase::keepThisBranch(), edm::global::OutputModuleBase::keepThisBranch(), edm::limited::OutputModuleBase::keepThisBranch(), L1TPFCandMultiMerger::L1TPFCandMultiMerger(), MultiplicityCorrelator::MultiplicityCorrelator(), MultiTrackValidator::MultiTrackValidator(), pat::PATPackedCandidateProducer::PATPackedCandidateProducer(), ShiftedParticleMETcorrInputProducer::ShiftedParticleMETcorrInputProducer(), SiStripMonitorDigi::SiStripMonitorDigi(), edm::SwitchProducer::SwitchProducer(), and TrackingParticleNumberOfLayersProducer::TrackingParticleNumberOfLayersProducer().
|
inlineprotectednoexcept |
Definition at line 161 of file EDConsumerBase.h.
References eostools::move(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineprotected |
Definition at line 170 of file EDConsumerBase.h.
References TtFullHadDaughter::B, checkIfEmpty(), recordConsumes(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
protected |
Use a ConsumesCollector to gather consumes information from helper functions.
Definition at line 47 of file EDConsumerBase.cc.
References c.
Referenced by AlcaBeamMonitor::AlcaBeamMonitor(), AlcaBeamSpotProducer::AlcaBeamSpotProducer(), IsolatedParticlesGeneratedJets::analyze(), OverlapValidation::analyze(), BeamMonitor::BeamMonitor(), BeamMonitorBx::BeamMonitorBx(), BeamSpotAnalyzer::BeamSpotAnalyzer(), CaloParticleDebugger::CaloParticleDebugger(), ConfigurableAnalysis::ConfigurableAnalysis(), CosmicSplitterValidation::CosmicSplitterValidation(), CSCMonitorModule::CSCMonitorModule(), edm::global::OutputModuleBase::doPreallocate(), edm::limited::OutputModuleBase::doPreallocate(), edm::one::OutputModuleBase::doPreallocate(), DTResidualCalibration::DTResidualCalibration(), DTTrigTest::DTTrigTest(), DTTTrigOffsetCalibration::DTTTrigOffsetCalibration(), DTVDriftSegmentCalibration::DTVDriftSegmentCalibration(), EcalCosmicsHists::EcalCosmicsHists(), EcalDQMonitorTask::EcalDQMonitorTask(), EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation(), EDMtoMEConverter::EDMtoMEConverter(), EgammaHLTClusterShapeProducer::EgammaHLTClusterShapeProducer(), EgammaHLTR9IDProducer::EgammaHLTR9IDProducer(), EGEnergyAnalyzer::EGEnergyAnalyzer(), ElectronIdMVAProducer::ElectronIdMVAProducer(), ElectronMVANtuplizer::ElectronMVANtuplizer(), EopTreeWriter::EopTreeWriter(), EventWithHistoryEDFilter::EventWithHistoryEDFilter(), edm::FilterWrapper< T >::FilterWrapper(), HcalIsoTrkAnalyzer::HcalIsoTrkAnalyzer(), HGCalTriggerNtupleManager::HGCalTriggerNtupleManager(), HLTBitAnalyzer::HLTBitAnalyzer(), HLTExoticaValidator::HLTExoticaValidator(), HLTMuonIsoFilter::HLTMuonIsoFilter(), cms::CkfDebugTrackCandidateMaker::initDebugger(), IsolatedTracksCone::IsolatedTracksCone(), IsolatedTracksNxN::IsolatedTracksNxN(), L1EventTreeProducer::L1EventTreeProducer(), L1MuGlobalMuonTrigger::L1MuGlobalMuonTrigger(), LogMessageMonitor::LogMessageMonitor(), pat::helper::ManyThingsToValueMaps< Adaptor, Collection, value_type >::ManyThingsToValueMaps(), MomentumConstraintProducer::MomentumConstraintProducer(), MultiplicityCorrelator::MultiplicityCorrelator(), MultiplicityInvestigator::MultiplicityInvestigator(), MultiplicityTimeCorrelations::MultiplicityTimeCorrelations(), MuPFIsoEmbedder::MuPFIsoEmbedder(), OMTFPatternMaker::OMTFPatternMaker(), edm::global::OutputModuleBase::OutputModuleBase(), edm::limited::OutputModuleBase::OutputModuleBase(), edm::one::OutputModuleBase::OutputModuleBase(), OverlapValidation::OverlapValidation(), edm::PathStatusFilter::PathStatusFilter(), PhotonIDValueMapProducer::PhotonIDValueMapProducer(), PhotonMVANtuplizer::PhotonMVANtuplizer(), PlottingDevice::PlottingDevice(), QuickTrackAssociatorByHitsProducer::QuickTrackAssociatorByHitsProducer(), ResidualRefitting::ResidualRefitting(), SingleTopTChannelLeptonDQM::SingleTopTChannelLeptonDQM(), SingleTopTChannelLeptonDQM_miniAOD::SingleTopTChannelLeptonDQM_miniAOD(), SiPixelStatusHarvester::SiPixelStatusHarvester(), SiStripAnalyser::SiStripAnalyser(), SiStripDCSFilter::SiStripDCSFilter(), SiStripFineDelayHit::SiStripFineDelayHit(), SiStripMonitorCondDataOnDemandExample::SiStripMonitorCondDataOnDemandExample(), SiStripMonitorDigi::SiStripMonitorDigi(), edm::SubProcess::SubProcess(), TagProbeFitTreeProducer::TagProbeFitTreeProducer(), TopDiLeptonOfflineDQM::TopDiLeptonOfflineDQM(), TopSingleLeptonDQM::TopSingleLeptonDQM(), TopSingleLeptonDQM_miniAOD::TopSingleLeptonDQM_miniAOD(), TtDilepEvtSolutionMaker::TtDilepEvtSolutionMaker(), TtSemiEvtSolutionMaker::TtSemiEvtSolutionMaker(), and ValidIsoTrkCalib::ValidIsoTrkCalib().
std::vector< ConsumesInfo > EDConsumerBase::consumesInfo | ( | ) | const |
Definition at line 616 of file EDConsumerBase.cc.
References kAlwaysGets, kKind, kLabels, kLookupInfo, m_tokenInfo, m_tokenLabels, and mps_fire::result.
|
inlineprotected |
Definition at line 188 of file EDConsumerBase.h.
|
inlineprotected |
Definition at line 193 of file EDConsumerBase.h.
|
inlineprotected |
Definition at line 196 of file EDConsumerBase.h.
References TtFullHadDaughter::B, and recordConsumes().
void EDConsumerBase::convertCurrentProcessAlias | ( | std::string const & | processName | ) |
Convert "@currentProcess" in InputTag process names to the actual current process name.
Definition at line 570 of file EDConsumerBase.cc.
References containsCurrentProcessAlias_, frozen_, edm::InputTag::kCurrentProcess, kLabels, m_tokenInfo, m_tokenLabels, eostools::move(), SimL1EmulatorRepack_CalouGT_cff::processName, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprotected |
Definition at line 202 of file EDConsumerBase.h.
Referenced by EgammaHLTBcHcalIsolationProducersRegional::EgammaHLTBcHcalIsolationProducersRegional(), HLTScoutingEgammaProducer::HLTScoutingEgammaProducer(), SiStripCommissioningSource::SiStripCommissioningSource(), SiStripFineDelayHit::SiStripFineDelayHit(), SiStripGainRandomCalculator::SiStripGainRandomCalculator(), SiStripGainsPCLWorker::SiStripGainsPCLWorker(), SiStripMonitorDigi::SiStripMonitorDigi(), and ValidIsoTrkCalib::ValidIsoTrkCalib().
|
inlineconstexprprotectednoexcept |
Definition at line 219 of file EDConsumerBase.h.
|
inlineprotected |
Definition at line 207 of file EDConsumerBase.h.
References labelFor(), edm::eventsetup::EventSetupRecordKey::makeKey(), recordESConsumes(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineprotectednoexcept |
Definition at line 224 of file EDConsumerBase.h.
References eostools::move(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineprotected |
Used with EventSetupRecord::doGet.
Definition at line 230 of file EDConsumerBase.h.
References edm::eventsetup::DataKey::name(), recordESConsumes(), edm::eventsetup::EventSetupRecordKey::type(), edm::eventsetup::DataKey::type(), and edm::eventsetup::SimpleStringTag::value().
|
inline |
Definition at line 120 of file EDConsumerBase.h.
References esItemsToGetFromTransition_, edm::NumberOfEventSetupTransitions, and findQualityFiles::v.
Referenced by edm::EDLooperBase::beginOfJob(), edm::global::EDFilterBase::doAcquire(), edm::global::EDProducerBase::doAcquire(), edm::EDAnalyzer::doBeginLuminosityBlock(), edm::EDProducer::doBeginLuminosityBlock(), edm::EDFilter::doBeginLuminosityBlock(), edm::one::EDFilterBase::doBeginLuminosityBlock(), edm::one::EDProducerBase::doBeginLuminosityBlock(), edm::one::EDAnalyzerBase::doBeginLuminosityBlock(), edm::EDLooperBase::doBeginLuminosityBlock(), edm::global::EDAnalyzerBase::doBeginLuminosityBlock(), edm::global::EDProducerBase::doBeginLuminosityBlock(), edm::limited::EDProducerBase::doBeginLuminosityBlock(), edm::global::EDFilterBase::doBeginLuminosityBlock(), edm::limited::EDFilterBase::doBeginLuminosityBlock(), edm::limited::EDAnalyzerBase::doBeginLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doBeginLuminosityBlock(), edm::EDAnalyzer::doBeginRun(), edm::EDProducer::doBeginRun(), edm::EDFilter::doBeginRun(), edm::one::EDFilterBase::doBeginRun(), edm::one::EDProducerBase::doBeginRun(), edm::one::EDAnalyzerBase::doBeginRun(), edm::EDLooperBase::doBeginRun(), edm::global::EDAnalyzerBase::doBeginRun(), edm::global::EDProducerBase::doBeginRun(), edm::limited::EDProducerBase::doBeginRun(), edm::global::EDFilterBase::doBeginRun(), edm::limited::EDFilterBase::doBeginRun(), edm::limited::EDAnalyzerBase::doBeginRun(), edm::stream::EDAnalyzerAdaptor< T >::doBeginRun(), edm::EDLooperBase::doDuringLoop(), edm::EDAnalyzer::doEndLuminosityBlock(), edm::EDProducer::doEndLuminosityBlock(), edm::EDFilter::doEndLuminosityBlock(), edm::one::EDFilterBase::doEndLuminosityBlock(), edm::one::EDProducerBase::doEndLuminosityBlock(), edm::one::EDAnalyzerBase::doEndLuminosityBlock(), edm::EDLooperBase::doEndLuminosityBlock(), edm::global::EDAnalyzerBase::doEndLuminosityBlock(), edm::global::EDProducerBase::doEndLuminosityBlock(), edm::limited::EDProducerBase::doEndLuminosityBlock(), edm::limited::EDFilterBase::doEndLuminosityBlock(), edm::global::EDFilterBase::doEndLuminosityBlock(), edm::limited::EDAnalyzerBase::doEndLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doEndLuminosityBlock(), edm::EDLooperBase::doEndOfLoop(), edm::EDAnalyzer::doEndRun(), edm::EDProducer::doEndRun(), edm::EDFilter::doEndRun(), edm::one::EDFilterBase::doEndRun(), edm::one::EDProducerBase::doEndRun(), edm::one::EDAnalyzerBase::doEndRun(), edm::EDLooperBase::doEndRun(), edm::global::EDAnalyzerBase::doEndRun(), edm::global::EDProducerBase::doEndRun(), edm::limited::EDProducerBase::doEndRun(), edm::global::EDFilterBase::doEndRun(), edm::limited::EDFilterBase::doEndRun(), edm::limited::EDAnalyzerBase::doEndRun(), edm::stream::EDAnalyzerAdaptor< T >::doEndRun(), edm::EDAnalyzer::doEvent(), edm::EDProducer::doEvent(), edm::EDFilter::doEvent(), edm::global::EDFilterBase::doEvent(), edm::one::EDFilterBase::doEvent(), edm::one::EDProducerBase::doEvent(), edm::global::EDAnalyzerBase::doEvent(), edm::one::EDAnalyzerBase::doEvent(), edm::global::EDProducerBase::doEvent(), edm::limited::EDFilterBase::doEvent(), edm::limited::EDAnalyzerBase::doEvent(), edm::limited::EDProducerBase::doEvent(), edm::global::EDAnalyzerBase::doStreamBeginLuminosityBlock(), edm::global::EDProducerBase::doStreamBeginLuminosityBlock(), edm::limited::EDProducerBase::doStreamBeginLuminosityBlock(), edm::limited::EDFilterBase::doStreamBeginLuminosityBlock(), edm::global::EDFilterBase::doStreamBeginLuminosityBlock(), edm::limited::EDAnalyzerBase::doStreamBeginLuminosityBlock(), edm::global::EDAnalyzerBase::doStreamBeginRun(), edm::global::EDProducerBase::doStreamBeginRun(), edm::limited::EDProducerBase::doStreamBeginRun(), edm::global::EDFilterBase::doStreamBeginRun(), edm::limited::EDFilterBase::doStreamBeginRun(), edm::limited::EDAnalyzerBase::doStreamBeginRun(), edm::global::EDAnalyzerBase::doStreamEndLuminosityBlock(), edm::global::EDProducerBase::doStreamEndLuminosityBlock(), edm::limited::EDProducerBase::doStreamEndLuminosityBlock(), edm::global::EDFilterBase::doStreamEndLuminosityBlock(), edm::limited::EDFilterBase::doStreamEndLuminosityBlock(), edm::limited::EDAnalyzerBase::doStreamEndLuminosityBlock(), edm::global::EDAnalyzerBase::doStreamEndRun(), edm::global::EDProducerBase::doStreamEndRun(), edm::limited::EDProducerBase::doStreamEndRun(), edm::limited::EDFilterBase::doStreamEndRun(), edm::global::EDFilterBase::doStreamEndRun(), and edm::limited::EDAnalyzerBase::doStreamEndRun().
|
inline |
Definition at line 131 of file EDConsumerBase.h.
References cms::cuda::assert(), esItemsToGetFromTransition_, and edm::NumberOfEventSetupTransitions.
|
inline |
Definition at line 136 of file EDConsumerBase.h.
References cms::cuda::assert(), esRecordsToGetFromTransition_, and edm::NumberOfEventSetupTransitions.
ProductResolverIndexAndSkipBit EDConsumerBase::indexFrom | ( | EDGetToken | iToken, |
BranchType | iBranch, | ||
TypeID const & | iType | ||
) | const |
Definition at line 251 of file EDConsumerBase.cc.
References edm::EDGetToken::index(), info(), kLookupInfo, LIKELY, m_tokenInfo, edm::ProductResolverIndexInvalid, throwBadToken(), throwBranchMismatch(), throwTypeMismatch(), and UNLIKELY.
Referenced by edm::PrincipalGetAdapter::getByToken_().
void EDConsumerBase::itemsMayGet | ( | BranchType | iBranch, |
std::vector< ProductResolverIndexAndSkipBit > & | oIndices | ||
) | const |
Definition at line 306 of file EDConsumerBase.cc.
References submitPVResolutionJobs::count, kAlwaysGets, kLookupInfo, m_tokenInfo, and edm::ProductResolverIndexInvalid.
Referenced by updateLookup().
void EDConsumerBase::itemsToGet | ( | BranchType | iBranch, |
std::vector< ProductResolverIndexAndSkipBit > & | oIndices | ||
) | const |
Definition at line 274 of file EDConsumerBase.cc.
References submitPVResolutionJobs::count, kAlwaysGets, kLookupInfo, m_tokenInfo, and edm::ProductResolverIndexInvalid.
Referenced by updateLookup().
|
inline |
Definition at line 91 of file EDConsumerBase.h.
References itemsToGetFromBranch_.
Referenced by edm::PrincipalGetAdapter::numberOfProductsConsumed().
|
private |
Definition at line 654 of file EDConsumerBase.cc.
References kESLookupInfo, m_esTokenInfo, and edm::ESTokenIndex::value().
Referenced by esConsumes().
void EDConsumerBase::labelsForToken | ( | EDGetToken | iToken, |
Labels & | oLabels | ||
) | const |
Definition at line 338 of file EDConsumerBase.cc.
References edm::EDGetToken::index(), kLabels, SummaryClient_cfi::labels, m_tokenInfo, m_tokenLabels, edm::ProductLabels::module, edm::ProductLabels::process, edm::ProductLabels::productInstance, and command_line::start.
Referenced by AlCaElectronsTest::analyze(), EnergyScaleAnalyzer::analyze(), HLTScalers::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), HLTVertexPerformanceAnalyzer::dqmBeginRun(), HLTBTagPerformanceAnalyzer::dqmBeginRun(), TriggerBxMonitor::dqmBeginRun(), TriggerRatesMonitor::dqmBeginRun(), TrackingNtuple::fillSeeds(), TrackingNtuple::fillTracks(), EcalSimpleUncalibRecHitFilter::filter(), EcalMIPRecHitFilter::filter(), HLTBTagPerformanceAnalyzer::HLTBTagPerformanceAnalyzer(), HLTVertexPerformanceAnalyzer::HLTVertexPerformanceAnalyzer(), edm::PrincipalGetAdapter::labelsForToken(), edm::PrincipalGetAdapter::makeFailToGetException(), MultiTrackValidator::MultiTrackValidator(), HIPixelTrackFilterProducer::produce(), HIProtoTrackFilterProducer::produce(), and edm::PrincipalGetAdapter::throwAmbiguousException().
|
inlineprotected |
|
inlineprotected |
Definition at line 183 of file EDConsumerBase.h.
References TtFullHadDaughter::B, checkIfEmpty(), recordConsumes(), and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineprotected |
Definition at line 175 of file EDConsumerBase.h.
References TtFullHadDaughter::B, checkIfEmpty(), recordConsumes(), and GlobalPosition_Frontier_DevDB_cff::tag.
void EDConsumerBase::modulesWhoseProductsAreConsumed | ( | std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > & | modulesAll, |
std::vector< ModuleProcessName > & | modulesInPreviousProcesses, | ||
ProductRegistry const & | preg, | ||
std::map< std::string, ModuleDescription const * > const & | labelsToDesc, | ||
std::string const & | processName | ||
) | const |
Definition at line 471 of file EDConsumerBase.cc.
References dqmiolumiharvest::j, kKind, kLabels, kLookupInfo, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, m_tokenInfo, m_tokenLabels, oniaPATMuonsWithTrigger_cff::matches, LogMessageMonitor_cff::modules, LaserDQM_cfg::process, SimL1EmulatorRepack_CalouGT_cff::processName, edm::ProductRegistry::productLookup(), and edm::ProductResolverIndexInvalid.
|
default |
|
delete |
|
private |
Definition at line 61 of file EDConsumerBase.cc.
References containsCurrentProcessAlias_, frozen_, edm::InputTag::instance(), edm::InputTag::kCurrentProcess, edm::TypeToGet::kind(), edm::InputTag::label(), visualization-live-secondInstance_cfg::m, m_tokenInfo, m_tokenLabels, edm::InputTag::process(), edm::ProductResolverIndexInvalid, AlCaHLTBitMon_QueryRunRegistry::string, throwConsumesCallAfterFrozen(), edm::TypeToGet::type(), and edm::InputTag::willSkipCurrentProcess().
Referenced by consumes(), consumesMany(), and mayConsume().
|
private |
Definition at line 213 of file EDConsumerBase.cc.
References edm::ESInputTag::data(), esItemsToGetFromTransition_, esRecordsToGetFromTransition_, frozen_, visualization-live-secondInstance_cfg::m, m_esTokenInfo, m_tokenLabels, edm::ESInputTag::module(), edm::NumberOfEventSetupTransitions, AlCaHLTBitMon_QueryRunRegistry::string, throwESConsumesCallAfterFrozen(), and throwESConsumesInProcessBlock().
Referenced by esConsumes().
bool EDConsumerBase::registeredToConsume | ( | ProductResolverIndex | iIndex, |
bool | skipCurrentProcess, | ||
BranchType | iBranch | ||
) | const |
Definition at line 347 of file EDConsumerBase.cc.
References kLookupInfo, and m_tokenInfo.
bool EDConsumerBase::registeredToConsumeMany | ( | TypeID const & | iType, |
BranchType | iBranch | ||
) | const |
Definition at line 359 of file EDConsumerBase.cc.
References kLookupInfo, m_tokenInfo, and edm::ProductResolverIndexInvalid.
|
inlineprivatevirtual |
Reimplemented in edm::EventSetupRecordDataGetter.
Definition at line 237 of file EDConsumerBase.h.
Referenced by updateLookup().
|
private |
Definition at line 383 of file EDConsumerBase.cc.
References edm::TypeID::className(), Exception, edm::EDGetToken::index(), and edm::EDGetToken::isUninitialized().
Referenced by indexFrom().
|
private |
Definition at line 376 of file EDConsumerBase.cc.
References edm::BranchTypeToString(), Exception, edm::EDGetToken::index(), kLookupInfo, and m_tokenInfo.
Referenced by indexFrom().
|
private |
Definition at line 396 of file EDConsumerBase.cc.
References Exception, SimL1EmulatorRepack_Full_cff::inputTag, and edm::TypeToGet::type().
Referenced by recordConsumes().
|
private |
Definition at line 403 of file EDConsumerBase.cc.
References Exception, edm::eventsetup::heterocontainer::HCTypeTag::name(), and edm::eventsetup::EventSetupRecordKey::type().
Referenced by recordESConsumes().
|
private |
Definition at line 413 of file EDConsumerBase.cc.
References Exception.
Referenced by recordESConsumes().
|
private |
Definition at line 370 of file EDConsumerBase.cc.
References edm::TypeID::className(), Exception, edm::EDGetToken::index(), kLookupInfo, and m_tokenInfo.
Referenced by indexFrom().
ProductResolverIndexAndSkipBit EDConsumerBase::uncheckedIndexFrom | ( | EDGetToken | iToken | ) | const |
Definition at line 270 of file EDConsumerBase.cc.
References edm::EDGetToken::index(), kLookupInfo, and m_tokenInfo.
Referenced by edm::global::OutputModuleBase::productsUsedBySelection(), edm::limited::OutputModuleBase::productsUsedBySelection(), and edm::one::OutputModuleBase::productsUsedBySelection().
void EDConsumerBase::updateLookup | ( | BranchType | iBranchType, |
ProductResolverIndexHelper const & | iHelper, | ||
bool | iPrefetchMayGet | ||
) |
Definition at line 112 of file EDConsumerBase.cc.
References cms::cuda::assert(), containsCurrentProcessAlias_, frozen_, mps_fire::i, edm::ProductResolverIndexHelper::index(), info(), itemsMayGet(), itemsToGet(), itemsToGetFromBranch_, dqmiolumiharvest::j, kAlwaysGets, CalibrationSummaryClient_cfi::kind, kKind, kLabels, kLookupInfo, SummaryClient_cfi::labels, m_tokenInfo, m_tokenLabels, oniaPATMuonsWithTrigger_cff::matches, HerwigMaxPtPartonFilter_cfi::moduleLabel, edm::ProductResolverIndexInvalid, and edm::ProductResolverIndexHelper::relatedIndexes().
Referenced by edm::SubProcess::beginJob().
void EDConsumerBase::updateLookup | ( | eventsetup::ESRecordsToProxyIndices const & | iPI | ) |
Definition at line 171 of file EDConsumerBase.cc.
References edm::eventsetup::ESRecordsToProxyIndices::component(), esItemsToGetFromTransition_, esRecordsToGetFromTransition_, frozen_, edm::eventsetup::ESRecordsToProxyIndices::indexInRecord(), mps_monitormerge::items, kESLookupInfo, kESProxyIndex, m_esTokenInfo, m_tokenLabels, edm::eventsetup::ESRecordsToProxyIndices::missingProxyIndex(), edm::eventsetup::ESRecordsToProxyIndices::recordIndexFor(), and registerLateConsumes().
|
friend |
Definition at line 142 of file EDConsumerBase.h.
|
friend |
Definition at line 148 of file EDConsumerBase.h.
|
friend |
Definition at line 144 of file EDConsumerBase.h.
|
friend |
Definition at line 146 of file EDConsumerBase.h.
|
friend |
Definition at line 150 of file EDConsumerBase.h.
|
private |
Definition at line 310 of file EDConsumerBase.h.
Referenced by convertCurrentProcessAlias(), recordConsumes(), and updateLookup().
|
private |
Definition at line 306 of file EDConsumerBase.h.
Referenced by esGetTokenIndices(), esGetTokenIndicesVector(), recordESConsumes(), and updateLookup().
|
private |
Definition at line 308 of file EDConsumerBase.h.
Referenced by esGetTokenRecordIndicesVector(), recordESConsumes(), and updateLookup().
|
private |
Definition at line 309 of file EDConsumerBase.h.
Referenced by convertCurrentProcessAlias(), recordConsumes(), recordESConsumes(), and updateLookup().
|
private |
Definition at line 286 of file EDConsumerBase.h.
Referenced by itemsToGetFrom(), and updateLookup().
|
private |
Definition at line 304 of file EDConsumerBase.h.
Referenced by labelFor(), recordESConsumes(), and updateLookup().
|
private |
Definition at line 280 of file EDConsumerBase.h.
Referenced by consumesInfo(), convertCurrentProcessAlias(), indexFrom(), itemsMayGet(), itemsToGet(), labelsForToken(), modulesWhoseProductsAreConsumed(), recordConsumes(), registeredToConsume(), registeredToConsumeMany(), throwBranchMismatch(), throwTypeMismatch(), uncheckedIndexFrom(), and updateLookup().
|
private |
Definition at line 284 of file EDConsumerBase.h.
Referenced by consumesInfo(), convertCurrentProcessAlias(), labelsForToken(), modulesWhoseProductsAreConsumed(), recordConsumes(), recordESConsumes(), and updateLookup().