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

this observer does simply count the number of times, the attached SelectionVariable was accepted or rejected More...

Inheritance diagram for CountAcceptRejectObserver:
Collaboration diagram for CountAcceptRejectObserver:

Static Public Member Functions

template<class Var , class RangeType >
static void notify (const Var &, typename Var::variableType fResult, const RangeType &range, const typename Var::argumentType &, const typename Var::argumentType &)
 notifier counting how often a SelectionVariable was accepted/rejected
 
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 SelectionVariable was accepted or rejected

Definition at line 410 of file observers.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: