Skip to content

Online raw digi loader

  • Allows a similar conversion/inspection at Raw Digis level as was done before at DigiEvents level.
  • Tool macro was used to cross check the changes in mapping for mTOF did not have side-effects for the 2022 data
    • True between "old unpacker" output trees before/after the mapping changes
    • True between "online unpacker" output files before/after the mapping changes
    • False between "old unpacker" and "online unpacker" in both case, beyond just missing leaves like Pulse ones
      => I think we will need a further cross-check with both the mCBM 2022 and 2024 data, as my feeling from these test is that the online unpacker does not reproduces 1:1 the old unpacker
      => May be due to some parameters getting out of sync or some missing/extra corrections (walks?)
      => But the unpacking stage of online and offline should never differ in any of the Time/TOT-Charge/Address fields of the output digis!
  • Also include a fix to the Digi Events inspection macro to allow stopping after a given number of TS

Usage example:

./build_local/bin/cbmreco --steps Unpack -i /scratch/mcbm_data/mcbm2022/2391_first20Ts.tsa --param-dir ./parameters/online/ -O RawDigi -o crosscheck_online_2391.out
cd macro/run
root -l -b -q 'run_convert_online_rawdigis.C("../../crosscheck_online_2391.out", "data/online_2391.root")'
cd -
cd build_local
ctest -R mcbm_unpack_2391
cd -
cd macro/tools
root -l -b -q 'TreeCompareAuto.C("../../build_local/macro/run/data/2391_first20Ts.digi.root", "../run/data/online_2391.root")'

Probably of interest to @v.friese, @a.toia, @n.herrmann, @fweig, @d.smith, @dschledt

Unpackers validation:

  • BMON
  • STS
  • TRD2D
  • TRD1D
  • TOF
  • RICH
Edited by Pierre-Alain Loizeau

Merge request reports