Import the Z vertex finder from space points
There is a simple algorithm based on Hans Drevermann's z vertex finder which already has been transcribed into acts-core
. The code is already written and needs only to be cleaned up.
It takes combinations of spacepoints and extrapolates them to the beam line in order to histogram vertices, see attached sample plot for a test event: