Skip to content

Add protection for running PRW CP algo config block on data

Oliver Majersky requested to merge omajersk/athena:PRW-data-CPalgo-fix into main

This is a somewhat "convenience" kind-of bugfix. Right now if one uses the default PRW profiles and auto-configuration based on campaign, the ConfigBlock for PRW crashes on data because of a missing protection. This MR fixes that. This allows us to have some block configuration for both MC and data for PRW, where for data it simply gracefully ignores the configuration, and still sets up some useful branches to be auto-written into NTuple (eventNumber and runNumber).

Merge request reports