11#include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
14#define COSDIRECTIONXY_NAME CosDirectionXY
24 template <
typename Po
intType >
31 static double value(
const PointType&
outerHit,
const PointType& innerHit)
35 result /=
sqrt(innerHit.X() * innerHit.X() + innerHit.Y() * innerHit.Y());
DataType X() const
access variable X (= .at(0) without boundary check)
DataType Y() const
access variable Y (= .at(1) without boundary check)
This is a specialization returning floats, where value calculates the cos of the angle of the segment...
static double value(const PointType &outerHit, const PointType &innerHit)
calculates the distance between the hits in z (1D), returning unit: cm
PUT_NAME_FUNCTION(COSDIRECTIONXY_NAME)
is replaced by "static const std:string name(void)" frunction which returns name of the Class
Base class of the selection variable objects used for pair filtering.
double sqrt(double a)
sqrt for double
B2Vector3D outerHit(0, 0, 0)
testing out of range behavior
Abstract base class for different kinds of events.