|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
bool operator()(const DriftCircle &dc1, const DriftCircle &dc2) const
Function object to check whether two Segments are sub/super sets or different.
double x() const
direct access to local x position
This class represents a drift time measurement.
bool operator()(const DriftCircle &dc1, const DriftCircle &dc2) const
Workaround x86 precision issues for FP inequality comparisons.
bool less(double a, double b)
Compare two FP numbers, working around x87 precision issues.
const MdtId & id() const
access to identifier
bool operator()(const DriftCircle &dc1, const DriftCircle &dc2) const
double y() const
direct access to local y position