11#include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
15#define DISTANCE3DSQUARED_NAME Distance3DSquared
24 template <
typename Po
intType>
33 static double value(
const PointType&
outerHit,
const PointType& innerHit)
37 std::pow(
outerHit.X() - innerHit.X(), 2) +
38 std::pow(
outerHit.Y() - innerHit.Y(), 2) +
39 std::pow(
outerHit.Z() - innerHit.Z(), 2) ;
33 static double value(
const PointType&
outerHit,
const PointType& innerHit) {
…}
This is the specialization for SpacePoints with returning floats, where value calculates the squared ...
static double value(const PointType &outerHit, const PointType &innerHit)
calculates the squared distance between the hits (3D), returning unit: cm^2 for speed optimization
PUT_NAME_FUNCTION(DISTANCE3DSQUARED_NAME)
is replaced by "static const std:string name(void)" frunction which returns name of the Class
B2Vector3D outerHit(0, 0, 0)
testing out of range behavior
Abstract base class for different kinds of events.