Skip to content

CPAlgorithms: add protection to containersOnlyForMC in Output config

Baptiste Ravina requested to merge ravinab/athena:ravinab-main-patch-b423 into main

Add a protection after a concern raised by @dbiswas that writing e.g.

Output:
  ...
  containers:
      mu_: 'OutMuons'
      el_: 'OutElectrons'
      jet_: 'OutJets'
      met_: 'AnaMET'
      '': 'EventInfo'
  containersOnlyForMC:
      '': 'TopPartonHistoryTtbar'

would silently discard the EventInfo variables.

This MR will force the user to specify unique keys for containersOnlyForMC.

Merge request reports