CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
sistrip::SpyEventMatcher::CountersWrapper Class Reference

Public Member Functions

const Counters::value_type at (const size_t i) const
 
Counters::const_iterator begin () const
 
 CountersWrapper (const Counters *theCounters)
 
 CountersWrapper (Counters *theCounters, const bool takeOwnership)
 
Counters::const_iterator end () const
 
const Counters::value_type operator[] (const size_t i) const
 
 ~CountersWrapper ()
 

Private Attributes

bool deleteP
 
Countersp
 
const CounterspConst
 

Detailed Description

Definition at line 106 of file SiStripSpyEventMatcher.h.

Constructor & Destructor Documentation

◆ CountersWrapper() [1/2]

sistrip::SpyEventMatcher::CountersWrapper::CountersWrapper ( const Counters theCounters)

◆ CountersWrapper() [2/2]

sistrip::SpyEventMatcher::CountersWrapper::CountersWrapper ( Counters theCounters,
const bool  takeOwnership 
)

◆ ~CountersWrapper()

sistrip::SpyEventMatcher::CountersWrapper::~CountersWrapper ( )

Member Function Documentation

◆ at()

const Counters::value_type sistrip::SpyEventMatcher::CountersWrapper::at ( const size_t  i) const
inline

Definition at line 112 of file SiStripSpyEventMatcher.h.

References mps_fire::i, and pConst.

112 { return pConst->at(i); };

◆ begin()

Counters::const_iterator sistrip::SpyEventMatcher::CountersWrapper::begin ( void  ) const
inline

Definition at line 113 of file SiStripSpyEventMatcher.h.

References pConst.

113 { return pConst->begin(); }

◆ end()

Counters::const_iterator sistrip::SpyEventMatcher::CountersWrapper::end ( void  ) const
inline

Definition at line 114 of file SiStripSpyEventMatcher.h.

References pConst.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

114 { return pConst->end(); }

◆ operator[]()

const Counters::value_type sistrip::SpyEventMatcher::CountersWrapper::operator[] ( const size_t  i) const
inline

Definition at line 111 of file SiStripSpyEventMatcher.h.

References mps_fire::i, and pConst.

111 { return (*pConst)[i]; };

Member Data Documentation

◆ deleteP

bool sistrip::SpyEventMatcher::CountersWrapper::deleteP
private

Definition at line 119 of file SiStripSpyEventMatcher.h.

◆ p

Counters* sistrip::SpyEventMatcher::CountersWrapper::p
private

Definition at line 118 of file SiStripSpyEventMatcher.h.

Referenced by Electron.Electron::ptErr().

◆ pConst

const Counters* sistrip::SpyEventMatcher::CountersWrapper::pConst
private

Definition at line 117 of file SiStripSpyEventMatcher.h.

Referenced by at(), begin(), end(), and operator[]().