Detect and handle stations w/o modules in Trd TrackingInterface
Needed to handle the mTRD v25a
geometry where the TRD1D station had only the gibbet
and no module
, see discussion in !2142 (comment 53383)
=> If not done a station is looped on which tries to access non-existing module(s) parameters.
=> This patch will however only work if the TRD station without module is the last one in index. Any other cannot be handled due to the straight mapping vector index = station index
, so the patch introduces a FATAL
to catch this case in a semi-clean way.
=> There is still a further blocking point before enabling the mTRD in the mCBM 2025 Iron and Bismuth setups: the TRD2D station was moved out of acceptance and disabled (it was not operated due to HV problems), therefore it has 0 %
efficiency and fails the QA
macro test
=> Somebody should try to find the right setting for the QA YAMl files of these setups
@s.zharko please do not hesitate to heavily modify and/or reject this MR if you feel that the proposed solution is too "hacky"
Of interest to: @e.clerkin @apuntke @a.bercuci