CPAlgorithms: additional variables for photons
Introduce a new config block PhotonExtraVariablesBlock
(labelled "Photons.ExtraVariables" in YAML) to save the photon conversion type and calorimeter eta to the output - these are needed for photon categorisation and fake background estimation.
The algorithm has been written and tested by @niabicht in TopCPToolkit. (Nils: I made the variables systematic-independent, is that correct?)
It can be scheduled in YAML very simply
Photons:
- containerName: 'AnaPhotons'
ExtraVariables: {}
WorkingPoint:
- ...
Edited by Baptiste Ravina