CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
edm::EDGetTokenT< T > Class Template Reference

#include <EDGetToken.h>

Public Member Functions

constexpr EDGetTokenT ()
 
constexpr EDGetTokenT (const EDGetTokenT< T > &) noexcept=default
 
constexpr EDGetTokenT (EDGetTokenT< T > &&) noexcept=default
 
constexpr EDGetTokenT (ADAPTER &&iAdapter)
 
constexpr unsigned int index () const noexcept
 
constexpr bool isUninitialized () const noexcept
 
constexpr EDGetTokenToperator= (const EDGetTokenT< T > &) noexcept=default
 
constexpr EDGetTokenToperator= (EDGetTokenT< T > &&) noexcept=default
 
constexpr EDGetTokenToperator= (ADAPTER &&iAdapter)
 
template<typename ADAPTER >
requires requires (ADAPTER &&a)
 
template<typename ADAPTER >
requires requires (ADAPTER &&a)
 

Private Member Functions

constexpr EDGetTokenT (unsigned int iValue) noexcept
 

Private Attributes

unsigned int m_value
 

Static Private Attributes

static const unsigned int s_uninitializedValue = 0xFFFFFFFF
 

Friends

class ::fwlite::EventBase
 
class EDConsumerBase
 
class EDGetToken
 
class TestEDGetToken
 

Detailed Description

template<typename T>
class edm::EDGetTokenT< T >

Definition at line 37 of file EDGetToken.h.

Constructor & Destructor Documentation

◆ EDGetTokenT() [1/5]

template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( )
inline

Definition at line 76 of file EDGetToken.h.

static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:104
unsigned int m_value
Definition: EDGetToken.h:109

◆ EDGetTokenT() [2/5]

template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( const EDGetTokenT< T > &  )
defaultnoexcept

◆ EDGetTokenT() [3/5]

template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( EDGetTokenT< T > &&  )
defaultnoexcept

◆ EDGetTokenT() [4/5]

template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( ADAPTER &&  iAdapter)
inlineexplicit

Definition at line 85 of file EDGetToken.h.

85 : EDGetTokenT(iAdapter.template consumes<T>()) {}
constexpr EDGetTokenT()
Definition: EDGetToken.h:76

◆ EDGetTokenT() [5/5]

template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( unsigned int  iValue)
inlineexplicitprivatenoexcept

Definition at line 106 of file EDGetToken.h.

106 : m_value(iValue) {}
unsigned int m_value
Definition: EDGetToken.h:109

Member Function Documentation

◆ index()

template<typename T>
constexpr unsigned int edm::EDGetTokenT< T >::index ( ) const
inlinenoexcept

Definition at line 97 of file EDGetToken.h.

97 { return m_value; }
unsigned int m_value
Definition: EDGetToken.h:109

◆ isUninitialized()

template<typename T>
constexpr bool edm::EDGetTokenT< T >::isUninitialized ( ) const
inlinenoexcept

Definition at line 98 of file EDGetToken.h.

Referenced by CSCChamberMasker::ageDigis(), LheWeightValidation::analyze(), EcalPileUpDepMonitor::analyze(), L1EventTreeProducer::analyze(), TrackingMonitor::analyze(), SingleTopTChannelLeptonDQM_miniAOD::analyze(), TopSingleLeptonDQM_miniAOD::analyze(), TopSingleLeptonDQM::analyze(), SingleTopTChannelLeptonDQM::analyze(), TopDiLeptonOfflineDQM::analyze(), TrackingNtuple::analyze(), AreaSeededTrackingRegionsBuilder::beginEvent(), HeavyFlavorDQMAnalyzer::bookHistograms(), BoostedDoubleSVProducer::calcNsubjettiness(), CSCChamberMasker::copyDigis(), MultiTrackValidatorGenPs::dqmAnalyze(), MultiTrackValidator::dqmAnalyze(), HeavyFlavorDQMAnalyzer::dqmAnalyze(), LheWeightValidation::dqmEndRun(), TopSingleLepton_miniAOD::MonitorEnsemble::fill(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble::fill(), TopSingleLepton::MonitorEnsemble::fill(), SingleTopTChannelLepton::MonitorEnsemble::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), GEDPhotonProducer::fillPhotonCollection(), CSCDigiFilter::filterDigis(), ECFAdder::getECF(), pat::PATMETProducer::getMETCovMatrix(), NjettinessAdder::getTau(), HeavyFlavorDQMAnalyzer::HeavyFlavorDQMAnalyzer(), EGFull5x5ShowerShapeModifierFromValueMaps::modifyObject(), MuonIdProducer::MuonIdProducer(), ECFAdder::produce(), TestCUDAProducerCPU::produce(), FastTrackerRecHitMaskProducer::produce(), KFBasedPixelFitterProducer::produce(), RPCDigiMerger::produce(), ShiftedParticleMETcorrInputProducer::produce(), HitPairEDProducer::produce(), CTPPSLocalTrackLiteProducer::produce(), BeamDivergenceVtxGenerator::produce(), PFCandMETcorrInputProducer::produce(), ShiftedParticleProducer::produce(), MultShiftMETcorrInputProducer::produce(), MultShiftMETcorrDBInputProducer::produce(), MkFitProducer::produce(), TrackCandidateProducer::produce(), NjettinessAdder::produce(), cms::METSignificanceProducer::produce(), ReducedEGProducer::produce(), pat::PATPhotonProducer::produce(), DTChamberMasker::produce(), BoostedDoubleSVProducer::produce(), DigiSimLinkPruner::produce(), TrajectorySeedProducer::produce(), GEDPhotonProducer::produce(), PileupJetIdProducer::produce(), JetFlavourClustering::produce(), MuonTrackingRegionByPtBuilder::region(), MuonTrackingRegionBuilder::region(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), CosmicRegionalSeedGenerator::regions(), L3MumuTrackingRegion::regions(), TrackingRegionsFromSuperClustersProducer::regions(), TauRegionalPixelSeedGenerator::regions(), CandidateSeededTrackingRegionsProducer::regions(), PointSeededTrackingRegionsProducer::regions(), CandidatePointSeededTrackingRegionsProducer::regions(), L1MuonSeededTrackingRegionsProducer::regions(), PixelTrackReconstruction::run(), L1Analysis::L1AnalysisEvent::Set(), EGFull5x5ShowerShapeModifierFromValueMaps::setEvent(), TrackingMonitor::TrackingMonitor(), MeasurementTrackerEventProducer::updatePhase2OT(), MeasurementTrackerEventProducer::updatePixels(), and MeasurementTrackerEventProducer::updateStrips().

98 { return m_value == s_uninitializedValue; }
static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:104
unsigned int m_value
Definition: EDGetToken.h:109

◆ operator=() [1/3]

template<typename T>
constexpr EDGetTokenT& edm::EDGetTokenT< T >::operator= ( const EDGetTokenT< T > &  )
defaultnoexcept

◆ operator=() [2/3]

template<typename T>
constexpr EDGetTokenT& edm::EDGetTokenT< T >::operator= ( EDGetTokenT< T > &&  )
defaultnoexcept

◆ operator=() [3/3]

template<typename T>
constexpr EDGetTokenT& edm::EDGetTokenT< T >::operator= ( ADAPTER &&  iAdapter)
inline

Definition at line 89 of file EDGetToken.h.

89  {
90  EDGetTokenT<T> temp(iAdapter.template consumes<T>());
91  m_value = temp.m_value;
92 
93  return *this;
94  }
unsigned int m_value
Definition: EDGetToken.h:109

◆ requires() [1/2]

template<typename T>
template<typename ADAPTER >
requires edm::EDGetTokenT< T >::requires ( ADAPTER &&  a)
inline

Definition at line 84 of file EDGetToken.h.

84 { a.template consumes<T>(); }
double a
Definition: hdecay.h:121

◆ requires() [2/2]

template<typename T>
template<typename ADAPTER >
requires edm::EDGetTokenT< T >::requires ( ADAPTER &&  a)
inline

Definition at line 88 of file EDGetToken.h.

88 { a.template consumes<T>(); }
double a
Definition: hdecay.h:121

Friends And Related Function Documentation

◆ ::fwlite::EventBase

template<typename T>
friend class ::fwlite::EventBase
friend

Definition at line 73 of file EDGetToken.h.

◆ EDConsumerBase

template<typename T>
friend class EDConsumerBase
friend

Definition at line 71 of file EDGetToken.h.

◆ EDGetToken

template<typename T>
friend class EDGetToken
friend

Definition at line 72 of file EDGetToken.h.

◆ TestEDGetToken

template<typename T>
friend class TestEDGetToken
friend

Definition at line 102 of file EDGetToken.h.

Member Data Documentation

◆ m_value

template<typename T>
unsigned int edm::EDGetTokenT< T >::m_value
private

◆ s_uninitializedValue

template<typename T>
const unsigned int edm::EDGetTokenT< T >::s_uninitializedValue = 0xFFFFFFFF
staticprivate