Update photon vertex decoration in EGAM10 and HIGG1 (ATEAM-939)
Following up on the conflict of decorations discussed in https://its.cern.ch/jira/browse/ATEAM-939, this MR addresses the error
DiphotonVertexK... ERROR SG::ExcStoreLocked: Attempted to modify auxiliary data in a locked store: `::zvertex' (2615)
The problematic variable is computed in the PhotonPointingTool
https://gitlab.cern.ch/atlas/athena/-/blob/main/PhysicsAnalysis/ElectronPhotonID/PhotonVertexSelection/Root/PhotonPointingTool.cxx#L54 used so far both in the PhotonSelectionWrapper
used in EGAM10 and PhotonVertexSelectionTool
used in HIGG1. The HIGG1 config is updated to use the new PhotonVertexSelectionWrapperKernelCfg
, shared with EGAM10. As a consequence, the use of the PhotonPointingTool
can be removed from the PhotonVertexSelectionTool
, since the relevant decorations are computed in the wrapper.
Solves ATEAM-939 as no conflict is observed with decorations in test_mc20CPandPAformats.sh
after this