Belle II Software development
counter< T > Class Template Reference

a tiny counter class for counting stuff More...

Public Member Functions

 ~counter ()
 constructor.
 

Static Public Member Functions

static void resetCounter ()
 destructor.
 

Static Public Attributes

static unsigned int used
 count number of times used
 
static unsigned int accepted
 count number of times result was accepted
 
static unsigned int rejected
 count number of times result was rejected
 
static unsigned int wasInf
 count number of times result was inf
 
static unsigned int wasNan
 count number of times result was nan
 

Detailed Description

template<class T>
class VXDTFtwoHitFilterTest::counter< T >

a tiny counter class for counting stuff

Definition at line 72 of file twoHitFilters.cc.

Constructor & Destructor Documentation

◆ counter()

counter ( )
inline

Definition at line 79 of file twoHitFilters.cc.

79{};

◆ ~counter()

~counter ( )
inline

constructor.

Definition at line 80 of file twoHitFilters.cc.

80{};

Member Function Documentation

◆ resetCounter()

static void resetCounter ( )
inlinestatic

destructor.

resets all counters.

Definition at line 81 of file twoHitFilters.cc.

Member Data Documentation

◆ accepted

unsigned int accepted
static

count number of times result was accepted

Definition at line 75 of file twoHitFilters.cc.

◆ rejected

unsigned int rejected
static

count number of times result was rejected

Definition at line 76 of file twoHitFilters.cc.

◆ used

unsigned int used
static

count number of times used

Initialise all static variables.

Definition at line 74 of file twoHitFilters.cc.

◆ wasInf

unsigned int wasInf
static

count number of times result was inf

Definition at line 77 of file twoHitFilters.cc.

◆ wasNan

unsigned int wasNan
static

count number of times result was nan

Definition at line 78 of file twoHitFilters.cc.


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