Skip to content

Stopped TriggerAnalysisSFBlock from trying to calculate trigger scale factors to data

Jeremy Wilkinson requested to merge jjwilkin-fix-trigger-sf-on-data into main

As implemented before this change, the TriggerAnalysisBlock would crash if one does not provide a mc campaign to the ConfigAccumulator, even when running in data. The change in this MR disables the TriggerAnalysisSFBlock from adding the TriggerGlobalEffCorrAlg to the algorithm sequence if the ConfigAccumulator is configured for data.

If you would rather I disable the TriggerAnalysisBlock from configuring the TriggerAnalysisSFBlock in the first place, please let me know and I'll make that change.

Edited by Jeremy Wilkinson

Merge request reports