![]() |
Belle II Software release-09-00-03
|
Observer listening to the number of yes and no answers from the filter. More...
#include <ObserverFilter.dcl.h>


Public Types | |
| using | Object = typename AFilter::Object |
| Object type to be filtered. | |
Public Member Functions | |
| void | terminate () override |
| Terminate the filter after event processing. | |
| Weight | operator() (const Object &object) override |
| Function to evaluate the object. | |
Private Types | |
| using | Super = AFilter |
| Type of the filter base class. | |
Private Attributes | |
| unsigned int | m_yesAnswers = 0 |
| Number of counted yes answers. | |
| unsigned int | m_noAnswers = 0 |
| Number of counted no answers. | |
Observer listening to the number of yes and no answers from the filter.
Definition at line 21 of file ObserverFilter.dcl.h.
| using Object = typename AFilter::Object |
Object type to be filtered.
Definition at line 32 of file ObserverFilter.dcl.h.
|
private |
Type of the filter base class.
Definition at line 25 of file ObserverFilter.dcl.h.
|
override |
Function to evaluate the object.
Base implementation rejects all objects.
| object | The object to be accepted or rejected. |
Definition at line 33 of file ObserverFilter.icc.h.
|
override |
Terminate the filter after event processing.
Definition at line 26 of file ObserverFilter.icc.h.
|
private |
Number of counted no answers.
Definition at line 54 of file ObserverFilter.dcl.h.
|
private |
Number of counted yes answers.
Definition at line 51 of file ObserverFilter.dcl.h.