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
 
template<typename ADAPTER >
constexpr EDGetTokenT (ADAPTER &&iAdapter)
 
constexpr EDGetTokenT (EDGetTokenT< T > &iOther) noexcept
 
constexpr EDGetTokenT (const EDGetTokenT< T > &&iOther) noexcept
 
constexpr unsigned int index () const noexcept
 
constexpr bool isUninitialized () const noexcept
 
constexpr EDGetTokenToperator= (const EDGetTokenT< T > &) noexcept=default
 
constexpr EDGetTokenToperator= (EDGetTokenT< T > &&) noexcept=default
 
template<typename ADAPTER >
constexpr EDGetTokenToperator= (ADAPTER &&iAdapter)
 
constexpr EDGetTokenToperator= (EDGetTokenT< T > &iOther)
 

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/7]

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:110
unsigned int m_value
Definition: EDGetToken.h:115

◆ EDGetTokenT() [2/7]

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

◆ EDGetTokenT() [3/7]

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

◆ EDGetTokenT() [4/7]

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

Definition at line 84 of file EDGetToken.h.

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

◆ EDGetTokenT() [5/7]

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

Definition at line 96 of file EDGetToken.h.

96 : m_value{iOther.m_value} {}
unsigned int m_value
Definition: EDGetToken.h:115

◆ EDGetTokenT() [6/7]

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

Definition at line 97 of file EDGetToken.h.

97 : m_value{iOther.m_value} {}
unsigned int m_value
Definition: EDGetToken.h:115

◆ EDGetTokenT() [7/7]

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

Definition at line 112 of file EDGetToken.h.

112 : m_value(iValue) {}
unsigned int m_value
Definition: EDGetToken.h:115

Member Function Documentation

◆ index()

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

Definition at line 103 of file EDGetToken.h.

103 { return m_value; }
unsigned int m_value
Definition: EDGetToken.h:115

◆ isUninitialized()

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

Definition at line 104 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(), ElectronSeedMerger::produce(), FastTrackerRecHitMaskProducer::produce(), KFBasedPixelFitterProducer::produce(), HitPairEDProducer::produce(), RPCDigiMerger::produce(), ShiftedParticleMETcorrInputProducer::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(), BoostedDoubleSVProducer::produce(), DTChamberMasker::produce(), DigiSimLinkPruner::produce(), TrajectorySeedProducer::produce(), PileupJetIdProducer::produce(), GEDPhotonProducer::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().

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

◆ operator=() [1/4]

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

◆ operator=() [2/4]

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

◆ operator=() [3/4]

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

Definition at line 87 of file EDGetToken.h.

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

◆ operator=() [4/4]

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

Definition at line 99 of file EDGetToken.h.

99  {
100  return (*this = const_cast<const EDGetTokenT<T>&>(iOther));
101  }

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 108 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