Skip to content

Reading specialConfig metadata in CA-based configurations

John Derek Chapman requested to merge jchapman/athena:QSPSim_CA_master into master

This merge request re-implements the input file metadata-based specialConfigurations for simulation and digitization used for SUSY and exotics samples.

They now share a single ConfigFlag: flags.Input.SpecialConfiguration which is a dictionary filled automatically based on peeking at the input file metadata via MetaReader. Any old-style preIncludes listed in the specialConfig metadata are converted into the corresponding preInclude and postInclude functions. Extra-hooks to execute these methods are added to the CA-based skeleton modules in the SimuJobTransforms package.

Initially the methods themselves are contained in modules in the relevant G4Extensions packages, but potentially these could be moved elsewhere in the future.

ART jobs comparing the output of CG- and CA-based configurations are also added. Support for Rhadrons jobs will be added in a separate MR.

As part of this work the CA-based configuration of the PhysicsListSvc was also cleaned-up.

Edited by John Derek Chapman

Merge request reports