17 namespace TrackFindingCDC {
20 template<
class AFloat>
21 bool identicalFloat(AFloat lhs, AFloat rhs)
23 return rhs == lhs or (std::isnan(lhs) and std::isnan(rhs));
27 template<
class AFloat>
28 bool lessFloatHighNaN(AFloat lhs, AFloat rhs)
30 if (std::isnan(lhs))
return false;
31 if (std::isnan(rhs))
return true;
36 template<
class AFloat>
37 bool greaterFloatHighNaN(AFloat lhs, AFloat rhs)
39 if (std::isnan(rhs))
return false;
40 if (std::isnan(lhs))
return true;
Abstract base class for different kinds of events.