 |
Belle II Software
release-05-01-25
|
11 #include <tracking/trackFindingCDC/testFixtures/TrackFindingCDCTestWithTopology.h>
13 #include <tracking/trackFindingCDC/topology/CDCWireTopology.h>
14 #include <tracking/trackFindingCDC/topology/CDCGeometryLoader.h>
19 using namespace TrackFindingCDC;
39 bool Belle2::TestHelpers::allNear<Vector3D>(
const Vector3D& expected,
43 bool xNear = std::fabs(expected.
x() - actual.
x()) < tolerance;
44 bool yNear = std::fabs(expected.
y() - actual.
y()) < tolerance;
45 bool zNear = std::fabs(expected.
z() - actual.
z()) < tolerance;
46 return xNear and yNear and zNear;
static CDCWireTopology & getInstance()
Getter for the singleton instance of the wire topology.
double x() const
Getter for the x coordinate.
Abstract base class for different kinds of events.
static void TearDownTestCase()
Implementation of hook method to clean up the environment for all tests in this test case.
A three dimensional vector.
double y() const
Getter for the y coordinate.
static void closeDatabase()
Helper function to close and reset the database - only for tests offside the standard event processin...
static void SetUpTestCase()
Implementation of hook method to setup the environment for all tests in this test case Unpacks the wi...
double z() const
Getter for the z coordinate.
static void loadDatabase()
Helper function to open the database - only for tests offside the standard event processing.