Belle II Software development
ProvideBasicInfoObserver Class Reference

this observer combines all the easy-to-get info retrievable by observers and prints it to screen More...

Inheritance diagram for ProvideBasicInfoObserver:
VoidObserver

Static Public Member Functions

template<class Var , class RangeType >
static void notify (const Var &filterType, typename Var::variableType fResult, const RangeType &range, const typename Var::argumentType &outerHit, const typename Var::argumentType &innerHit)
 notify function is called by the filter, this one combines all the easy-to-get info retrievable by observers and prints it to screen.
 
template<typename ... types>
static void notify (const types &...)
 static method used by the observed object to notify the observer.
 
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 combines all the easy-to-get info retrievable by observers and prints it to screen

Definition at line 656 of file observers.cc.

Member Function Documentation

◆ collect()

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

static method used by the observed object to prepare the observer it is called by the boolean filter operator.

Definition at line 55 of file VoidObserver.h.

55{};

◆ initialize()

static bool initialize ( const types &  ...)
inlinestaticinherited

static method used by the observed object to initialize the observer it is called once usually from the user.

Definition at line 43 of file VoidObserver.h.

43{ return true; };

◆ notify() [1/2]

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.

37{};

◆ notify() [2/2]

static void notify ( const Var &  filterType,
typename Var::variableType  fResult,
const RangeType &  range,
const typename Var::argumentType &  outerHit,
const typename Var::argumentType &  innerHit 
)
inlinestatic

notify function is called by the filter, this one combines all the easy-to-get info retrievable by observers and prints it to screen.

Definition at line 660 of file observers.cc.

665 {
666 CountUsedObserver::notify(filterType);
667 CountAcceptRejectObserver::notify(filterType, fResult, range, outerHit, innerHit);
668 CountBadCaseObserver::notify(filterType, fResult, range, outerHit, innerHit);
669 InfoObserver::notify(filterType, fResult, range, outerHit, innerHit);
670 }
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
Definition: observers.cc:414
static void notify(const Var &, typename Var::variableType fResult, otherTypes ...)
notifier counting how often a SelectionVariable was resulting in nan or inf
Definition: observers.cc:437
static void notify(const Var &, otherTypes ...)
notifier counting how often a SelectionVariable was used
Definition: observers.cc:398
static void notify(const Var &filterType, typename Var::variableType fResult, const RangeType &range, const typename Var::argumentType &outerHit, const typename Var::argumentType &innerHit)
notifier producing a info message if SelectionVariable was accepted and a Warning if otherwise
Definition: observers.cc:458
B2Vector3D outerHit(0, 0, 0)
testing out of range behavior

◆ prepare()

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

static method used by the observed object to prepare the observer it is called by the boolean filter operator.

Definition at line 49 of file VoidObserver.h.

49{};

◆ terminate()

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

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

Definition at line 67 of file VoidObserver.h.

67{};

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