12 #include <tracking/trackFindingCDC/filters/base/RelationFilter.dcl.h>
14 #include <tracking/trackFindingCDC/filters/base/Filter.icc.h>
21 namespace TrackFindingCDC {
22 template<
class AObject>
25 template<
class AObject>
28 template<
class AObject>
30 AObject* from __attribute__((unused)),
31 const std::vector<AObject*>& objects)
const
36 template<
class AObject>
38 const AObject& to __attribute__((unused)))
43 template<
class AObject>
46 const AObject* from = relation.
getFrom();
47 const AObject* to = relation.
getTo();
49 if (from == to)
return NAN;
50 if ((from ==
nullptr) or (to ==
nullptr))
return NAN;
51 return operator()(*from, *to);