![]() |
Belle II Software
release-08-02-04
|
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. More... | |
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.
|
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.