#include <EDConsumerBase.h>
Classes | |
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) |
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) |
Private Types | |
enum | { kLookupInfo, kAlwaysGets, kLabels, kKind } |
Private Member Functions | |
edm::InputTag const & | checkIfEmpty (edm::InputTag const &tag) |
unsigned int | recordConsumes (BranchType iBranch, TypeToGet const &iType, edm::InputTag const &iTag, bool iAlwaysGets) |
void | throwBadToken (edm::TypeID const &iType, EDGetToken iToken) const |
void | throwBranchMismatch (BranchType, EDGetToken) const |
void | throwConsumesCallAfterFrozen (TypeToGet const &, InputTag const &) const |
void | throwTypeMismatch (edm::TypeID const &, EDGetToken) const |
Private Attributes | |
bool | containsCurrentProcessAlias_ |
bool | frozen_ |
std::array< std::vector< ProductResolverIndexAndSkipBit >, edm::NumBranchTypes > | itemsToGetFromBranch_ |
edm::SoATuple< TokenLookupInfo, bool, LabelPlacement, edm::KindOfType > | m_tokenInfo |
std::vector< char > | m_tokenLabels |
Friends | |
class | ConsumesCollector |
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 49 of file EDConsumerBase.h.
Definition at line 85 of file EDConsumerBase.h.
|
private |
Enumerator | |
---|---|
kLookupInfo | |
kAlwaysGets | |
kLabels | |
kKind |
Definition at line 184 of file EDConsumerBase.h.
|
inline |
Definition at line 53 of file EDConsumerBase.h.
References indexFrom(), itemsMayGet(), itemsToGet(), noexcept, operator=(), uncheckedIndexFrom(), and ~EDConsumerBase().
|
virtualnoexcept |
|
delete |
|
default |
|
private |
Definition at line 80 of file EDConsumerBase.cc.
References kWasEmpty, and edm::InputTag::label().
Referenced by consumes(), consumesMany(), and mayConsume().
|
inlineprotected |
Definition at line 105 of file EDConsumerBase.h.
References TtFullHadDaughter::B, checkIfEmpty(), and recordConsumes().
Referenced by AlCaECALRecHitReducer::AlCaECALRecHitReducer(), MixCollectionValidation::bookHistograms(), BTagPerformanceAnalyzerMC::BTagPerformanceAnalyzerMC(), BTagPerformanceAnalyzerOnData::BTagPerformanceAnalyzerOnData(), CrossingFramePSimHitToPSimHitsConverter::CrossingFramePSimHitToPSimHitsConverter(), EcalPileUpDepMonitor::EcalPileUpDepMonitor(), ElectronNHitSeedProducer::ElectronNHitSeedProducer(), EmDQMReco::EmDQMReco(), edm::EventContentAnalyzer::EventContentAnalyzer(), EcalDQMonitorTask::formSchedule(), GoodSeedProducer::GoodSeedProducer(), GsfTrackRefitter::GsfTrackRefitter(), HITrackClusterRemover::HITrackClusterRemover(), HLTMuonIsoFilter::HLTMuonIsoFilter(), HLTMuonPFIsoFilter::HLTMuonPFIsoFilter(), JetCollectionReducerT< T >::JetCollectionReducerT(), JetTagProducer::JetTagProducer(), edm::OutputModule::keepThisBranch(), edm::SubProcess::keepThisBranch(), edm::one::OutputModuleBase::keepThisBranch(), edm::global::OutputModuleBase::keepThisBranch(), edm::limited::OutputModuleBase::keepThisBranch(), edm::LogErrorHarvester::LogErrorHarvester(), cms::METSignificanceProducer::METSignificanceProducer(), MultiplicityCorrelator::MultiplicityCorrelator(), MultiTrackValidator::MultiTrackValidator(), MuonProducer::MuonProducer(), MuonTrackValidator::MuonTrackValidator(), NewMuonTrackValidator::NewMuonTrackValidator(), NoPileUpPFMEtProducer::NoPileUpPFMEtProducer(), pat::PackedPFCandidateRefMixer::PackedPFCandidateRefMixer(), pat::PATElectronProducer::PATElectronProducer(), pat::PATGenericParticleProducer::PATGenericParticleProducer(), pat::PATMETProducer::PATMETProducer(), pat::PATMuonProducer::PATMuonProducer(), pat::PATMuonSlimmer::PATMuonSlimmer(), pat::PATPackedCandidateProducer::PATPackedCandidateProducer(), pat::PATPFParticleProducer::PATPFParticleProducer(), pat::PATPhotonProducer::PATPhotonProducer(), pat::PATTauProducer::PATTauProducer(), pat::PATVertexAssociationProducer::PATVertexAssociationProducer(), PFTrackProducer::PFTrackProducer(), PrimaryVertexAnalyzer4PUSlimmed::PrimaryVertexAnalyzer4PUSlimmed(), ReducedEGProducer::ReducedEGProducer(), SeedMultiplicityAnalyzer::SeedMultiplicityAnalyzer(), ShallowSimhitClustersProducer::ShallowSimhitClustersProducer(), SiPixelPhase1TrackingParticleV::SiPixelPhase1TrackingParticleV(), SiStripMonitorDigi::SiStripMonitorDigi(), TrackingParticleNumberOfLayersProducer::TrackingParticleNumberOfLayersProducer(), TrackRefitter::TrackRefitter(), TTClusterAssociator< T >::TTClusterAssociator(), TTClusterBuilder< T >::TTClusterBuilder(), TTStubAssociator< T >::TTStubAssociator(), TTTrackAssociator< T >::TTTrackAssociator(), and VIDNestedWPBitmapProducer< T >::VIDNestedWPBitmapProducer().
|
inlineprotected |
Definition at line 110 of file EDConsumerBase.h.
References checkIfEmpty(), edm::InEvent, and recordConsumes().
|
inlineprotected |
Definition at line 115 of file EDConsumerBase.h.
References TtFullHadDaughter::B, checkIfEmpty(), and recordConsumes().
|
protected |
Use a ConsumesCollector to gather consumes information from helper functions.
Definition at line 72 of file EDConsumerBase.cc.
References EnergyCorrector::c, and kWasEmpty.
Referenced by AlcaBeamMonitor::AlcaBeamMonitor(), AlcaBeamSpotProducer::AlcaBeamSpotProducer(), IsolatedParticlesGeneratedJets::analyze(), edm::AnalyzerWrapper< T >::AnalyzerWrapper(), BCToEFilter::BCToEFilter(), BeamMonitor::BeamMonitor(), BeamMonitorBx::BeamMonitorBx(), BeamSpotAnalyzer::BeamSpotAnalyzer(), FastTSGFromL2Muon::beginRun(), DTTrigTest::beginRun(), CaloCleaner< T >::CaloCleaner(), CandIsoDepositProducer::CandIsoDepositProducer(), CandIsolatorFromDeposits::CandIsolatorFromDeposits(), ConfigurableAnalysis::ConfigurableAnalysis(), CorrectedECALPFClusterProducer::CorrectedECALPFClusterProducer(), CosmicsMuonIdProducer::CosmicsMuonIdProducer(), CosmicSplitterValidation::CosmicSplitterValidation(), CSCDigiValidation::CSCDigiValidation(), CSCMonitorModule::CSCMonitorModule(), CSCRecHitValidation::CSCRecHitValidation(), CtfSpecialSeedGenerator::CtfSpecialSeedGenerator(), edm::DataMixingModule::DataMixingModule(), edm::OutputModule::doPreallocate(), edm::global::OutputModuleBase::doPreallocate(), edm::one::OutputModuleBase::doPreallocate(), edm::limited::OutputModuleBase::doPreallocate(), DTTrigProd::DTTrigProd(), EcalCosmicsHists::EcalCosmicsHists(), EcalDQMonitorTask::EcalDQMonitorTask(), EcalRecHitProducer::EcalRecHitProducer(), EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation(), EcalUncalibRecHitProducer::EcalUncalibRecHitProducer(), EDMtoMEConverter::EDMtoMEConverter(), EgammaHLTFilteredSuperClusterProducer::EgammaHLTFilteredSuperClusterProducer(), EgammaHLTPixelMatchElectronProducers::EgammaHLTPixelMatchElectronProducers(), EgHLTOfflineSource::EgHLTOfflineSource(), ElectronSeedProducer::ElectronSeedProducer(), EopTreeWriter::EopTreeWriter(), EventWithHistoryEDFilter::EventWithHistoryEDFilter(), edm::FilterWrapper< T >::FilterWrapper(), FSQDiJetAve::FSQDiJetAve(), FTLRecHitProducer::FTLRecHitProducer(), FTLUncalibratedRecHitProducer::FTLUncalibratedRecHitProducer(), GEDPhotonProducer::GEDPhotonProducer(), GlobalCosmicMuonProducer::GlobalCosmicMuonProducer(), GlobalTrackQualityProducer::GlobalTrackQualityProducer(), GlobalVariablesTableProducer::GlobalVariablesTableProducer(), HGCalClusterProducer::HGCalClusterProducer(), HGCalElectronIDValueMapProducer::HGCalElectronIDValueMapProducer(), HGCalPhotonIDValueMapProducer::HGCalPhotonIDValueMapProducer(), HGCalTriggerNtupleManager::HGCalTriggerNtupleManager(), HighPtTrackEcalDetIdProducer::HighPtTrackEcalDetIdProducer(), HitPairEDProducer::HitPairEDProducer(), HitTripletEDProducerT< T_HitTripletGenerator >::HitTripletEDProducerT(), HLTBitAnalyzer::HLTBitAnalyzer(), HLTExoticaValidator::HLTExoticaValidator(), HLTHiggsValidator::HLTHiggsValidator(), HLTMuonIsoFilter::HLTMuonIsoFilter(), HLTMuonValidator::HLTMuonValidator(), HLTTagAndProbeOfflineSource< TagType, TagCollType, ProbeType, ProbeCollType >::HLTTagAndProbeOfflineSource(), HLTTauDQMOfflineSource::HLTTauDQMOfflineSource(), cms::CkfDebugTrackCandidateMaker::initDebugger(), InterestingTrackEcalDetIdProducer::InterestingTrackEcalDetIdProducer(), IsolatedTracksCone::IsolatedTracksCone(), JetCorrectorProducer< T >::JetCorrectorProducer(), JetMETHLTOfflineSource::JetMETHLTOfflineSource(), L1EventTreeProducer::L1EventTreeProducer(), L1GlobalTrigger::L1GlobalTrigger(), L1MuGlobalMuonTrigger::L1MuGlobalMuonTrigger(), l1t::L1TDigiToRaw::L1TDigiToRaw(), L2MuonIsolationProducer::L2MuonIsolationProducer(), L3MuonCombinedRelativeIsolationProducer::L3MuonCombinedRelativeIsolationProducer(), L3MuonIsolationProducer::L3MuonIsolationProducer(), LogMessageMonitor::LogMessageMonitor(), pat::helper::ManyThingsToValueMaps< Adaptor, Collection, value_type >::ManyThingsToValueMaps(), pat::PATMETSlimmer::maybeReadShifts(), edm::MixingModule::MixingModule(), pat::ModifiedObjectProducer< T >::ModifiedObjectProducer(), MuIsoDepositProducer::MuIsoDepositProducer(), MultiplicityCorrelator::MultiplicityCorrelator(), MultiplicityInvestigator::MultiplicityInvestigator(), MultiplicityTimeCorrelations::MultiplicityTimeCorrelations(), MultiTrackValidator::MultiTrackValidator(), MuonAssociatorEDProducer::MuonAssociatorEDProducer(), MuonIdProducer::MuonIdProducer(), cms::MuonMETValueMapProducer::MuonMETValueMapProducer(), MuonProducer::MuonProducer(), MuonSeedGenerator::MuonSeedGenerator(), MuonSeedProducer::MuonSeedProducer(), MuonShowerInformationProducer::MuonShowerInformationProducer(), MuonTimingProducer::MuonTimingProducer(), MuonToTrackingParticleAssociatorEDProducer::MuonToTrackingParticleAssociatorEDProducer(), MuPFIsoEmbedder::MuPFIsoEmbedder(), MVAValueMapProducer< ParticleType >::MVAValueMapProducer(), OccupancyPlots::OccupancyPlots(), edm::OutputModule::OutputModule(), edm::global::OutputModuleBase::OutputModuleBase(), edm::limited::OutputModuleBase::OutputModuleBase(), edm::one::OutputModuleBase::OutputModuleBase(), pat::PATCleaner< PATObjType >::PATCleaner(), pat::PATCompositeCandidateProducer::PATCompositeCandidateProducer(), pat::PATElectronProducer::PATElectronProducer(), pat::PATElectronSlimmer::PATElectronSlimmer(), pat::PATGenericParticleProducer::PATGenericParticleProducer(), edm::PathStatusFilter::PathStatusFilter(), pat::PATIsolatedTrackProducer::PATIsolatedTrackProducer(), pat::PATJetProducer::PATJetProducer(), pat::PATJetSlimmer::PATJetSlimmer(), pat::PATJetUpdater::PATJetUpdater(), pat::PATMETProducer::PATMETProducer(), pat::PATMuonProducer::PATMuonProducer(), pat::PATMuonSlimmer::PATMuonSlimmer(), pat::PATPFParticleProducer::PATPFParticleProducer(), pat::PATPhotonProducer::PATPhotonProducer(), pat::PATPhotonSlimmer::PATPhotonSlimmer(), pat::PATTauProducer::PATTauProducer(), pat::PATTauSlimmer::PATTauSlimmer(), PFCandIsolatorFromDeposits::PFCandIsolatorFromDeposits(), PFClusterProducer::PFClusterProducer(), citk::PFIsolationSumProducer::PFIsolationSumProducer(), citk::PFIsolationSumProducerForPUPPI::PFIsolationSumProducerForPUPPI(), PFRecHitProducer::PFRecHitProducer(), PFRecoTauChargedHadronProducer::PFRecoTauChargedHadronProducer(), PFRecoTauDiscriminationByNProngs::PFRecoTauDiscriminationByNProngs(), PFTauPrimaryVertexProducer::PFTauPrimaryVertexProducer(), PhotonConversionTrajectorySeedProducerFromQuadruplets::PhotonConversionTrajectorySeedProducerFromQuadruplets(), PhotonConversionTrajectorySeedProducerFromSingleLeg::PhotonConversionTrajectorySeedProducerFromSingleLeg(), PhotonProducer::PhotonProducer(), PixelTracksProducer::PixelTracksProducer(), PlottingDevice::PlottingDevice(), RecoTauCleanerImpl< Prod >::RecoTauCleanerImpl(), RecoTauPiZeroProducer::RecoTauPiZeroProducer(), RecoTauProducer::RecoTauProducer(), ReduceHcalRecHitCollectionProducer::ReduceHcalRecHitCollectionProducer(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >::SeedCreatorFromRegionHitsEDProducerT(), SeedGeneratorFromRegionHitsEDProducer::SeedGeneratorFromRegionHitsEDProducer(), SeedMultiplicityAnalyzer::SeedMultiplicityAnalyzer(), SETMuonSeedProducer::SETMuonSeedProducer(), SimpleFlatTableProducer< T >::SimpleFlatTableProducer(), SingleTopTChannelLeptonDQM::SingleTopTChannelLeptonDQM(), SingleTopTChannelLeptonDQM_miniAOD::SingleTopTChannelLeptonDQM_miniAOD(), SiPixelPhase1Base::SiPixelPhase1Base(), SiPixelRawToDigi::SiPixelRawToDigi(), SiStripDCSFilter::SiStripDCSFilter(), SiStripMonitorCluster::SiStripMonitorCluster(), SiStripMonitorDigi::SiStripMonitorDigi(), SiStripMonitorTrack::SiStripMonitorTrack(), edm::SubProcess::SubProcess(), TagAndProbeBtagTriggerMonitor::TagAndProbeBtagTriggerMonitor(), TagProbeFitTreeProducer::TagProbeFitTreeProducer(), Tau3MuSkim::Tau3MuSkim(), TauTagValidation::TauTagValidation(), cms::TCMETProducer::TCMETProducer(), TopDiLeptonHLTOfflineDQM::TopDiLeptonHLTOfflineDQM(), TopDiLeptonOfflineDQM::TopDiLeptonOfflineDQM(), TopSingleLeptonDQM::TopSingleLeptonDQM(), TopSingleLeptonDQM_miniAOD::TopSingleLeptonDQM_miniAOD(), TopSingleLeptonHLTOfflineDQM::TopSingleLeptonHLTOfflineDQM(), TrackingMonitor::TrackingMonitor(), TrackingRecHitProducer::TrackingRecHitProducer(), TrajectorySeedProducer::TrajectorySeedProducer(), TSGFromL1Muon::TSGFromL1Muon(), TSGFromL2Muon::TSGFromL2Muon(), TtDilepEvtSolutionMaker::TtDilepEvtSolutionMaker(), TtSemiEvtSolutionMaker::TtSemiEvtSolutionMaker(), Type2CorrectionProducer::Type2CorrectionProducer(), and VersionedIdProducer< PhysicsObjectPtr, SelectorType >::VersionedIdProducer().
std::vector< ConsumesInfo > EDConsumerBase::consumesInfo | ( | ) | const |
Definition at line 530 of file EDConsumerBase.cc.
References kAlwaysGets, kKind, kLabels, kLookupInfo, m_tokenInfo, m_tokenLabels, and mps_fire::result.
|
inlineprotected |
Definition at line 135 of file EDConsumerBase.h.
|
inlineprotected |
|
inlineprotected |
Definition at line 145 of file EDConsumerBase.h.
References TtFullHadDaughter::B, checkIfEmpty(), recordConsumes(), GlobalPosition_Frontier_DevDB_cff::tag, throwBadToken(), throwBranchMismatch(), throwConsumesCallAfterFrozen(), and throwTypeMismatch().
void EDConsumerBase::convertCurrentProcessAlias | ( | std::string const & | processName | ) |
Convert "@currentProcess" in InputTag process names to the actual current process name.
Definition at line 479 of file EDConsumerBase.cc.
References containsCurrentProcessAlias_, frozen_, edm::InputTag::kCurrentProcess, kLabels, m_tokenInfo, m_tokenLabels, eostools::move(), modifiedElectrons_cfi::processName, and AlCaHLTBitMon_QueryRunRegistry::string.
ProductResolverIndexAndSkipBit EDConsumerBase::indexFrom | ( | EDGetToken | iToken, |
BranchType | iBranch, | ||
TypeID const & | iType | ||
) | const |
Definition at line 204 of file EDConsumerBase.cc.
References edm::EDGetToken::index(), info(), kLookupInfo, likely, m_tokenInfo, edm::ProductResolverIndexInvalid, throwBadToken(), throwBranchMismatch(), throwTypeMismatch(), and unlikely.
Referenced by EDConsumerBase(), and edm::PrincipalGetAdapter::getByToken_().
void EDConsumerBase::itemsMayGet | ( | BranchType | iBranch, |
std::vector< ProductResolverIndexAndSkipBit > & | oIndices | ||
) | const |
Definition at line 265 of file EDConsumerBase.cc.
References KineDebug3::count(), kAlwaysGets, kLookupInfo, m_tokenInfo, and edm::ProductResolverIndexInvalid.
Referenced by EDConsumerBase(), and updateLookup().
void EDConsumerBase::itemsToGet | ( | BranchType | iBranch, |
std::vector< ProductResolverIndexAndSkipBit > & | oIndices | ||
) | const |
Definition at line 229 of file EDConsumerBase.cc.
References KineDebug3::count(), kAlwaysGets, kLookupInfo, m_tokenInfo, and edm::ProductResolverIndexInvalid.
Referenced by EDConsumerBase(), and updateLookup().
|
inline |
Definition at line 71 of file EDConsumerBase.h.
References itemsToGetFromBranch_, registeredToConsume(), registeredToConsumeMany(), and updateLookup().
Referenced by edm::PrincipalGetAdapter::numberOfProductsConsumed().
void EDConsumerBase::labelsForToken | ( | EDGetToken | iToken, |
Labels & | oLabels | ||
) | const |
Definition at line 301 of file EDConsumerBase.cc.
References edm::EDGetToken::index(), diffTreeTool::index, kLabels, tablePrinter::labels, m_tokenInfo, m_tokenLabels, edm::ProductLabels::module, edm::ProductLabels::process, edm::ProductLabels::productInstance, and command_line::start.
Referenced by EgammaBasicClusters::analyze(), AlCaElectronsTest::analyze(), SiPixelHitEfficiencySource::analyze(), EnergyScaleAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), HLTScalers::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), ElectronTagProbeAnalyzer::bookHistograms(), TkAlCaRecoMonitor::bookHistograms(), ElectronAnalyzer::bookHistograms(), 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(), MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer(), TrackRefitter::produce(), HIPixelTrackFilterProducer::produce(), ReducedESRecHitCollectionProducer::produce(), GenTrackMatcher::produce(), HIProtoTrackFilterProducer::produce(), EcalEBTrigPrimProducer::produce(), ReducedRecHitCollectionProducer::produce(), EcalTrigPrimProducer::produce(), HITrackClusterRemover::produce(), cms::CosmicTrackFinder::produce(), edm::PrincipalGetAdapter::throwAmbiguousException(), MeasurementTrackerEventProducer::updatePhase2OT(), MeasurementTrackerEventProducer::updatePixels(), and MeasurementTrackerEventProducer::updateStrips().
|
inlineprotected |
Definition at line 120 of file EDConsumerBase.h.
References TtFullHadDaughter::B, checkIfEmpty(), and recordConsumes().
Referenced by cms::PFMETProducer::PFMETProducer().
|
inlineprotected |
Definition at line 125 of file EDConsumerBase.h.
References triggerObjects_cff::id, and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineprotected |
Definition at line 130 of file EDConsumerBase.h.
References TtFullHadDaughter::B, checkIfEmpty(), and recordConsumes().
void EDConsumerBase::modulesWhoseProductsAreConsumed | ( | std::vector< ModuleDescription const * > & | modules, |
ProductRegistry const & | preg, | ||
std::map< std::string, ModuleDescription const * > const & | labelsToDesc, | ||
std::string const & | processName | ||
) | const |
Definition at line 422 of file EDConsumerBase.cc.
References edm::ProductResolverIndexHelper::index(), edm::InEvent, kKind, kLabels, kLookupInfo, m_tokenInfo, m_tokenLabels, patRefSel_triggerMatching_cfi::matches, ErrorSummaryFilter_cfi::modules, edm::ProductRegistry::productLookup(), edm::ProductResolverIndexInvalid, and edm::ProductResolverIndexHelper::relatedIndexes().
|
delete |
Referenced by EDConsumerBase().
|
default |
|
private |
Definition at line 88 of file EDConsumerBase.cc.
References containsCurrentProcessAlias_, frozen_, diffTreeTool::index, edm::InputTag::instance(), edm::InputTag::kCurrentProcess, edm::TypeToGet::kind(), edm::InputTag::label(), funct::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().
bool EDConsumerBase::registeredToConsume | ( | ProductResolverIndex | iIndex, |
bool | skipCurrentProcess, | ||
BranchType | iBranch | ||
) | const |
Definition at line 312 of file EDConsumerBase.cc.
References kLookupInfo, and m_tokenInfo.
Referenced by edm::Principal::findProductByLabel(), and itemsToGetFrom().
bool EDConsumerBase::registeredToConsumeMany | ( | TypeID const & | iType, |
BranchType | iBranch | ||
) | const |
Definition at line 327 of file EDConsumerBase.cc.
References kLookupInfo, m_tokenInfo, and edm::ProductResolverIndexInvalid.
Referenced by edm::Principal::getManyByType(), and itemsToGetFrom().
|
private |
Definition at line 355 of file EDConsumerBase.cc.
References edm::TypeID::className(), Exception, edm::EDGetToken::index(), and edm::EDGetToken::isUninitialized().
Referenced by consumesMany(), and indexFrom().
|
private |
Definition at line 350 of file EDConsumerBase.cc.
References edm::BranchTypeToString(), Exception, edm::EDGetToken::index(), kLookupInfo, and m_tokenInfo.
Referenced by consumesMany(), and indexFrom().
|
private |
Definition at line 364 of file EDConsumerBase.cc.
References edm::ProductRegistry::aliasToOriginal(), Exception, AlCaHLTBitMon_QueryRunRegistry::string, edmPickEvents::target, and edm::TypeToGet::type().
Referenced by consumesMany(), and recordConsumes().
|
private |
Definition at line 345 of file EDConsumerBase.cc.
References edm::TypeID::className(), Exception, edm::EDGetToken::index(), kLookupInfo, and m_tokenInfo.
Referenced by consumesMany(), and indexFrom().
ProductResolverIndexAndSkipBit EDConsumerBase::uncheckedIndexFrom | ( | EDGetToken | iToken | ) | const |
Definition at line 223 of file EDConsumerBase.cc.
References edm::EDGetToken::index(), kLookupInfo, and m_tokenInfo.
Referenced by EDConsumerBase(), edm::OutputModule::productsUsedBySelection(), edm::one::OutputModuleBase::productsUsedBySelection(), edm::global::OutputModuleBase::productsUsedBySelection(), and edm::limited::OutputModuleBase::productsUsedBySelection().
void EDConsumerBase::updateLookup | ( | BranchType | iBranchType, |
ProductResolverIndexHelper const & | iHelper, | ||
bool | iPrefetchMayGet | ||
) |
Definition at line 140 of file EDConsumerBase.cc.
References containsCurrentProcessAlias_, frozen_, mps_fire::i, edm::ProductResolverIndexHelper::index(), diffTreeTool::index, info(), itemsMayGet(), itemsToGet(), itemsToGetFromBranch_, kAlwaysGets, callgraph::kind, kKind, kLabels, kLookupInfo, tablePrinter::labels, m_tokenInfo, m_tokenLabels, patRefSel_triggerMatching_cfi::matches, edm::ProductResolverIndexInvalid, and edm::ProductResolverIndexHelper::relatedIndexes().
Referenced by edm::SubProcess::beginJob(), and itemsToGetFrom().
|
friend |
Definition at line 99 of file EDConsumerBase.h.
|
friend |
Definition at line 100 of file EDConsumerBase.h.
|
private |
Definition at line 194 of file EDConsumerBase.h.
Referenced by convertCurrentProcessAlias(), recordConsumes(), and updateLookup().
|
private |
Definition at line 193 of file EDConsumerBase.h.
Referenced by convertCurrentProcessAlias(), recordConsumes(), and updateLookup().
|
private |
Definition at line 191 of file EDConsumerBase.h.
Referenced by itemsToGetFrom(), and updateLookup().
|
private |
Definition at line 185 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 189 of file EDConsumerBase.h.
Referenced by consumesInfo(), convertCurrentProcessAlias(), labelsForToken(), modulesWhoseProductsAreConsumed(), recordConsumes(), and updateLookup().