CbmRoot
Loading...
Searching...
No Matches
TL1TracksCatCounters< T > Struct Template Reference

counters used for efficiency calculation More...

#include <CbmL1Counters.h>

Inheritance diagram for TL1TracksCatCounters< T >:
[legend]

Public Member Functions

 TL1TracksCatCounters ()
 
 TL1TracksCatCounters (int nCounters)
 
int GetNcounters () const
 
void AddCounter ()
 
void AddCounters (int nCounters)
 
TL1TracksCatCountersoperator+= (TL1TracksCatCounters &a)
 
TL1TracksCatCounters operator+ (TL1TracksCatCounters &a)
 
template<typename T2 >
TL1TracksCatCounters< double > operator/ (TL1TracksCatCounters< T2 > &a)
 
template<typename T2 >
TL1TracksCatCounters< T2 > operator/ (double a)
 

Public Attributes

cacore::Vector< T > counters {"TL1TracksCatCounters::counters"}
 

Private Member Functions

double Div (double a, double b)
 

Friends

std::fstream & operator<< (std::fstream &strm, const TL1TracksCatCounters< T > &a)
 
std::ostream & operator<< (std::ostream &strm, const TL1TracksCatCounters< T > &a)
 
std::fstream & operator>> (std::fstream &strm, TL1TracksCatCounters< T > &a)
 

Detailed Description

template<typename T>
struct TL1TracksCatCounters< T >

counters used for efficiency calculation

Definition at line 25 of file CbmL1Counters.h.

Constructor & Destructor Documentation

◆ TL1TracksCatCounters() [1/2]

template<typename T >
TL1TracksCatCounters< T >::TL1TracksCatCounters ( )
inline

Definition at line 27 of file CbmL1Counters.h.

References TL1TracksCatCounters< T >::counters.

◆ TL1TracksCatCounters() [2/2]

template<typename T >
TL1TracksCatCounters< T >::TL1TracksCatCounters ( int nCounters)
inline

Definition at line 29 of file CbmL1Counters.h.

References TL1TracksCatCounters< T >::counters.

Member Function Documentation

◆ AddCounter()

◆ AddCounters()

template<typename T >
void TL1TracksCatCounters< T >::AddCounters ( int nCounters)
inline

◆ Div()

template<typename T >
double TL1TracksCatCounters< T >::Div ( double a,
double b )
inlineprivate

◆ GetNcounters()

◆ operator+()

template<typename T >
TL1TracksCatCounters TL1TracksCatCounters< T >::operator+ ( TL1TracksCatCounters< T > & a)
inline

Definition at line 52 of file CbmL1Counters.h.

◆ operator+=()

template<typename T >
TL1TracksCatCounters & TL1TracksCatCounters< T >::operator+= ( TL1TracksCatCounters< T > & a)
inline

◆ operator/() [1/2]

template<typename T >
template<typename T2 >
TL1TracksCatCounters< T2 > TL1TracksCatCounters< T >::operator/ ( double a)
inline

◆ operator/() [2/2]

template<typename T >
template<typename T2 >
TL1TracksCatCounters< double > TL1TracksCatCounters< T >::operator/ ( TL1TracksCatCounters< T2 > & a)
inline

Friends And Related Symbol Documentation

◆ operator<< [1/2]

template<typename T >
std::fstream & operator<< ( std::fstream & strm,
const TL1TracksCatCounters< T > & a )
friend

Definition at line 86 of file CbmL1Counters.h.

◆ operator<< [2/2]

template<typename T >
std::ostream & operator<< ( std::ostream & strm,
const TL1TracksCatCounters< T > & a )
friend

Definition at line 95 of file CbmL1Counters.h.

◆ operator>>

template<typename T >
std::fstream & operator>> ( std::fstream & strm,
TL1TracksCatCounters< T > & a )
friend

Definition at line 104 of file CbmL1Counters.h.

Member Data Documentation

◆ counters


The documentation for this struct was generated from the following file: