10#include <tracking/trackFindingCDC/filters/base/TruthVarFilter.dcl.h>
12#include <tracking/trackFindingCDC/filters/base/ChoosableFromVarSetFilter.icc.h>
14#include <tracking/trackFindingCDC/numerics/Weight.h>
23 namespace TrackFindingCDC {
25 template <
class ATruthVarSet>
31 template <
class ATruthVarSet>
34 template<
class ATruthVarSet>
37 if (std::isnan(value) or value == 0)
return NAN;
Weight operator()(const Object &object) override
~TruthVarFilter()
Default destructor.
typename Super::Object Object
Type of the handled object.
TruthVarFilter()
Constructor.
ChoosableFromVarSetFilter< ATruthVarSet > Super
Type of the base class.
Weight operator()(const Object &object) override
Reject an item if the truth variable is 0, else accept it.
Abstract base class for different kinds of events.