12#define BOOST_TEST_MODULE Test TrackLTIntegral class
13#define BOOST_TEST_MAIN
14#define BOOST_TEST_DYN_LINK
15#include <boost/test/unit_test.hpp>
33 const int nStep = 100;
34 const float dx2x0 = 0.01f;
35 for (
int i = 0;
i < nStep;
i++) {
36 lt.addStep(1., trc.getQ2P2());
37 lt1.addStep(1., trc1.getQ2P2());
44 float tc = lt.getL() * 1000.f / o2::constants::physics::LightSpeedCm2NS;
45 printf(
"TOF @ speed of light: %7.1f ps\n", tc);
46 for (
int i = 1;
i < lt.getNTOFs();
i++) {
50 BOOST_CHECK_CLOSE(lt1.getX2X0(), nStep * dx2x0, 1
e-4);
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char e
Header to collect physics constants.
Track Length and TOF integral.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
BOOST_AUTO_TEST_CASE(FlatHisto)