Belle II Software development
TrackFindingCDCTestWithTopology 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 <TrackFindingCDCTestWithTopology.h>

Inheritance diagram for TrackFindingCDCTestWithTopology:
TestWithGearbox DISABLED_Long_TrackFindingCDCTestWithTopology TrackFindingCDCTestWithSimpleSimulation SecondaryWireNeighborhoodTest TrackFindingCDCTestRootification< T >

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="TrackFindingCDCTest*"

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

Run

$ test_tracking –gtest_filter="-TrackFindingCDCTest*"

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

Alternativelly it is now possible to run

$ test_tracking_trackFindingCDC

as a separate executable.

Definition at line 43 of file TrackFindingCDCTestWithTopology.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 19 of file TrackFindingCDCTestWithTopology.cc.

20{
23
24 // Prepare the wires for the cdc track finders.
26}
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 28 of file TrackFindingCDCTestWithTopology.cc.

29{
31}
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: