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) |
|
inline |
Definition at line 11 of file Rounding.h.
References funct::abs(), and tolerance.
Referenced by cms::rotation_utils::addRotWithNewName(), CSCGeometryParsFromDD::build(), TrackExtenderWithMTDT< TrackCollection >::buildTrack(), GeometricDet::computeLegacyShapeParameters(), PrintMTDSens::dumpTouch(), DDCoreToDDXMLOutput::position(), PGeometricDetBuilder::putOne(), AlignmentPI::returnZeroIfNear2PI(), DDCoreToDDXMLOutput::rotation(), cms::rotation_utils::roundBinary(), and roundVecIfNear0().
|
inline |
Definition at line 18 of file Rounding.h.
References roundIfNear0(), and tolerance.
Referenced by DTGeometryTest::analyze().