Draft: Rich: Deterministic pixel addresses (CFV requirement), introduce CbmRichAddress
Compare changes
Context:
For the RICH CFV we decided to mask channels in the digitization step providing a masking file,
since the cameras are out of acceptance and the extra material is negligible for downstream detectors.
For more details see #3471
(Maybe of interest for @e.clerkin)
As mentioned by @f.uhlig in #2898, the current version uses
a simple counter for channel addresses and pmt Ids.
This may not be deterministic across different fairsoft versions, operating systems, compilers, etc.
-> A channel masking file may fail here
This MR:
Now the channel addresses and pmt Ids are derived from node paths (only supports v22-v24 for now),
instead of an unsafe counter. This is deterministic and allows to safely use a channel masking file.
Changes
CbmRichDigiMapManger
CbmRichDigiMapManger
-> CbmRichGeoHandler
CbmRichAddress
(similar to STS & FSD implementation)CbmRichGeoHandler
mapping from RICH pmt pixel node paths to RichAddress (deterministic)CbmRichMCbmDigiMapManager
TODO's