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 79 of file InDetRecStatisticsAlg.h.

Constructor & Destructor Documentation

◆ Counter()

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

Definition at line 160 of file InDetRecStatisticsAlg.h.

160 { 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 165 of file InDetRecStatisticsAlg.h.

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

◆ reset()

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

Definition at line 161 of file InDetRecStatisticsAlg.h.

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

Member Data Documentation

◆ m_counter

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

Definition at line 169 of file InDetRecStatisticsAlg.h.


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