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>
36 Weight value = Super::operator()(
object);
37 if (std::isnan(value) or value == 0)
return NAN;
typename ATruthVarSet::Object Object
Type of the filtered object.
Filter adapter to make a filter work on a set of variables and return on variable as the result of th...
~TruthVarFilter()
Default destructor.
TruthVarFilter()
Constructor.
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.