11 #include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
14 #define DISTANCE3DNORMED_NAME Distance3DNormed
22 template <
typename Po
intType >
37 static double value(
const PointType& outerHit,
const PointType& innerHit)
41 (std::pow(outerHit.X() - innerHit.X(), 2)
42 + std::pow(outerHit.Y() - innerHit.Y(), 2))
44 (std::pow(outerHit.X() - innerHit.X(), 2)
45 + std::pow(outerHit.Y() - innerHit.Y(), 2)
46 + std::pow(outerHit.Z() - innerHit.Z(), 2));
49 (std::isnan(result) || std::isinf(result)) ? 0 : result;
This is the specialization for SpacePoints with returning floats, where value calculates the normed d...
PUT_NAME_FUNCTION(DISTANCE3DNORMED_NAME)
is replaced by "static const std:string name(void)" frunction which returns name of the Class
static double value(const PointType &outerHit, const PointType &innerHit)
calculates the normed distance between the hits (3D), returning unit: none.
Base class of the selection variable objects used for pair filtering.
Abstract base class for different kinds of events.