CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::ConsumesCollector Class Reference

#include "FWCore/Framework/interface/ConsumesCollector.h"

Public Member Functions

template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
ConsumesCollectorAdaptor< Bconsumes (edm::InputTag tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
 ConsumesCollector ()=delete
 
 ConsumesCollector (ConsumesCollector const &)
 
 ConsumesCollector (ConsumesCollector &&)=default
 
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<typename ESProduct , Transition Tr = Transition::Event>
auto esConsumes (eventsetup::EventSetupRecordKey const &key, ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
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)
 
ConsumesCollectoroperator= (ConsumesCollector const &)
 
ConsumesCollectoroperator= (ConsumesCollector &&)=default
 

Private Member Functions

 ConsumesCollector (EDConsumerBase *iConsumer)
 

Private Attributes

edm::propagate_const
< EDConsumerBase * > 
m_consumer
 

Friends

class EDConsumerBase
 

Detailed Description

Description: Helper class to gather consumes information for EDConsumerBase class.

Usage: The constructor of a module can get an instance of edm::ConsumesCollector by calling its consumesCollector() method. This instance can then be passed to helper classes in order to register the data the helper will request from an Event, LuminosityBlock or Run on behalf of the module.

 WARNING: The ConsumesCollector should be used during the time that modules are being

constructed. It should not be saved and used later. It will not work if it is used to call the consumes function during beginJob, beginRun, beginLuminosity block, event processing or at any later time. It can be used while the module constructor is running or be contained in a functor passed to the Framework with a call to callWhenNewProductsRegistered.

Definition at line 45 of file ConsumesCollector.h.

Constructor & Destructor Documentation

edm::ConsumesCollector::ConsumesCollector ( )
delete
edm::ConsumesCollector::ConsumesCollector ( ConsumesCollector const &  other)

Definition at line 5 of file ConsumesCollector.cc.

5 : m_consumer(get_underlying(other.m_consumer)) {}
edm::propagate_const< EDConsumerBase * > m_consumer
constexpr T & get_underlying(propagate_const< T > &)
edm::ConsumesCollector::ConsumesCollector ( ConsumesCollector &&  )
default
edm::ConsumesCollector::ConsumesCollector ( EDConsumerBase iConsumer)
inlineprivate

Definition at line 125 of file ConsumesCollector.h.

125 : m_consumer(iConsumer) {}
edm::propagate_const< EDConsumerBase * > m_consumer

Member Function Documentation

template<typename ProductType , BranchType B = InEvent>
EDGetTokenT<ProductType> edm::ConsumesCollector::consumes ( edm::InputTag const &  tag)
inline

Definition at line 55 of file ConsumesCollector.h.

References B, m_consumer, and GlobalPosition_Frontier_DevDB_cff::tag.

Referenced by tnp::BaseTreeFiller::addBranches_(), AlignmentGlobalTrackSelector::AlignmentGlobalTrackSelector(), AlignmentTrackSelector::AlignmentTrackSelector(), AlignmentTwoBodyDecayTrackSelector::AlignmentTwoBodyDecayTrackSelector(), AreaSeededTrackingRegionsBuilder::AreaSeededTrackingRegionsBuilder(), tnp::BaseTreeFiller::BaseTreeFiller(), l1t::stage2::BMTFTokens::BMTFTokens(), HLTHiggsSubAnalysis::bookobjects(), MuonTrackingRegionByPtBuilder::build(), MuonTrackingRegionBuilder::build(), l1t::stage2::CaloLayer1Tokens::CaloLayer1Tokens(), CaloParticleDebugger::CaloParticleDebugger(), l1t::stage2::CaloTokens::CaloTokens(), l1t::stage1::CaloTokens::CaloTokens(), CaloTruthAccumulator::CaloTruthAccumulator(), CastorDigiProducer::CastorDigiProducer(), ClusterChecker::ClusterChecker(), DTHitAssociator::Config::Config(), GEMHitAssociator::Config::Config(), RPCHitAssociator::Config::Config(), ConversionSeedFinder::ConversionSeedFinder(), CosmicSplitterValidation::CosmicSplitterValidation(), CutBasedElectronID::CutBasedElectronID(), DTSegmentSelector::DTSegmentSelector(), DualByL2TSG::DualByL2TSG(), EcalRecHitWorkerRecover::EcalRecHitWorkerRecover(), EcalTBDigiProducer::EcalTBDigiProducer(), EcalUncalibRecHitWorkerMultiFit::EcalUncalibRecHitWorkerMultiFit(), l1t::stage2::EMTFTokens::EMTFTokens(), ExpressionVariable< Object, label >::ExpressionVariable(), FastTSGFromIOHit::FastTSGFromIOHit(), GeneralTracksImporter::GeneralTracksImporter(), GenericSimClusterMapper::GenericSimClusterMapper(), GetLumi::GetLumi(), GlobalCosmicMuonTrajectoryBuilder::GlobalCosmicMuonTrajectoryBuilder(), GlobalMuonRefitter::GlobalMuonRefitter(), GlobalMuonTrajectoryBuilder::GlobalMuonTrajectoryBuilder(), GlobalTrackingRegionProducerFromBeamSpot::GlobalTrackingRegionProducerFromBeamSpot(), l1t::stage2::GMTTokens::GMTTokens(), l1t::stage2::GTTokens::GTTokens(), HcalDigitizer::HcalDigitizer(), HcalTBDigiProducer::HcalTBDigiProducer(), HGCDigitizer::HGCDigitizer(), HLTBitComputer::HLTBitComputer(), HLTEventSelector::HLTEventSelector(), edm::pathStatusExpression::Operand::init(), PVFitter::initialize(), JetMETDQMDCSFilter::JetMETDQMDCSFilter(), L1BitComputer::L1BitComputer(), L1GtUtilsHelper::L1GtUtilsHelper(), L1JPTOffsetCorrectorImplMaker::L1JPTOffsetCorrectorImplMaker(), l1t::L1TGlobalUtilHelper::L1TGlobalUtilHelper(), L3MuonTrajectoryBuilder::L3MuonTrajectoryBuilder(), TrackAssociatorParameters::loadParameters(), reco::modules::ParameterAdapter< MCMatchCandRefSelector >::make(), MTDDigitizerBase::MTDDigitizerBase(), MuonCosmicCompatibilityFiller::MuonCosmicCompatibilityFiller(), MuonDetLayerMeasurements::MuonDetLayerMeasurements(), MuonSegmentMatcher::MuonSegmentMatcher(), MuonShowerInformationFiller::MuonShowerInformationFiller(), MuonTrackLoader::MuonTrackLoader(), MuonTrackValidatorBase::MuonTrackValidatorBase(), MuonVPlusJetsIDSelectionFunctor::MuonVPlusJetsIDSelectionFunctor(), L1GtUtilsHelper::operator()(), OverlapValidation::OverlapValidation(), pat::PATUserDataMerger< ObjectType, Operation >::PATUserDataMerger(), PF_PU_AssoMapAlgos::PF_PU_AssoMapAlgos(), PFClusterFromHGCalTrackster::PFClusterFromHGCalTrackster(), PFEcalBarrelRecHitCreator::PFEcalBarrelRecHitCreator(), PFEcalEndcapRecHitCreator::PFEcalEndcapRecHitCreator(), cms::PileupVertexAccumulator::PileupVertexAccumulator(), PixelClusterShapeSeedComparitor::PixelClusterShapeSeedComparitor(), RazorComputer::RazorComputer(), RecoTrackAccumulator::RecoTrackAccumulator(), RecoTrackSelectorBase::RecoTrackSelectorBase(), HLTExoticaSubAnalysis::registerConsumes(), SeedingLayerSetsBuilder::SeedingLayerSetsBuilder(), SegmentsTrackAssociator::SegmentsTrackAssociator(), PhoMVACut::setConsumes(), PhoFull5x5SigmaIEtaIEtaValueMapCut::setConsumes(), PhoAnyPFIsoWithEAAndExpoScalingCut::setConsumes(), GsfEleEffAreaPFIsoCut::setConsumes(), GsfEleMVACut::setConsumes(), GsfEleRelPFIsoScaledCut::setConsumes(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::setConsumes(), PhoAnyPFIsoWithEAAndQuadScalingCut::setConsumes(), PhoAnyPFIsoWithEACut::setConsumes(), GsfEleValueMapIsoRhoCut::setConsumes(), GsfEleEmHadD1IsoRhoCut::setConsumes(), GsfEleCalPFClusterIsoCut::setConsumes(), PhoGenericRhoPtScaledCut::setConsumes(), GsfEleTrkPtIsoRhoCut::setConsumes(), MuonPOGStandardCut::setConsumes(), GsfEleConversionVetoCut::setConsumes(), MuonDzCut::setConsumes(), MuonDxyCut::setConsumes(), GsfEleHadronicOverEMEnergyScaledCut::setConsumes(), SETPatternRecognition::SETPatternRecognition(), CollHandle< EEDigiCollection >::setToken(), EgammaHLTPhase2ExtraProducer::Tokens::setToken(), EgammaHLTExtraProducer::Tokens::setToken(), ecaldqm::OccupancyTask::setTokens(), ecaldqm::TrigPrimTask::setTokens(), ecaldqm::ClusterTask::setTokens(), SCEnergyCorrectorSemiParm::setTokens(), SCEnergyCorrectorDRN::setTokens(), cms::SiPixelDigitizer::SiPixelDigitizer(), SiStripDCSStatus::SiStripDCSStatus(), SiStripDigitizer::SiStripDigitizer(), tadqm::TrackAnalyzer::TrackAnalyzer(), TrackerSeedCleaner::TrackerSeedCleaner(), pflow::importers::TrackFromParentImporter< Collection, Adaptor >::TrackFromParentImporter(), TrackingSeedCandidates::TrackingSeedCandidates(), TrackingTruthAccumulator::TrackingTruthAccumulator(), TSGForRoadSearch::TSGForRoadSearch(), METCorrectionAlgorithm::type2BinningEntryType::type2BinningEntryType(), ctfseeding::HitExtractorSTRP::useMatchedHits(), ctfseeding::HitExtractorSTRP::useRPhiHits(), ctfseeding::HitExtractorPIX::useSkipClusters_(), ctfseeding::HitExtractorSTRP::useSkipClusters_(), ctfseeding::HitExtractorSTRP::useStereoHits(), ctfseeding::HitExtractorSTRP::useVectorHits(), VertexBeamspotOrigins::VertexBeamspotOrigins(), VertexClassifier::VertexClassifier(), VertexHistory::VertexHistory(), VertexMonitor::VertexMonitor(), and WeightManager::WeightManager().

55  {
56  return m_consumer->consumes<ProductType, B>(tag);
57  }
Definition: APVGainStruct.h:7
edm::propagate_const< EDConsumerBase * > m_consumer
template<BranchType B = InEvent>
ConsumesCollectorAdaptor<B> edm::ConsumesCollector::consumes ( edm::InputTag  tag)
inline

Definition at line 60 of file ConsumesCollector.h.

References eostools::move().

60  {
61  return ConsumesCollectorAdaptor<B>(*this, std::move(tag));
62  }
def move
Definition: eostools.py:511
EDGetToken edm::ConsumesCollector::consumes ( const TypeToGet id,
edm::InputTag const &  tag 
)
inline

Definition at line 64 of file ConsumesCollector.h.

References m_consumer.

64 { return m_consumer->consumes(id, tag); }
edm::propagate_const< EDConsumerBase * > m_consumer
template<BranchType B>
EDGetToken edm::ConsumesCollector::consumes ( TypeToGet const &  id,
edm::InputTag const &  tag 
)
inline

Definition at line 67 of file ConsumesCollector.h.

References B, gpuClustering::id, m_consumer, and GlobalPosition_Frontier_DevDB_cff::tag.

67  {
68  return m_consumer->consumes<B>(id, tag);
69  }
Definition: APVGainStruct.h:7
uint16_t *__restrict__ id
edm::propagate_const< EDConsumerBase * > m_consumer
template<typename ProductType , BranchType B = InEvent>
void edm::ConsumesCollector::consumesMany ( )
inline

Definition at line 84 of file ConsumesCollector.h.

References B, and m_consumer.

84  {
85  m_consumer->consumesMany<ProductType, B>();
86  }
Definition: APVGainStruct.h:7
edm::propagate_const< EDConsumerBase * > m_consumer
void edm::ConsumesCollector::consumesMany ( const TypeToGet id)
inline

Definition at line 88 of file ConsumesCollector.h.

References m_consumer.

88 { m_consumer->consumesMany(id); }
edm::propagate_const< EDConsumerBase * > m_consumer
template<BranchType B>
void edm::ConsumesCollector::consumesMany ( const TypeToGet id)
inline

Definition at line 91 of file ConsumesCollector.h.

References B, gpuClustering::id, and m_consumer.

91  {
92  m_consumer->consumesMany<B>(id);
93  }
Definition: APVGainStruct.h:7
uint16_t *__restrict__ id
edm::propagate_const< EDConsumerBase * > m_consumer
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto edm::ConsumesCollector::esConsumes ( )
inline

Definition at line 97 of file ConsumesCollector.h.

Referenced by AlignmentProducerBase::AlignmentProducerBase(), AngleConverter::AngleConverter(), AreaSeededTrackingRegionsBuilder::AreaSeededTrackingRegionsBuilder(), MuonTrackingRegionByPtBuilder::build(), MuonTrackingRegionBuilder::build(), CaloParticleDebugger::CaloParticleDebugger(), CaloTrkProcessingBuilder::CaloTrkProcessingBuilder(), hgcal::ClusterTools::ClusterTools(), CSCTFPtLUT::consumes(), CSCTFSectorProcessor::consumes(), L1TMenuHelper::consumes(), ConversionSeedFinder::ConversionSeedFinder(), CSCConditions::CSCConditions(), DreamSensitiveDetectorBuilder::DreamSensitiveDetectorBuilder(), DTLinearDriftFromDBAlgo::DTLinearDriftFromDBAlgo(), DTSegmentSelector::DTSegmentSelector(), DTSegmentUpdator::DTSegmentUpdator(), dtCalibration::DTTTrigConstantShift::DTTTrigConstantShift(), dtCalibration::DTTTrigFillWithAverage::DTTTrigFillWithAverage(), dtCalibration::DTTTrigMatchRPhi::DTTTrigMatchRPhi(), dtCalibration::DTTTrigResidualCorrection::DTTTrigResidualCorrection(), DTTTrigSyncFromDB::DTTTrigSyncFromDB(), dtCalibration::DTTTrigT0SegCorrection::DTTTrigT0SegCorrection(), dtCalibration::DTVDriftSegment::DTVDriftSegment(), EcalRecHitWorkerRecover::EcalRecHitWorkerRecover(), EcalRecHitWorkerSimple::EcalRecHitWorkerSimple(), EcalSensitiveDetectorBuilder::EcalSensitiveDetectorBuilder(), EcalSignalGenerator< EEDigitizerTraits >::EcalSignalGenerator(), EcalUncalibRecHitWorkerMultiFit::EcalUncalibRecHitWorkerMultiFit(), EcalUncalibRecHitWorkerRatio::EcalUncalibRecHitWorkerRatio(), EG8XObjectUpdateModifier::EG8XObjectUpdateModifier(), EgammaRegressionContainer::EgammaRegressionContainer(), EGRegressionModifierCondTokens::EGRegressionModifierCondTokens(), DeDxTools::esConsumes(), RegressionHelper::ESGetTokens::ESGetTokens(), EcalClusterLazyToolsBase::ESGetTokens::ESGetTokens(), ESRecHitWorker::ESRecHitWorker(), l1t::L1TGlobalUtil::eventSetupConsumes(), L1RegionData< T1 >::eventSetupConsumes(), FiberSensitiveDetectorBuilder::FiberSensitiveDetectorBuilder(), GenericTriggerEventFlag::GenericTriggerEventFlag(), hltriggeroffline::PropagateToMuon::getESTokens(), GlobalMuonRefitter::GlobalMuonRefitter(), GlobalTrackingRegionProducerFromBeamSpot::GlobalTrackingRegionProducerFromBeamSpot(), GlobalTrajectoryBuilderBase::GlobalTrajectoryBuilderBase(), HcalDigitizer::HcalDigitizer(), HcalPulseShapes::HcalPulseShapes(), HcalSensitiveDetectorBuilder::HcalSensitiveDetectorBuilder(), HcalTB02SensitiveDetectorBuilder::HcalTB02SensitiveDetectorBuilder(), HcalTB06BeamDetectorBuilder::HcalTB06BeamDetectorBuilder(), HFNoseSensitiveDetectorBuilder::HFNoseSensitiveDetectorBuilder(), HGCalSensitiveDetectorBuilder::HGCalSensitiveDetectorBuilder(), HGCScintillatorSensitiveDetectorBuilder::HGCScintillatorSensitiveDetectorBuilder(), HGCSensitiveDetectorBuilder::HGCSensitiveDetectorBuilder(), HLTInfo::HLTInfo(), HoughGrouping::HoughGrouping(), pat::helper::KinResolutionsLoader::KinResolutionsLoader(), L1GtUtils::L1GtUtils(), TrackAssociatorParameters::loadParameters(), MultiHitGeneratorFromChi2::MultiHitGeneratorFromChi2(), MuonCosmicCompatibilityFiller::MuonCosmicCompatibilityFiller(), MuonPathAnalyticAnalyzer::MuonPathAnalyticAnalyzer(), MuonPathAnalyzerInChamber::MuonPathAnalyzerInChamber(), MuonPathAssociator::MuonPathAssociator(), MuonShowerInformationFiller::MuonShowerInformationFiller(), MuonTrackLoader::MuonTrackLoader(), PFMETAlgorithmMVA::PFMETAlgorithmMVA(), edm::PileUp::PileUp(), Pixel3DDigitizerAlgorithm::Pixel3DDigitizerAlgorithm(), PixelDigitizerAlgorithm::PixelDigitizerAlgorithm(), PixelTripletHLTGenerator::PixelTripletHLTGenerator(), PixelTripletLargeTipGenerator::PixelTripletLargeTipGenerator(), PSPDigitizerAlgorithm::PSPDigitizerAlgorithm(), PSSDigitizerAlgorithm::PSSDigitizerAlgorithm(), MonopoleSteppingAction::registerConsumes(), MaterialBudgetHcal::registerConsumes(), PrintGeomSummary::registerConsumes(), PrintGeomInfoAction::registerConsumes(), HcalTestAnalysis::registerConsumes(), MaterialBudgetHcalProducer::registerConsumes(), SimG4HGCalValidation::registerConsumes(), SimG4HcalValidation::registerConsumes(), CaloSteppingAction::registerConsumes(), RPCIntegrator::RPCIntegrator(), SeedingLayerSetsBuilder::SeedingLayerSetsBuilder(), ticl::SeedingRegionByHF::SeedingRegionByHF(), ticl::SeedingRegionByTracks::SeedingRegionByTracks(), SeedTransformer::SeedTransformer(), SegmentsTrackAssociator::SegmentsTrackAssociator(), EcalTPGDBCopy::setConsumes(), l1t::WriterProxyT< Record, Type >::setToken(), ecaldqm::IntegrityClient::setTokens(), ecaldqm::PresampleTask::setTokens(), ecaldqm::TowerStatusTask::setTokens(), ecaldqm::OccupancyTask::setTokens(), ecaldqm::SelectiveReadoutTask::setTokens(), ecaldqm::TrigPrimTask::setTokens(), ecaldqm::ClusterTask::setTokens(), SCEnergyCorrectorSemiParm::setTokens(), SCEnergyCorrectorDRN::setTokens(), ecaldqm::DQWorker::setTokens(), SCEnergyCorrectorSemiParm::RegParam::setTokens(), HGCalShowerShapeHelper::setTokens(), SingleMultiplicity< T >::SingleMultiplicity(), SiPixelChargeReweightingAlgorithm::SiPixelChargeReweightingAlgorithm(), SiPixelDigitizerAlgorithm::SiPixelDigitizerAlgorithm(), SiStripClassToMonitorCondData::SiStripClassToMonitorCondData(), SiStripDCSStatus::SiStripDCSStatus(), SiStripDigitizer::SiStripDigitizer(), SiStripQualityWithFromFedErrorsHelper::SiStripQualityWithFromFedErrorsHelper(), SiStripRecHitConverterAlgorithm::SiStripRecHitConverterAlgorithm(), SSDigitizerAlgorithm::SSDigitizerAlgorithm(), L1GetHistLimits::Tokens::Tokens(), tadqm::TrackAnalyzer::TrackAnalyzer(), TrackerSeedCleaner::TrackerSeedCleaner(), and TrackTransformer::TrackTransformer().

97  {
98  return esConsumes<ESProduct, ESRecord, Tr>(ESInputTag{});
99  }
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto edm::ConsumesCollector::esConsumes ( ESInputTag const &  tag)
inline

Definition at line 102 of file ConsumesCollector.h.

References m_consumer, and GlobalPosition_Frontier_DevDB_cff::tag.

102  {
103  return m_consumer->esConsumes<ESProduct, ESRecord, Tr>(tag);
104  }
edm::propagate_const< EDConsumerBase * > m_consumer
template<typename ESProduct , Transition Tr = Transition::Event>
auto edm::ConsumesCollector::esConsumes ( eventsetup::EventSetupRecordKey const &  key,
ESInputTag const &  tag 
)
inline

Definition at line 107 of file ConsumesCollector.h.

References submitPVResolutionJobs::key, m_consumer, and GlobalPosition_Frontier_DevDB_cff::tag.

107  {
108  return m_consumer->esConsumes<ESProduct, Tr>(key, tag);
109  }
edm::propagate_const< EDConsumerBase * > m_consumer
tuple key
prepare the HTCondor submission files and eventually submit them
template<Transition Tr = Transition::Event>
constexpr auto edm::ConsumesCollector::esConsumes ( )
inlinenoexcept

Definition at line 112 of file ConsumesCollector.h.

112  {
113  return ConsumesCollectorESAdaptor<Tr>(*this);
114  }
template<Transition Tr = Transition::Event>
auto edm::ConsumesCollector::esConsumes ( ESInputTag  tag)
inlinenoexcept

Definition at line 117 of file ConsumesCollector.h.

References eostools::move(), and GlobalPosition_Frontier_DevDB_cff::tag.

117  {
118  return ConsumesCollectorWithTagESAdaptor<Tr>(*this, std::move(tag));
119  }
def move
Definition: eostools.py:511
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT<ProductType> edm::ConsumesCollector::mayConsume ( edm::InputTag const &  tag)
inline
EDGetToken edm::ConsumesCollector::mayConsume ( const TypeToGet id,
edm::InputTag const &  tag 
)
inline

Definition at line 76 of file ConsumesCollector.h.

References m_consumer.

76 { return m_consumer->mayConsume(id, tag); }
edm::propagate_const< EDConsumerBase * > m_consumer
template<BranchType B>
EDGetToken edm::ConsumesCollector::mayConsume ( const TypeToGet id,
edm::InputTag const &  tag 
)
inline

Definition at line 79 of file ConsumesCollector.h.

References B, gpuClustering::id, m_consumer, and GlobalPosition_Frontier_DevDB_cff::tag.

79  {
80  return m_consumer->mayConsume<B>(id, tag);
81  }
Definition: APVGainStruct.h:7
uint16_t *__restrict__ id
edm::propagate_const< EDConsumerBase * > m_consumer
ConsumesCollector & edm::ConsumesCollector::operator= ( ConsumesCollector const &  other)

Definition at line 7 of file ConsumesCollector.cc.

References edm::get_underlying(), and m_consumer.

7  {
8  m_consumer = get_underlying(other.m_consumer);
9  return *this;
10  }
edm::propagate_const< EDConsumerBase * > m_consumer
constexpr T & get_underlying(propagate_const< T > &)
ConsumesCollector& edm::ConsumesCollector::operator= ( ConsumesCollector &&  )
default

Friends And Related Function Documentation

friend class EDConsumerBase
friend

Definition at line 123 of file ConsumesCollector.h.

Member Data Documentation

edm::propagate_const<EDConsumerBase*> edm::ConsumesCollector::m_consumer
private

Definition at line 128 of file ConsumesCollector.h.

Referenced by consumes(), consumesMany(), esConsumes(), mayConsume(), and operator=().