BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
TL1TracksCatCounters< T > Struct Template Reference

counters used for efficiency calculation More...

#include <CbmL1Counters.h>

Inheritance diagram for TL1TracksCatCounters< T >:

Public Member Functions

 TL1TracksCatCounters ()
 TL1TracksCatCounters (int nCounters)
void AddCounter ()
void AddCounters (int nCounters)
TL1TracksCatCounters & operator+= (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 >

Definition at line 18 of file CbmL1Counters.h.

Constructor & Destructor Documentation

◆ TL1TracksCatCounters() [1/2]

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

Definition at line 20 of file CbmL1Counters.h.

References counters, and NCounters.

Referenced by operator+(), operator+=(), operator/(), operator/(), operator<<, operator<<, and operator>>.

Here is the caller graph for this function:

◆ TL1TracksCatCounters() [2/2]

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

Definition at line 26 of file CbmL1Counters.h.

References counters, and NCounters.

Member Function Documentation

◆ AddCounter()

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

Definition at line 33 of file CbmL1Counters.h.

References counters, and NCounters.

◆ AddCounters()

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

Definition at line 38 of file CbmL1Counters.h.

References counters, and NCounters.

◆ Div()

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

Definition at line 123 of file CbmL1Counters.h.

Referenced by operator/(), and operator/().

Here is the caller graph for this function:

◆ operator+()

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

Definition at line 57 of file CbmL1Counters.h.

References TL1TracksCatCounters().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 44 of file CbmL1Counters.h.

References TL1TracksCatCounters(), counters, and NCounters.

Here is the call graph for this function:

◆ operator/() [1/2]

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

Definition at line 80 of file CbmL1Counters.h.

References TL1TracksCatCounters(), counters, Div(), and NCounters.

Here is the call graph for this function:

◆ operator/() [2/2]

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

Definition at line 65 of file CbmL1Counters.h.

References TL1TracksCatCounters(), counters, Div(), and NCounters.

Here is the call graph for this function:

◆ operator<< [1/2]

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

Definition at line 89 of file CbmL1Counters.h.

References TL1TracksCatCounters(), counters, and NCounters.

◆ operator<< [2/2]

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

Definition at line 98 of file CbmL1Counters.h.

References TL1TracksCatCounters(), counters, and NCounters.

◆ operator>>

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

Definition at line 107 of file CbmL1Counters.h.

References TL1TracksCatCounters(), counters, and NCounters.

Member Data Documentation

◆ counters

template<typename T>
vector<T> TL1TracksCatCounters< T >::counters

◆ NCounters


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