Skip to content

RichTel40CableMapping: Only warning against missing source IDs in Tel40 link condition on use

Currently the RichTel40CableMapping derived condition object issues a warning if an expected Source ID is missing in the LHCb tell40 links condition object at initalisation time. This means this messages are issued even in the scenario where the RICH liks are OK to be missing, such as when a task is being run (such as monitors at the pit) when the RICHes are excluded from global.

This MR downgrades these messages to debug level, and instead issues a warning only if a request for data for a given source ID that was missing is made, i.e. during the decoding of the data for a given Source ID RawBank. In this scenario a warning is appropriate as the RawBank for a given RICH source ID should never be present in the data, without the tel40 links condition for that run containing the link information for that source ID.

FYI @rmatev

Edited by Christopher Rob Jones

Merge request reports