11#include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
12#include <boost/math/special_functions/sign.hpp>
14#include <framework/geometry/B2Vector3.h>
16#define SIGNCURVATUREXY_NAME SignCurvatureXY
27 template <
typename Po
intType >
38 static int value(
const PointType& a,
const PointType& b,
const PointType& c)
40 using boost::math::sign;
41 B2Vector3D ba(a.X() - b.X(), a.Y() - b.Y(), 0.0);
42 B2Vector3D bc(b.X() - c.X(), b.Y() - c.Y(), 0.0);
B2Vector3< DataType > Orthogonal() const
Vector orthogonal to this one.
calculates the sign of the curvature for three hits
PUT_NAME_FUNCTION(SIGNCURVATUREXY_NAME)
is replaced by "static const std:string name(void)" frunction which returns name of the Class
static int value(const PointType &a, const PointType &b, const PointType &c)
calculates calculates the sign of the curvature of given 3-hit-tracklet.
Base class of the selection variable objects used for pair filtering.
Abstract base class for different kinds of events.