5#ifndef DCMATH_SORTDCSBYY_H
6#define DCMATH_SORTDCSBYY_H
19 if (dc1.
id() == dc2.
id())
return false;
28 if (dc1.
id() == dc2.
id())
return true;
37 if (sameTube(dc1, dc2))
return false;
40 if (std::abs(dc1.
y() - dc2.
y()) > 1.)
return false;
43 if (std::abs(dc1.
x() - dc2.
x()) > 31.)
return false;
This class represents a drift time measurement.
const MdtId & id() const
access to identifier
double x() const
direct access to local x position
double y() const
direct access to local y position
Workaround x86 precision issues for FP inequality comparisons.
bool less(double a, double b)
Compare two FP numbers, working around x87 precision issues.
Function object to check whether two Segments are sub/super sets or different.
bool operator()(const DriftCircle &dc1, const DriftCircle &dc2) const
bool operator()(const DriftCircle &dc1, const DriftCircle &dc2) const
bool operator()(const DriftCircle &dc1, const DriftCircle &dc2) const