Belle II Software  release-08-01-10
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. More...
 

Static Public Attributes

static unsigned int used
 count number of times used More...
 
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 VXDTFObserversTest::counter< T >

a tiny counter class for counting stuff

Definition at line 182 of file observers.cc.

Member Function Documentation

◆ resetCounter()

static void resetCounter ( )
inlinestatic

destructor.

resets all counters.

Definition at line 191 of file observers.cc.

Member Data Documentation

◆ used

unsigned int used
static

count number of times used

Initialise all static variables.

Definition at line 184 of file observers.cc.


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