Functions | |
template<class valType > | |
constexpr valType | roundIfNear0 (valType value, double tolerance=1.e-7) |
template<class valType > | |
constexpr valType | roundVecIfNear0 (valType value, double tolerance=1.e-7) |
|
inlineconstexpr |
Definition at line 11 of file Rounding.h.
References funct::abs(), and tolerance.
Referenced by CSCGeometryParsFromDD::build(), TrackExtenderWithMTDT< TrackCollection >::buildTrack(), and roundVecIfNear0().
|
inlineconstexpr |
Definition at line 18 of file Rounding.h.
References roundIfNear0(), and tolerance.
Referenced by DTGeometryTest::analyze().