ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
InDet::InDetRecStatisticsAlg::Counter< T_Int > Struct Template Reference
Collaboration diagram for InDet::InDetRecStatisticsAlg::Counter< T_Int >:

Public Member Functions

 Counter ()
 
void reset ()
 
template<typename T_IntB >
Counteroperator+= (const Counter< T_IntB > &b)
 

Public Attributes

T_Int m_counter [kNCounter]
 

Detailed Description

template<typename T_Int>
struct InDet::InDetRecStatisticsAlg::Counter< T_Int >

Definition at line 78 of file InDetRecStatisticsAlg.h.

Constructor & Destructor Documentation

◆ Counter()

template<typename T_Int >
InDet::InDetRecStatisticsAlg::Counter< T_Int >::Counter ( )
inline

Definition at line 158 of file InDetRecStatisticsAlg.h.

158 { reset(); }

Member Function Documentation

◆ operator+=()

template<typename T_Int >
template<typename T_IntB >
Counter& InDet::InDetRecStatisticsAlg::Counter< T_Int >::operator+= ( const Counter< T_IntB > &  b)
inline

Definition at line 163 of file InDetRecStatisticsAlg.h.

163  {
164  for (unsigned int i=0; i<kNCounter; ++i) { m_counter[i] += b.m_counter[i]; }
165  return *this;
166  }

◆ reset()

template<typename T_Int >
void InDet::InDetRecStatisticsAlg::Counter< T_Int >::reset ( )
inline

Definition at line 159 of file InDetRecStatisticsAlg.h.

159  {
160  for (unsigned int i=0; i<kNCounter; ++i) { m_counter[i]=0; }
161  }

Member Data Documentation

◆ m_counter

template<typename T_Int >
T_Int InDet::InDetRecStatisticsAlg::Counter< T_Int >::m_counter[kNCounter]

Definition at line 167 of file InDetRecStatisticsAlg.h.


The documentation for this struct was generated from the following file:
InDet::InDetRecStatisticsAlg::kNCounter
@ kNCounter
Definition: InDetRecStatisticsAlg.h:153
lumiFormat.i
int i
Definition: lumiFormat.py:85
InDet::InDetRecStatisticsAlg::Counter::m_counter
T_Int m_counter[kNCounter]
Definition: InDetRecStatisticsAlg.h:167
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
InDet::InDetRecStatisticsAlg::Counter::reset
void reset()
Definition: InDetRecStatisticsAlg.h:159