10#include <tracking/trackFindingCDC/filters/base/OberverFilter.dcl.h>
12#include <tracking/trackFindingCDC/numerics/Weight.h>
14#include <framework/logging/Logger.h>
23 namespace TrackFindingCDC {
25 template<
class AFilter>
28 B2INFO(
"Filter said " << m_yesAnswers <<
" times yes and " << m_noAnswers <<
" times no.");
32 template<
class AFilter>
35 Weight result = Super::operator()(
object);
36 if (std::isnan(result)) {
Weight operator()(const Object &object) override
Function to evaluate the object.
void terminate() override
Terminate the filter after event processing.
typename AFilter::Object Object
Object type to be filtered.
Abstract base class for different kinds of events.