ATLAS Offline Software
Loading...
Searching...
No Matches
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 157 of file InDetRecStatisticsAlg.h.

Constructor & Destructor Documentation

◆ Counter()

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

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: