Project
Loading...
Searching...
No Matches
testDigitizer.cxx File Reference
#include <boost/test/unit_test.hpp>
#include "CommonUtils/ConfigurableParam.h"
#include "DataFormatsMCH/Digit.h"
#include "MCHGeometryCreator/Geometry.h"
#include "MCHGeometryTest/Helpers.h"
#include "MCHGeometryTransformer/Transformations.h"
#include "MCHMappingInterface/Segmentation.h"
#include "MCHSimulation/Digitizer.h"
#include "MCHSimulation/DigitizerParam.h"
#include "MCHSimulation/Hit.h"
#include "SimulationDataFormat/MCCompLabel.h"
#include "SimulationDataFormat/MCTruthContainer.h"
#include "Field/MagneticField.h"
#include "TGeoManager.h"
#include "TGeoGlobalMagField.h"
#include "boost/format.hpp"
#include <boost/test/data/test_case.hpp>
#include <boost/property_tree/ptree.hpp>
#include <algorithm>
#include <unordered_map>

Go to the source code of this file.

Classes

struct  GEOMETRY
 

Macros

#define BOOST_TEST_MODULE   Test MCHSimulation Digitization
 
#define BOOST_TEST_DYN_LINK
 

Typedefs

using IR = o2::InteractionRecord
 

Functions

void initField (float l3Current, float dipoleCurrent)
 
 BOOST_AUTO_TEST_CASE (DigitizerTest)
 Test of the Digitization A couple of values are filled into Hits and we check whether we get reproducible output in terms of digits and MClabels.
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 16 of file testDigitizer.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test MCHSimulation Digitization

Definition at line 15 of file testDigitizer.cxx.

Typedef Documentation

◆ IR

Definition at line 40 of file testDigitizer.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( DigitizerTest  )

Test of the Digitization A couple of values are filled into Hits and we check whether we get reproducible output in terms of digits and MClabels.

Definition at line 113 of file testDigitizer.cxx.

◆ initField()

void initField ( float  l3Current,
float  dipoleCurrent 
)

Create the magnetic field map if not already done

Definition at line 55 of file testDigitizer.cxx.