Skip to content

Allow PhotonVertexSelectionTool to process electron container

Tong Qiu requested to merge tqiu/athena:photonpointingupdate into main

The change allows PhotonVertexSelectionTool to process ElectronContainer. The code casts EgammaContainer to PhotonContainer because it needs to find the conversion vertices of the photons. The dynamic_cast will fail if the input container is electron.

Currently, the code returns a FAIL status code if the container is for electrons. This check is not necessary because the rest of code will treat electrons as unconverted photons.

This change is needed for the efficiency study of the vertex selection using Zee events.

Also tagging @mungo, @yahuang, @mihe, @yanght, @ancuetog, @smanzoni, @mumohdso and @dduda.

Edited by Tong Qiu

Merge request reports