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 | 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 EDConsumerBase
 
class EDGetToken
 
class TestEDGetToken
 

Detailed Description

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

Definition at line 33 of file EDGetToken.h.

Constructor & Destructor Documentation

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

Definition at line 71 of file EDGetToken.h.

static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:105
unsigned int m_value
Definition: EDGetToken.h:110
template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( const EDGetTokenT< T > &  )
defaultnoexcept
template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( EDGetTokenT< T > &&  )
defaultnoexcept
template<typename T>
template<typename ADAPTER >
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( ADAPTER &&  iAdapter)
inlineexplicit

Definition at line 79 of file EDGetToken.h.

79 : EDGetTokenT(iAdapter.template consumes<T>()) {}
constexpr EDGetTokenT()
Definition: EDGetToken.h:71
template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( EDGetTokenT< T > &  iOther)
inlinenoexcept

Definition at line 91 of file EDGetToken.h.

91 : m_value{iOther.m_value} {}
unsigned int m_value
Definition: EDGetToken.h:110
template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( const EDGetTokenT< T > &&  iOther)
inlinenoexcept

Definition at line 92 of file EDGetToken.h.

92 : m_value{iOther.m_value} {}
unsigned int m_value
Definition: EDGetToken.h:110
template<typename T>
constexpr edm::EDGetTokenT< T >::EDGetTokenT ( unsigned int  iValue)
inlineexplicitprivatenoexcept

Definition at line 107 of file EDGetToken.h.

107 : m_value(iValue) {}
unsigned int m_value
Definition: EDGetToken.h:110

Member Function Documentation

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

Definition at line 98 of file EDGetToken.h.

Referenced by BeautifulSoup.PageElement::_invert().

98 { return m_value; }
unsigned int m_value
Definition: EDGetToken.h:110
template<typename T>
constexpr bool edm::EDGetTokenT< T >::isUninitialized ( ) const
inlinenoexcept

Definition at line 99 of file EDGetToken.h.

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

99 { return m_value == s_uninitializedValue; }
static const unsigned int s_uninitializedValue
Definition: EDGetToken.h:105
unsigned int m_value
Definition: EDGetToken.h:110
template<typename T>
constexpr EDGetTokenT& edm::EDGetTokenT< T >::operator= ( const EDGetTokenT< T > &  )
defaultnoexcept
template<typename T>
constexpr EDGetTokenT& edm::EDGetTokenT< T >::operator= ( EDGetTokenT< T > &&  )
defaultnoexcept
template<typename T>
template<typename ADAPTER >
constexpr EDGetTokenT& edm::EDGetTokenT< T >::operator= ( ADAPTER &&  iAdapter)
inline

Definition at line 82 of file EDGetToken.h.

82  {
83  EDGetTokenT<T> temp(iAdapter.template consumes<T>());
84  m_value = temp.m_value;
85 
86  return *this;
87  }
unsigned int m_value
Definition: EDGetToken.h:110
template<typename T>
constexpr EDGetTokenT& edm::EDGetTokenT< T >::operator= ( EDGetTokenT< T > &  iOther)
inline

Definition at line 94 of file EDGetToken.h.

94  {
95  return (*this = const_cast<const EDGetTokenT<T>&>(iOther));
96  }

Friends And Related Function Documentation

template<typename T>
friend class EDConsumerBase
friend

Definition at line 67 of file EDGetToken.h.

template<typename T>
friend class EDGetToken
friend

Definition at line 68 of file EDGetToken.h.

template<typename T>
friend class TestEDGetToken
friend

Definition at line 103 of file EDGetToken.h.

Member Data Documentation

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