Skip to content

Clean up of TRT_DriftFunctionTool

Thomas Strebler requested to merge tstreble/athena:TRT_DriftFunction_Clean into main

This MR provides a clean up of some redundant properties in TRT_DriftFunctionTool. In particular, since m_forcedata was initialised to true and never configured otherwise, we were always running in a configuration with m_isdata=true and m_ismc configured based on the input type. The function setupRtRelationMC and its hardcoded constants can consequently be removed in favour of the version reading the calibration from the database.

This was checked to keep Run 3 MC outputs unchanged.

Merge request reports