Skip to content

WIP: VSI Leptons bug fix in track selection

Dominique Trischuk requested to merge dtrischu/athena:VSI_Leptons_fix into 21.2

do_PVvetoCut in VSI track selection should remove any track that is associated to a primary vertex. This is implemented in the isAssociatedToVertices function.

However, when selecting tracks associated to electrons using the doSelectTracksFromElectrons option, the selected electron tracks are GSF track particles instead of inner detector track particles. This means that the current isAssociatedToVertices function does not properly check and remove prompt electrons. As a result, electrons associated to the primary vertices can show up in the displaced vertices when using the lepton-only vertex configuration.

This bug fix modifies the isAssociatedToVertices functionalists to correctly do the PV veto cut for GSF track particles when using the doSelectTracksFromElectrons option in VSI.

Merge request reports