11#include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
12#include <tracking/trackFindingVXD/filterMap/threeHitVariables/CircleCenterXY.h>
13#include <tracking/trackFindingVXD/filterMap/threeHitVariables/CircleRadius.h>
14#include <tracking/trackFindingVXD/filterTools/SelectionVariableHelper.h>
15#include <framework/geometry/B2Vector3.h>
29 template <
typename Po
intType >
36 static double value(
const PointType&
outerHit,
const PointType& centerHit,
const PointType& innerHit)
40 B2Vector3D circleCenter = CircleCenterXY<PointType>::value(
outerHit, centerHit, innerHit);
41 double circleRadius = CircleRadius<PointType>::calcAvgDistanceXY(
outerHit, centerHit, innerHit, circleCenter);
43 return circleRadius * Helper::s_MagneticFieldFactor;
calculates the estimation of the transverse momentum of the 3-hit-tracklet, returning unit: GeV/c.
PUT_NAME_FUNCTION(PT_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 ¢erHit, const PointType &innerHit)
calculates the estimation of the transverse momentum of the 3-hit-tracklet, returning unit: GeV/c
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.
contains a collection of functions and related stuff needed for SelectionVariables implementing 2-,...