Skip to content

Switch CP algs to ConfigBlock configuration

Teng Jian Khoo requested to merge khoo/easyjet:config-block-ath into master

Follow up to !257 (closed)

This requires a new AthAnalysis release with various fixes. For now it is expected to fail in CI.

Instead of building all calibration sequences independently as before and returning ComponentAccumulators, we have to build multiple ConfigSequences out of the component ConfigBlocks, and return those to cpalgs_config, then add the sequences together and use a ConfigAccumulator to stitch together the full setup. This addresses interdependencies between all the individual collections and MET + OR.

At least for now, we expect to use a separate ConfigAccumulator for the trigger and preselection so as not to have to pass ConfigAccumulators too far up into the main function of the executables. However, it is likely that we will propagate some information from the CP alg sequence to the TTree writing, so it may end up not being that big of an inconvenience to pass a ConfigAccumulator around alongside the flags.

Merge request reports