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 VXDTFtwoHitFilterTest::counter< T >

a tiny counter class for counting stuff

Definition at line 72 of file twoHitFilters.cc.

Member Function Documentation

◆ resetCounter()

static void resetCounter ( )
inlinestatic

destructor.

resets all counters.

Definition at line 81 of file twoHitFilters.cc.

Member Data Documentation

◆ used

unsigned int used
static

count number of times used

Initialise all static variables.

Definition at line 74 of file twoHitFilters.cc.


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