Skip to content

Much Unpack parameters for run 2391

Dominik Smith requested to merge d.smith/cbmroot:MuchParameters2391 into master

The purpose of this MR is to implement the appropriate parameters for the MUCH unpacker for the upcoming data challenge, which will process run 2391.

Currently the parameters for cbm::algo::UnpackMuch are hard-coded and are stored in the files algo/detectors/much/MuchReadoutConfig.*. The numbers in these files were originally taken from macro/beamtime/mcbm2022/mMuchPar.par and /core/detectors/much/CbmMuchUnpackPar. As the original source files appear to have been edited and/or renamed it seems unlikely that the numbers we currently have are usable. I find it hard / impossible to reconstruct which run they originally applied to. Some fields apparently are also from CbmMcbm2018MuchPar and contradict the contents of the current CbmMuchUnpackPar.

The numbers are then further processed through a MuchReadoutConfig::CreateMuchAddress() function, which applies various remappings. This function was taken from the original /reco/detectors/much/unpack/CbmMuchUnpackAlgo.cxx and at least appears to not have changed.

We will definitely need some streamlined system for these parameters at some point, but for the upcoming beamtime I would propose to simply replace the hard-coded number with those appropriate for run 2391. So can someone please point me to the correct files?

From the recent run_unpack_tsa.C macro I take that the correct .par file is mMuchParUpto26052022.par. This should then be combined with numbers from CbmMcbm2018MuchPar or CbmMuchUnpackPar. The question is which of these take precedence in the case of contradiction. Also, it would be important to know whether CreateMuchAddress() can be assumed to be unchanged.

@v.friese @v.singhal @p.-a.loizeau

Merge request reports