The source project of this merge request has been removed.
Creation of the TrkToLeptonPVTool package
This new tool allows to define a new Primary Vertex using e.g. identified leptons from Z decay and checks compatibility of any track with new/old PV. It works on xAOD(beamspot for constraint is taken from Beamspot service) and on DAOD with xAOD::TrackParticles (beamspot is taken from EventInfo). This tool is intended for physics analyses where the global PV is not satisfactory and needs to be redefined using identified objects, e.g. leptons, gammas, V0s, etc.