CbmRoot
TL1TracksCatCounters< T > Struct Template Reference

counters used for efficiency calculation More...

#include <CbmL1Counters.h>

Inheritance diagram for TL1TracksCatCounters< T >:
[legend]
Collaboration diagram for TL1TracksCatCounters< T >:
[legend]

Public Member Functions

 TL1TracksCatCounters ()
 
 TL1TracksCatCounters (int nCounters)
 
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

int NCounters
 
vector< T > 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 17 of file CbmL1Counters.h.

Constructor & Destructor Documentation

◆ TL1TracksCatCounters() [1/2]

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

Definition at line 19 of file CbmL1Counters.h.

◆ TL1TracksCatCounters() [2/2]

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

Definition at line 20 of file CbmL1Counters.h.

Member Function Documentation

◆ AddCounter()

◆ AddCounters()

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

Definition at line 28 of file CbmL1Counters.h.

◆ Div()

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

Definition at line 110 of file CbmL1Counters.h.

Referenced by TL1TracksCatCounters< int >::operator/().

◆ operator+()

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

Definition at line 46 of file CbmL1Counters.h.

◆ operator+=()

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

Definition at line 33 of file CbmL1Counters.h.

◆ operator/() [1/2]

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

Definition at line 68 of file CbmL1Counters.h.

◆ operator/() [2/2]

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

Definition at line 53 of file CbmL1Counters.h.

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 76 of file CbmL1Counters.h.

◆ operator<< [2/2]

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

Definition at line 85 of file CbmL1Counters.h.

◆ operator>>

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

Definition at line 94 of file CbmL1Counters.h.

Member Data Documentation

◆ counters

◆ NCounters


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