Project
Loading...
Searching...
No Matches
testTRDIonisationModel.cxx File Reference

Checks the TRD gas collision model against its own tables. More...

#include <boost/test/unit_test.hpp>
#include "TRDSimulation/IonisationModel.h"
#include <TRandom3.h>
#include <cmath>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::trd
 

Macros

#define BOOST_TEST_MODULE   Test TRD IonisationModel
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

 o2::trd::BOOST_AUTO_TEST_CASE (TRDIonisationModel_meanEnergy)
 The sampled mean energy per cm reproduces the tabulated restricted dE/dx.
 
 o2::trd::BOOST_AUTO_TEST_CASE (TRDIonisationModel_zeroCollisions)
 The fraction of steps without a collision is Poisson, and scales with the charge squared.
 
 o2::trd::BOOST_AUTO_TEST_CASE (TRDIonisationModel_minimum)
 The collision rate has its minimum near beta*gamma 3-4, at 40-47 collisions per cm in Xe/CO2, and a plateau.
 
 o2::trd::BOOST_AUTO_TEST_CASE (TRDIonisationModel_collisionEnergy)
 A single collision transfers between the first grid energy (the ionisation potential) and the delta-ray cut.
 

Detailed Description

Checks the TRD gas collision model against its own tables.

Definition in file testTRDIonisationModel.cxx.

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 17 of file testTRDIonisationModel.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 16 of file testTRDIonisationModel.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test TRD IonisationModel

Definition at line 15 of file testTRDIonisationModel.cxx.