11 #include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
14 #define DISTANCE2DXYSQUARED_NAME Distance2DXYSquared
23 template <
typename Po
intType>
31 static double value(
const PointType& outerHit,
const PointType& innerHit)
34 std::pow(outerHit.X() - innerHit.X(), 2) +
35 std::pow(outerHit.Y() - innerHit.Y(), 2);
This is the specialization for SpacePoints with returning floats, where value calculates the squared ...
PUT_NAME_FUNCTION(DISTANCE2DXYSQUARED_NAME)
is expanded as "static const std:string name(void)" frunction which returns name of the Class
static double value(const PointType &outerHit, const PointType &innerHit)
calculates the squared distance between the hits (2D on the X-Y-plane), returning unit: cm^2 for spee...
Base class of the selection variable objects used for pair filtering.
Abstract base class for different kinds of events.