11#include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
13#define DISTANCE1DZSQUARED_NAME Distance1DZSquared
22 template <
typename Po
intType >
29 static double value(
const PointType&
outerHit,
const PointType& innerHit)
31 return std::pow(
double(
outerHit.
Z() - innerHit.Z()), 2);
DataType Z() const
access variable Z (= .at(2) without boundary check)
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 in Z (in 1D), returning unit: cm^2
PUT_NAME_FUNCTION(DISTANCE1DZSQUARED_NAME)
is replaced by "static const std:string name(void)" frunction which returns name of the Class (CLASS_...
Base class of the selection variable objects used for pair filtering.
B2Vector3D outerHit(0, 0, 0)
testing out of range behavior
Abstract base class for different kinds of events.