Analysis Software
Documentation for sPHENIX simulation software
|
Go to the source code of this file.
Functions | |
bool | operator== (const TestSpacePoint &a, const TestSpacePoint &b) |
Helper operator for comparing the test spacepoints. | |
std::ostream & | operator<< (std::ostream &out, const TestSpacePoint &sp) |
Output / print operator for TestSpacePoint . | |
Variables | |
static constexpr float | allowedDiff = std::numeric_limits<float>::epsilon() * 4 |
Difference allowed on floating point numbers to still be treated equal. | |
std::ostream& operator<< | ( | std::ostream & | out, |
const TestSpacePoint & | sp | ||
) |
Output / print operator for TestSpacePoint
.
Definition at line 26 of file TestSpacePoint.cpp.
View newest version in sPHENIX GitHub at line 26 of file TestSpacePoint.cpp
References TestSpacePoint::m_surface, TestSpacePoint::m_x, TestSpacePoint::m_y, TestSpacePoint::m_z, and out.
bool operator== | ( | const TestSpacePoint & | a, |
const TestSpacePoint & | b | ||
) |
Helper operator for comparing the test spacepoints.
Definition at line 20 of file TestSpacePoint.cpp.
View newest version in sPHENIX GitHub at line 20 of file TestSpacePoint.cpp
References allowedDiff, TestSpacePoint::m_x, TestSpacePoint::m_y, and TestSpacePoint::m_z.
|
static |
Difference allowed on floating point numbers to still be treated equal.
Definition at line 18 of file TestSpacePoint.cpp.
View newest version in sPHENIX GitHub at line 18 of file TestSpacePoint.cpp
Referenced by operator==().