Belle II Software development
TrackingUtilitiesTestWithTopology Class Reference

This class provides the declaration of the common test fixture to all test of the track finding in the CDC code. More...

#include <TrackingUtilitiesTestWithTopology.h>

Inheritance diagram for TrackingUtilitiesTestWithTopology:
TestWithGearbox TrackFindingCDCTestWithSimpleSimulation DISABLED_Long_TrackingUtilitiesTestWithTopology

Static Public Member Functions

static void SetUpTestCase ()
 Implementation of hook method to setup the environment for all tests in this test case Unpacks the wire topology from the CDCGeometryPar.
 
static void TearDownTestCase ()
 Implementation of hook method to clean up the environment for all tests in this test case.
 

Detailed Description

This class provides the declaration of the common test fixture to all test of the track finding in the CDC code.

Reminder: You can filter for specific test by running

$ test_tracking –gtest_filter="TrackingUtilitiesTest*"

which runs only for track finding in the CDC (positive match).

Run

$ test_tracking –gtest_filter="-TrackingUtilitiesTest*"

to exclude test with this fixture. Also consider test_tracking –help for more details

Definition at line 37 of file TrackingUtilitiesTestWithTopology.h.

Member Function Documentation

◆ SetUpTestCase()

void SetUpTestCase ( )
static

Implementation of hook method to setup the environment for all tests in this test case Unpacks the wire topology from the CDCGeometryPar.

Manually open the database and prepare the cdc geometry parameters.

Definition at line 21 of file TrackingUtilitiesTestWithTopology.cc.

22{
25
26 // Prepare the wires for the cdc track finders.
28}
static void loadDatabase()
Helper function to open the database - only for tests offside the standard event processing.
static CDCWireTopology & getInstance()
Getter for the singleton instance of the wire topology.

◆ TearDownTestCase()

void TearDownTestCase ( )
static

Implementation of hook method to clean up the environment for all tests in this test case.

Definition at line 30 of file TrackingUtilitiesTestWithTopology.cc.

31{
33}
static void closeDatabase()
Helper function to close and reset the database - only for tests offside the standard event processin...

The documentation for this class was generated from the following files: