Skip to content

Move output tree definition and global CP alg setup to dedicated modules

I'm a fan of keeping top-level steering modules as clean as possible. To that end, I'd suggest defining dedicated CAs for:

  • TTree setup and writing
  • CP alg setup and writing

This way one could even disable all CP algs, or run just a subset with no calibration etc, which is useful for PHYSLITE. The exercise of extracting this into a separate module is probably helpful anyway for figuring out how much information needs to get passed to the responsible function.

It will be necessary of course to coordinate between the different parts of the configuration, what container names are needed as input to CP algs, as output for the TTrees and so on. But that needn't happen in one place.