Skip to content

L1: get rid of material budget files

Sergey Gorbunov requested to merge se.gorbunov/cbmroot:matbudget into master
  • The material budget is now calculated during the tracker initialization. Pregenerated mat.budget files for subdetectors are not needed anymore.

  • The budget is calculated for the full setup, not for isolated detectors. It means, in particular, that the beam pipe budget is included in the material maps of detector stations.

  • The material is traced not with horizontal rays as before, but with radial rays from the interaction point. It makes the material budget more realistic.

  • Material between the tracking stations is added to the downstream station. (before it was ignored)

  • The map generator is multithreaded. The number of threads is taken from the environment variable OMP_NUM_THREADS.

  • For the electron setup ( 4 MVD + 8 STS), the generation of material maps takes 26.6 sec with one thread and 5.2 sec with 8 threads. With 64 threads, it takes 2.6 seconds.

  • Some properties of the material maps are calculated and printed at the end of the reconstruction: min/max/average radiation length for active and passive areas of the material maps. The "active area" is determined from the hit distribution.

PAL edit: Link to redmine issue corresponding to last commit of the MR for later reference: Refs #2939

Edited by Pierre-Alain Loizeau

Merge request reports