Summary
Generating the parameter files from a geometry
The following ordered steps should be performed in order to produce the parameter files for the TRD system. All files and directories are given relative to the CbmRoot source directory.
- Run the create geometry macro. Examples of such macro can be found in macro/trd/geometry/trd.v?? or macro/mcbm/geometry/trd and are named Create_TRD_Geometry_[tag].C where tag is a unique identifier of the geometry. Examples are tag = "v22a_mcbm". The following files will be created by the previous procedure:
- trd_[tag].geo.info;
- trd_[tag].geo.root;
- trd_[tag]_geo.root;
- CbmTrdPads_[tag].h;
- In the case when the geometry of the pad-plane is not of a default type as implemented in core/detectors/trd/CbmTrdPads.h replace also this file with the one newly generated CbmTrdPads_[tag].h. Compile the code by running make install on your build directory.
- Copy the first two files from the list above to $VMCWORKDIR/geometry/trd.
- Execute macro/trd/create_digipar_root.sh tag. The following four files will be created:
- trd_[tag].asic.par
- trd_[tag].digi.par
- trd_[tag].gain.par
- trd_[tag].gas.par
- Move these files to the $VMCWORKDIR/parameters/trd directory.
Run simulation
In the macro/trd directory execute the following scripts:
- root -l run_sim.C
- root -l run_reco.C
- root -l eventDisplay.C
Standard file contains only 5 events for run_sim in input/urqmd.ftn14. If you need more, get urqmd.auau.25gev.centr.0000.ftn14 from here and link it to the input directory.
TRD macros
Macro name | Description |
---|---|
sim.C | makes the transport of UrQMD events. Output files are test.mc.root and test.mc.param.root |
Sts.C | runs reconstruction in the STS. Output file is test.stsTracks.root |
CbmTrdHitProducer.C | produces TRD hits from TRD points. Output file is test.trdHits.root |
TrdTrackFinderIdeal.C | runs ideal TRD track finder and Kalman Filter track fitter together with performance tasks. Output file is test.trdIdealTracks.root |
TrdTrackFinderSts.C | runs TRD track finder, based on track following from STS approach. Found tracks are fitted using the Kalman Filter fitter. Output file is test.trdTracks.root |