#include <EDConsumerBase.h>
Classes | |
struct | ESTokenLookupInfo |
struct | LabelPlacement |
struct | TokenLookupInfo |
Public Types | |
typedef ProductLabels | Labels |
Protected Member Functions | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Private Types | |
enum | { kLookupInfo, kAlwaysGets, kLabels, kKind } |
enum | { kESLookupInfo, kESProxyIndex } |
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 72 of file EDConsumerBase.h.
Definition at line 112 of file EDConsumerBase.h.
|
private |
Enumerator | |
---|---|
kLookupInfo | |
kAlwaysGets | |
kLabels | |
kKind |
Definition at line 292 of file EDConsumerBase.h.
|
private |
EDConsumerBase::EDConsumerBase | ( | ) |
Definition at line 40 of file EDConsumerBase.cc.
|
virtualnoexcept |
Definition at line 43 of file EDConsumerBase.cc.
|
delete |
|
default |
|
private |
Definition at line 55 of file EDConsumerBase.cc.
References kWasEmpty, and edm::InputTag::label().
Referenced by consumes(), and mayConsume().
|
inlineprotected |
Definition at line 161 of file EDConsumerBase.h.
References B, checkIfEmpty(), recordConsumes(), and makeGlobalPositionRcd_cfg::tag.
Referenced by AlCaECALRecHitReducer::AlCaECALRecHitReducer(), CAHitNtupletCUDAT< TrackerTraits >::CAHitNtupletCUDAT(), pat::CandidateSummaryTable::CandidateSummaryTable(), CrossingFramePSimHitToPSimHitsConverter::CrossingFramePSimHitToPSimHitsConverter(), EgammaEcalRecHitIsolationProducer::EgammaEcalRecHitIsolationProducer(), EgammaElectronTkIsolationProducer::EgammaElectronTkIsolationProducer(), EgammaIsoDetIdCollectionProducer< T1 >::EgammaIsoDetIdCollectionProducer(), EgammaIsoESDetIdCollectionProducer::EgammaIsoESDetIdCollectionProducer(), EgammaPhotonTkIsolationProducer::EgammaPhotonTkIsolationProducer(), EgammaPhotonTkNumIsolationProducer::EgammaPhotonTkNumIsolationProducer(), edm::EventContentAnalyzer::EventContentAnalyzer(), edmtest::ExistingDictionaryTestAnalyzer::ExistingDictionaryTestAnalyzer(), EcalDQMonitorTask::formSchedule(), edm::GenericConsumer::GenericConsumer(), HGCalValidator::HGCalValidator(), HLTMuonIsoFilter::HLTMuonIsoFilter(), HLTMuonPFIsoFilter::HLTMuonPFIsoFilter(), JetCollectionReducerT< T >::JetCollectionReducerT(), edm::core::OutputModuleCore::keepThisBranch(), edm::SubProcess::keepThisBranch(), L1Filter::L1Filter(), MaskedRctInputDigiProducer::MaskedRctInputDigiProducer(), MkFitEventOfHitsProducer::MkFitEventOfHitsProducer(), MkFitProducer::MkFitProducer(), MultiplicityCorrelator::MultiplicityCorrelator(), MultiTrackValidator::MultiTrackValidator(), pat::PATPackedCandidateProducer::PATPackedCandidateProducer(), PixelTrackDumpCUDAT< TrackerTraits >::PixelTrackDumpCUDAT(), PixelVertexProducerCUDAT< TrackerTraits >::PixelVertexProducerCUDAT(), PPSDiamondSampicTimingCalibrationPCLWorker::PPSDiamondSampicTimingCalibrationPCLWorker(), PPSTimingCalibrationPCLWorker::PPSTimingCalibrationPCLWorker(), ptHatFilter::ptHatFilter(), ShiftedParticleMETcorrInputProducer::ShiftedParticleMETcorrInputProducer(), SiStripMonitorDigi::SiStripMonitorDigi(), edm::SwitchProducer::SwitchProducer(), TestAlpakaHostDeviceCompare::TestAlpakaHostDeviceCompare(), edmtest::TestFindProduct::TestFindProduct(), TestHits::TestHits(), TestSmoothHits::TestSmoothHits(), TrackingParticleNumberOfLayersProducer::TrackingParticleNumberOfLayersProducer(), and l1tVertexFinder::VertexNTupler::VertexNTupler().
|
inlineprotectednoexcept |
Definition at line 167 of file EDConsumerBase.h.
References eostools::move(), and makeGlobalPositionRcd_cfg::tag.
|
inlineprotected |
Definition at line 171 of file EDConsumerBase.h.
References checkIfEmpty(), edm::InEvent, recordConsumes(), and makeGlobalPositionRcd_cfg::tag.
|
inlineprotected |
Definition at line 176 of file EDConsumerBase.h.
References B, checkIfEmpty(), recordConsumes(), and makeGlobalPositionRcd_cfg::tag.
|
protected |
Use a ConsumesCollector to gather consumes information from helper functions.
Definition at line 48 of file EDConsumerBase.cc.
References HltBtagPostValidation_cff::c.
Referenced by AlcaBeamMonitor::AlcaBeamMonitor(), AlcaBeamSpotProducer::AlcaBeamSpotProducer(), AlignmentMonitorAsAnalyzer::AlignmentMonitorAsAnalyzer(), IsolatedParticlesGeneratedJets::analyze(), OverlapValidation::analyze(), BeamMonitor::BeamMonitor(), BeamMonitorBx::BeamMonitorBx(), BeamSpotAnalyzer::BeamSpotAnalyzer(), CaloParticleDebugger::CaloParticleDebugger(), cms::CkfDebugTrackCandidateMaker::CkfDebugTrackCandidateMaker(), ConfigurableAnalysis::ConfigurableAnalysis(), CosmicSplitterValidation::CosmicSplitterValidation(), CSCMonitorModule::CSCMonitorModule(), edm::core::OutputModuleCore::doPreallocate_(), DTResidualCalibration::DTResidualCalibration(), DTT0Correction::DTT0Correction(), DTTPAnalyzer::DTTPAnalyzer(), DTTrigTest::DTTrigTest(), DTTTrigCorrection::DTTTrigCorrection(), DTTTrigOffsetCalibration::DTTTrigOffsetCalibration(), DTVDriftSegmentCalibration::DTVDriftSegmentCalibration(), DTVDriftWriter::DTVDriftWriter(), EcalCosmicsHists::EcalCosmicsHists(), EcalDQMonitorClient::EcalDQMonitorClient(), EcalDQMonitorTask::EcalDQMonitorTask(), EcalMEFormatter::EcalMEFormatter(), EcalMixingModuleValidation::EcalMixingModuleValidation(), EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation(), EcalTPGDBCopy::EcalTPGDBCopy(), EDMtoMEConverter::EDMtoMEConverter(), EgammaHLTClusterShapeProducer::EgammaHLTClusterShapeProducer(), EgammaHLTR9IDProducer::EgammaHLTR9IDProducer(), EGEnergyAnalyzer::EGEnergyAnalyzer(), ElectronIdMVAProducer::ElectronIdMVAProducer(), ElectronMVANtuplizer::ElectronMVANtuplizer(), EopTreeWriter::EopTreeWriter(), EventWithHistoryEDFilter::EventWithHistoryEDFilter(), FFTJetCorrectorDBReader::FFTJetCorrectorDBReader(), edm::FilterWrapper< T >::FilterWrapper(), edm::HadronizerFilter< HAD, DEC >::HadronizerFilter(), HcalIsoTrkAnalyzer::HcalIsoTrkAnalyzer(), HcalIsoTrkSimAnalyzer::HcalIsoTrkSimAnalyzer(), HcalOfflineHarvesting::HcalOfflineHarvesting(), HcalOnlineHarvesting::HcalOnlineHarvesting(), HLTBitAnalyzer::HLTBitAnalyzer(), HLTExoticaValidator::HLTExoticaValidator(), HLTMuonIsoFilter::HLTMuonIsoFilter(), IsolatedTracksCone::IsolatedTracksCone(), IsolatedTracksNxN::IsolatedTracksNxN(), L1CondDBPayloadWriterExt::L1CondDBPayloadWriterExt(), L1EventTreeProducer::L1EventTreeProducer(), L1MuGlobalMuonTrigger::L1MuGlobalMuonTrigger(), LogMessageMonitor::LogMessageMonitor(), MomentumConstraintProducer::MomentumConstraintProducer(), MultiplicityCorrelator::MultiplicityCorrelator(), MultiplicityInvestigator::MultiplicityInvestigator(), MultiplicityTimeCorrelations::MultiplicityTimeCorrelations(), MultiTrackValidator::MultiTrackValidator(), MuScleFit::MuScleFit(), OMTFPatternMaker::OMTFPatternMaker(), edm::core::OutputModuleCore::OutputModuleCore(), OverlapValidation::OverlapValidation(), edm::PathStatusFilter::PathStatusFilter(), PhotonIDValueMapProducer::PhotonIDValueMapProducer(), PhotonMVANtuplizer::PhotonMVANtuplizer(), PlottingDevice::PlottingDevice(), QuickTrackAssociatorByHitsProducer::QuickTrackAssociatorByHitsProducer(), ResidualRefitting::ResidualRefitting(), edm::SecSourceAnalyzer::SecSourceAnalyzer(), SingleTopTChannelLeptonDQM::SingleTopTChannelLeptonDQM(), SingleTopTChannelLeptonDQM_miniAOD::SingleTopTChannelLeptonDQM_miniAOD(), cms::SiPixelCondObjAllPayloadsReader::SiPixelCondObjAllPayloadsReader(), cms::SiPixelCondObjForHLTReader::SiPixelCondObjForHLTReader(), cms::SiPixelCondObjOfflineReader::SiPixelCondObjOfflineReader(), SiPixelStatusHarvester::SiPixelStatusHarvester(), SiStripAnalyser::SiStripAnalyser(), SiStripBadComponentInfo::SiStripBadComponentInfo(), SiStripDCSFilter::SiStripDCSFilter(), SiStripFineDelayHit::SiStripFineDelayHit(), SiStripMonitorCondDataOnDemandExample::SiStripMonitorCondDataOnDemandExample(), SiStripMonitorDigi::SiStripMonitorDigi(), SiStripQualityStatistics::SiStripQualityStatistics(), edm::SubProcess::SubProcess(), TagProbeFitTreeProducer::TagProbeFitTreeProducer(), TopDiLeptonOfflineDQM::TopDiLeptonOfflineDQM(), TopSingleLeptonDQM::TopSingleLeptonDQM(), TopSingleLeptonDQM_miniAOD::TopSingleLeptonDQM_miniAOD(), TriggerResultsFilter::TriggerResultsFilter(), and ValidIsoTrkCalib::ValidIsoTrkCalib().
std::vector< ConsumesInfo > EDConsumerBase::consumesInfo | ( | ) | const |
Definition at line 626 of file EDConsumerBase.cc.
References kAlwaysGets, kKind, kLabels, kLookupInfo, m_tokenInfo, m_tokenLabels, and mps_fire::result.
|
inlineprotected |
Definition at line 194 of file EDConsumerBase.h.
|
inlineprotected |
|
inlineprotected |
Definition at line 202 of file EDConsumerBase.h.
References 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 580 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.
|
privatevirtual |
|
inlineprotected |
Definition at line 208 of file EDConsumerBase.h.
Referenced by edmtest::ESTestAnalyzerIncorrectConsumes::analyze(), APVShotsFilter::APVShotsFilter(), BeamConditionsMonitor::BeamConditionsMonitor(), DD4hep_TrackingMaterialAnalyser::DD4hep_TrackingMaterialAnalyser(), DisplayGeom::DisplayGeom(), DTConfigTester::DTConfigTester(), DTEtaPatternLutTester::DTEtaPatternLutTester(), DTExtLutTester::DTExtLutTester(), DTPhiLutTester::DTPhiLutTester(), DTPtaLutTester::DTPtaLutTester(), DTQualPatternLutTester::DTQualPatternLutTester(), DTTFMasksTester::DTTFMasksTester(), DTTFParametersTester::DTTFParametersTester(), DTVDriftCalibration::DTVDriftCalibration(), EcalLaserCondTools::EcalLaserCondTools(), EcalSRCondTools::EcalSRCondTools(), EgammaHLTBcHcalIsolationProducersRegional::EgammaHLTBcHcalIsolationProducersRegional(), EgammaHLTExtraProducer::EgammaHLTExtraProducer(), EgammaHLTHcalVarProducerFromRecHit::EgammaHLTHcalVarProducerFromRecHit(), EgammaHLTPhase2ExtraProducer::EgammaHLTPhase2ExtraProducer(), ElectronRegressionEnergyProducer::ElectronRegressionEnergyProducer(), FactorizedJetCorrectorDemo::FactorizedJetCorrectorDemo(), GlobalDigisProducer::GlobalDigisProducer(), HLTScoutingEgammaProducer::HLTScoutingEgammaProducer(), JetCorrectorDBReader::JetCorrectorDBReader(), JetCorrectorDemo::JetCorrectorDemo(), JetResolutionDBReader::JetResolutionDBReader(), JetResolutionDemo::JetResolutionDemo(), JetResolutionScaleFactorDBReader::JetResolutionScaleFactorDBReader(), L1CondDBIOVWriter::L1CondDBIOVWriter(), L1CondDBIOVWriterExt::L1CondDBIOVWriterExt(), L1GctConfigDump::L1GctConfigDump(), L1GtDataEmulAnalyzer::L1GtDataEmulAnalyzer(), L1GtVhdlWriter::L1GtVhdlWriter(), L1KeyListWriter::L1KeyListWriter(), L1KeyWriter::L1KeyWriter(), L1MuCSCTFParametersTester::L1MuCSCTFParametersTester(), L1O2OTestAnalyzer::L1O2OTestAnalyzer(), L1O2OTestAnalyzerExt::L1O2OTestAnalyzerExt(), L1TCaloParamsUpdater::L1TCaloParamsUpdater(), L1TCaloParamsViewer::L1TCaloParamsViewer(), L1TCaloStage2ParamsWriter::L1TCaloStage2ParamsWriter(), L1TGlobalPrescalesVetosViewer::L1TGlobalPrescalesVetosViewer(), L1TGlobalPrescalesVetosWriter::L1TGlobalPrescalesVetosWriter(), L1TMuonBarrelParamsWriter::L1TMuonBarrelParamsWriter(), L1TMuonEndCapForestWriter::L1TMuonEndCapForestWriter(), L1TMuonEndCapParamsWriter::L1TMuonEndCapParamsWriter(), L1TMuonGlobalParamsWriter::L1TMuonGlobalParamsWriter(), L1TMuonOverlapParamsWriter::L1TMuonOverlapParamsWriter(), L1TriggerKeyExtViewer::L1TriggerKeyExtViewer(), L1TriggerKeyListExtReader::L1TriggerKeyListExtReader(), MuonGeometryDBConverter::MuonGeometryDBConverter(), QGLikelihoodDBReader::QGLikelihoodDBReader(), QGLikelihoodSystematicsDBReader::QGLikelihoodSystematicsDBReader(), QGTagger::QGTagger(), RPCGeometryServTest::RPCGeometryServTest(), edmtest::RunLumiESAnalyzer::RunLumiESAnalyzer(), SiPixelGainCalibScaler::SiPixelGainCalibScaler(), SiStripApprox2Clusters::SiStripApprox2Clusters(), SiStripCommissioningSource::SiStripCommissioningSource(), SiStripCondVisualizer::SiStripCondVisualizer(), SiStripFineDelayHit::SiStripFineDelayHit(), SiStripGainRandomCalculator::SiStripGainRandomCalculator(), SiStripGainsCalibTreeWorker::SiStripGainsCalibTreeWorker(), SiStripGainsPCLWorker::SiStripGainsPCLWorker(), SiStripHitResolFromCalibTree::SiStripHitResolFromCalibTree(), SiStripMonitorDigi::SiStripMonitorDigi(), TestHits::TestHits(), TestSmoothHits::TestSmoothHits(), TestTrackHits::TestTrackHits(), TrackingMaterialAnalyser::TrackingMaterialAnalyser(), ValidateGeometry::ValidateGeometry(), and edmtest::WhatsItAnalyzer::WhatsItAnalyzer().
|
inlineprotected |
Definition at line 213 of file EDConsumerBase.h.
References labelFor(), edm::eventsetup::EventSetupRecordKey::makeKey(), recordESConsumes(), and makeGlobalPositionRcd_cfg::tag.
|
inlineprotected |
Definition at line 225 of file EDConsumerBase.h.
|
inlineprotected |
Definition at line 230 of file EDConsumerBase.h.
References eostools::move(), and makeGlobalPositionRcd_cfg::tag.
|
inlineprotected |
Used with EventSetupRecord::doGet.
Definition at line 236 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 126 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::one::EDAnalyzerBase::doBeginLuminosityBlock(), edm::EDLooperBase::doBeginLuminosityBlock(), edm::global::EDAnalyzerBase::doBeginLuminosityBlock(), edm::one::EDProducerBase::doBeginLuminosityBlock(), edm::one::EDFilterBase::doBeginLuminosityBlock(), edm::limited::EDAnalyzerBase::doBeginLuminosityBlock(), edm::limited::EDProducerBase::doBeginLuminosityBlock(), edm::global::EDProducerBase::doBeginLuminosityBlock(), edm::global::EDFilterBase::doBeginLuminosityBlock(), edm::limited::EDFilterBase::doBeginLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doBeginLuminosityBlock(), edm::one::EDAnalyzerBase::doBeginRun(), edm::EDLooperBase::doBeginRun(), edm::global::EDAnalyzerBase::doBeginRun(), edm::one::EDProducerBase::doBeginRun(), edm::one::EDFilterBase::doBeginRun(), edm::limited::EDAnalyzerBase::doBeginRun(), edm::limited::EDProducerBase::doBeginRun(), edm::global::EDProducerBase::doBeginRun(), edm::global::EDFilterBase::doBeginRun(), edm::limited::EDFilterBase::doBeginRun(), edm::stream::EDAnalyzerAdaptor< T >::doBeginRun(), edm::EDLooperBase::doDuringLoop(), edm::one::EDAnalyzerBase::doEndLuminosityBlock(), edm::EDLooperBase::doEndLuminosityBlock(), edm::global::EDAnalyzerBase::doEndLuminosityBlock(), edm::one::EDProducerBase::doEndLuminosityBlock(), edm::one::EDFilterBase::doEndLuminosityBlock(), edm::limited::EDAnalyzerBase::doEndLuminosityBlock(), edm::global::EDProducerBase::doEndLuminosityBlock(), edm::limited::EDProducerBase::doEndLuminosityBlock(), edm::global::EDFilterBase::doEndLuminosityBlock(), edm::limited::EDFilterBase::doEndLuminosityBlock(), edm::stream::EDAnalyzerAdaptor< T >::doEndLuminosityBlock(), edm::EDLooperBase::doEndOfLoop(), edm::one::EDAnalyzerBase::doEndRun(), edm::EDLooperBase::doEndRun(), edm::global::EDAnalyzerBase::doEndRun(), edm::one::EDFilterBase::doEndRun(), edm::one::EDProducerBase::doEndRun(), edm::limited::EDAnalyzerBase::doEndRun(), edm::limited::EDProducerBase::doEndRun(), edm::global::EDProducerBase::doEndRun(), edm::global::EDFilterBase::doEndRun(), edm::limited::EDFilterBase::doEndRun(), edm::stream::EDAnalyzerAdaptor< T >::doEndRun(), edm::global::EDAnalyzerBase::doEvent(), edm::one::EDAnalyzerBase::doEvent(), edm::global::EDFilterBase::doEvent(), edm::one::EDProducerBase::doEvent(), edm::one::EDFilterBase::doEvent(), edm::global::EDProducerBase::doEvent(), edm::limited::EDAnalyzerBase::doEvent(), edm::limited::EDFilterBase::doEvent(), edm::limited::EDProducerBase::doEvent(), edm::global::EDAnalyzerBase::doStreamBeginLuminosityBlock(), edm::limited::EDAnalyzerBase::doStreamBeginLuminosityBlock(), edm::limited::EDProducerBase::doStreamBeginLuminosityBlock(), edm::global::EDProducerBase::doStreamBeginLuminosityBlock(), edm::global::EDFilterBase::doStreamBeginLuminosityBlock(), edm::limited::EDFilterBase::doStreamBeginLuminosityBlock(), edm::global::EDAnalyzerBase::doStreamBeginRun(), edm::limited::EDAnalyzerBase::doStreamBeginRun(), edm::global::EDProducerBase::doStreamBeginRun(), edm::limited::EDProducerBase::doStreamBeginRun(), edm::global::EDFilterBase::doStreamBeginRun(), edm::limited::EDFilterBase::doStreamBeginRun(), edm::global::EDAnalyzerBase::doStreamEndLuminosityBlock(), edm::limited::EDAnalyzerBase::doStreamEndLuminosityBlock(), edm::global::EDProducerBase::doStreamEndLuminosityBlock(), edm::limited::EDProducerBase::doStreamEndLuminosityBlock(), edm::global::EDFilterBase::doStreamEndLuminosityBlock(), edm::limited::EDFilterBase::doStreamEndLuminosityBlock(), edm::global::EDAnalyzerBase::doStreamEndRun(), edm::limited::EDAnalyzerBase::doStreamEndRun(), edm::global::EDProducerBase::doStreamEndRun(), edm::limited::EDProducerBase::doStreamEndRun(), edm::global::EDFilterBase::doStreamEndRun(), and edm::limited::EDFilterBase::doStreamEndRun().
|
inline |
Definition at line 137 of file EDConsumerBase.h.
References cms::cuda::assert(), esItemsToGetFromTransition_, and edm::NumberOfEventSetupTransitions.
Referenced by edm::EDLooperBase::esPrefetchAsync().
|
inline |
Definition at line 142 of file EDConsumerBase.h.
References cms::cuda::assert(), esRecordsToGetFromTransition_, and edm::NumberOfEventSetupTransitions.
Referenced by edm::EDLooperBase::esPrefetchAsync().
|
privatevirtual |
Reimplemented in edm::stream::impl::Transformer.
Definition at line 113 of file EDConsumerBase.cc.
Referenced by updateLookup().
ProductResolverIndexAndSkipBit EDConsumerBase::indexFrom | ( | EDGetToken | iToken, |
BranchType | iBranch, | ||
TypeID const & | iType | ||
) | const |
Definition at line 255 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 310 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 278 of file EDConsumerBase.cc.
References submitPVResolutionJobs::count, kAlwaysGets, kLookupInfo, m_tokenInfo, and edm::ProductResolverIndexInvalid.
Referenced by updateLookup().
|
inline |
Definition at line 93 of file EDConsumerBase.h.
References itemsToGetFromBranch_.
Referenced by edm::EDLooperBase::edPrefetchAsync(), and edm::PrincipalGetAdapter::numberOfProductsConsumed().
|
private |
Definition at line 664 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 342 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(), ContainmentCorrectionAnalyzer::analyze(), EnergyScaleAnalyzer::analyze(), PhotonValidator::analyze(), HLTScalers::analyze(), edmtest::TestGetterOfProductsA::analyze(), TrackingNtuple::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), HLTVertexPerformanceAnalyzer::dqmBeginRun(), HLTBTagPerformanceAnalyzer::dqmBeginRun(), TriggerBxMonitor::dqmBeginRun(), TriggerRatesMonitor::dqmBeginRun(), edmtest::TestGetterOfProductsA::endLuminosityBlock(), edmtest::TestGetterOfProductsA::endRun(), TrackingNtuple::fillSeeds(), TrackingNtuple::fillTracks(), edmtest::TestGetterOfProducts::filter(), 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 |
Definition at line 181 of file EDConsumerBase.h.
References B, checkIfEmpty(), recordConsumes(), and makeGlobalPositionRcd_cfg::tag.
|
inlineprotected |
Definition at line 186 of file EDConsumerBase.h.
References l1ctLayer2EG_cff::id, and makeGlobalPositionRcd_cfg::tag.
|
inlineprotected |
Definition at line 189 of file EDConsumerBase.h.
References B, checkIfEmpty(), recordConsumes(), and makeGlobalPositionRcd_cfg::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 481 of file EDConsumerBase.cc.
References dqmiolumiharvest::j, kKind, kLabels, kLookupInfo, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, m_tokenInfo, m_tokenLabels, oniaPATMuonsWithTrigger_cff::matches, callgraph::module, LogMessageMonitor_cff::modules, LaserDQM_cfg::process, SimL1EmulatorRepack_CalouGT_cff::processName, edm::ProductRegistry::productLookup(), and edm::ProductResolverIndexInvalid.
|
delete |
|
default |
|
private |
Definition at line 62 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 217 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, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, throwESConsumesCallAfterFrozen(), and throwESConsumesInProcessBlock().
Referenced by esConsumes().
bool EDConsumerBase::registeredToConsume | ( | ProductResolverIndex | iIndex, |
bool | skipCurrentProcess, | ||
BranchType | iBranch | ||
) | const |
Definition at line 351 of file EDConsumerBase.cc.
References kLookupInfo, and m_tokenInfo.
bool EDConsumerBase::registeredToConsumeMany | ( | TypeID const & | iType, |
BranchType | iBranch | ||
) | const |
Definition at line 363 of file EDConsumerBase.cc.
References kLookupInfo, m_tokenInfo, and edm::ProductResolverIndexInvalid.
|
inlineprivatevirtual |
Reimplemented in FWLiteESRecordWriterAnalyzer, and edm::EventSetupRecordDataGetter.
Definition at line 247 of file EDConsumerBase.h.
Referenced by updateLookup().
|
inlineprotected |
Definition at line 243 of file EDConsumerBase.h.
References itemsToGetFromBranch_.
Referenced by edm::core::OutputModuleCore::doBeginJob_().
|
inline |
Definition at line 107 of file EDConsumerBase.h.
References doSelectInputProcessBlocks().
|
private |
Definition at line 387 of file EDConsumerBase.cc.
References edm::TypeID::className(), Exception, edm::EDGetToken::index(), and edm::EDGetToken::isUninitialized().
Referenced by indexFrom().
|
private |
Definition at line 380 of file EDConsumerBase.cc.
References edm::BranchTypeToString(), Exception, edm::EDGetToken::index(), kLookupInfo, and m_tokenInfo.
Referenced by indexFrom().
|
private |
Definition at line 400 of file EDConsumerBase.cc.
References Exception, SimL1EmulatorRepack_Full_cff::inputTag, and edm::TypeToGet::type().
Referenced by recordConsumes().
|
private |
Definition at line 407 of file EDConsumerBase.cc.
References Exception, edm::eventsetup::heterocontainer::HCTypeTag::name(), and edm::eventsetup::EventSetupRecordKey::type().
Referenced by recordESConsumes().
|
private |
Definition at line 417 of file EDConsumerBase.cc.
References Exception.
Referenced by recordESConsumes().
|
private |
Definition at line 374 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 274 of file EDConsumerBase.cc.
References edm::EDGetToken::index(), kLookupInfo, and m_tokenInfo.
Referenced by edm::core::OutputModuleCore::productsUsedBySelection().
void EDConsumerBase::updateLookup | ( | BranchType | iBranchType, |
ProductResolverIndexHelper const & | iHelper, | ||
bool | iPrefetchMayGet | ||
) |
Definition at line 115 of file EDConsumerBase.cc.
References cms::cuda::assert(), containsCurrentProcessAlias_, extendUpdateLookup(), 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 175 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 148 of file EDConsumerBase.h.
|
friend |
Definition at line 154 of file EDConsumerBase.h.
|
friend |
Definition at line 150 of file EDConsumerBase.h.
|
friend |
Definition at line 152 of file EDConsumerBase.h.
|
friend |
Definition at line 156 of file EDConsumerBase.h.
|
private |
Definition at line 323 of file EDConsumerBase.h.
Referenced by convertCurrentProcessAlias(), recordConsumes(), and updateLookup().
|
private |
Definition at line 319 of file EDConsumerBase.h.
Referenced by esGetTokenIndices(), esGetTokenIndicesVector(), recordESConsumes(), and updateLookup().
|
private |
Definition at line 321 of file EDConsumerBase.h.
Referenced by esGetTokenRecordIndicesVector(), recordESConsumes(), and updateLookup().
|
private |
Definition at line 322 of file EDConsumerBase.h.
Referenced by convertCurrentProcessAlias(), recordConsumes(), recordESConsumes(), and updateLookup().
|
private |
Definition at line 299 of file EDConsumerBase.h.
Referenced by itemsToGetFrom(), resetItemsToGetFrom(), and updateLookup().
|
private |
Definition at line 317 of file EDConsumerBase.h.
Referenced by labelFor(), recordESConsumes(), and updateLookup().
|
private |
Definition at line 293 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 297 of file EDConsumerBase.h.
Referenced by consumesInfo(), convertCurrentProcessAlias(), labelsForToken(), modulesWhoseProductsAreConsumed(), recordConsumes(), recordESConsumes(), and updateLookup().