Skip to content

tauRec and RecExCommon: fix standalone tau reconstruction from ESD

This MR fixes the standalone tau reconstruction from ESD that was still relying on the "UserAlgs" scheduling mechanism, which got deprecated recently:

Py:RecExCommon_flags ERROR updating UserAlgs to value ['tauRec/tauRec_jobOptions.py'] . WILL SOON NOT WORK ANYMORE ! Please update to filling directly jp.Rec.blah or jp.AthenaCommonFlags.blah

When this became deprecated (a few weeks ago), our standalone tau reconstruction scripts became dummy, nothing was scheduled anymore. So all the tauRec ART tests are currently useless :-(

In RAWtoESD, the tau reconstruction is conditional: jet reconstruction must run, as we use LCTopo jets to seed the tau reconstruction. So for the standalone tau reconstruction from ESD (where we don't rerun jet building), we have to bypass this condition in CombinedRec_config. Also, we need to force jobproperties.tauRecFlags.Enabled=True, as it is set to false in RecExCommon_flags.py. I also had to drop FlowElement containers from the AOD output, otherwise the tau thinning that we perform in the ESD->AOD step messes up the FE->tau links.

Cheers, Bertrand

Merge request reports