#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.
|
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.
|
|
◆ BOOST_TEST_DYN_LINK
#define BOOST_TEST_DYN_LINK |
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE Test MCHSimulation Digitization |
◆ IR
◆ 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.