Calculation of min dR from a Hit to a track
I added a new standalone algorithm for 2 Trackless variables. Linking issue 139
At the moment, the algorithm is not optimised. The following problems occur:
-
The algorithm is slow since it loops over all hits/tracks. Can this be scheduled after some track/hit cleaning? -
The algorithm uses the global position of hits, although it would make sense to use the local positions. If the algorithm is called later, this could be fixed more easily. Otherwise, the vertex calculation would have to be called again.
The plot is with the global variable, with local it should peak basically at 0