Pairwise Distances


Python

In Python, the Euclidean distance is supported as the ground distances between particles. The YPhi versions of the EMD and PairwiseEMD classes implement ground distances in the rapidity-azimuth plane, where the \phi coordinate is periodic.


C++

In C++, the PairwiseDistance class should be compatible with the ParticleCollection used by the Event class. It should derive from the templated PairwiseDistanceBase class, which uses the CRTP to provide static polymorphism.