Belle II Software  release-08-01-10
CountingObserver Class Reference

this observer does simply count the number of times, the attached Filter was used More...

Inheritance diagram for CountingObserver:
Collaboration diagram for CountingObserver:

Static Public Member Functions

template<class Var , typename ... otherTypes>
static void notify (const Var &, otherTypes ...)
 notifier counting how often a SelectionVariable was used
 
template<typename ... types>
static void notify (const types &...)
 static method used by the observed object to notify the observer. More...
 
template<typename ... types>
static bool initialize (const types &...)
 static method used by the observed object to initialize the observer it is called once usually from the user.
 
template<typename ... types>
static void prepare (const types &...)
 static method used by the observed object to prepare the observer it is called by the boolean filter operator.
 
template<typename ... types>
static void collect (const types &...)
 static method used by the observed object to prepare the observer it is called by the boolean filter operator.
 
template<typename ... types>
static void terminate (const types &...)
 static method used by the observed object to terminate the observer.
 

Detailed Description

this observer does simply count the number of times, the attached Filter was used

Definition at line 108 of file twoHitFilters.cc.

Member Function Documentation

◆ notify()

static void notify ( const types &  ...)
inlinestaticinherited

static method used by the observed object to notify the observer.

it is called at each accept.

Definition at line 37 of file VoidObserver.h.


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