11 #include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
12 #include <tracking/trackFindingVXD/filterMap/threeHitVariables/CircleCenterXY.h>
13 #include <framework/geometry/B2Vector3.h>
16 #define DELTADISTCIRCLECENTER_NAME DeltaDistCircleCenter
26 template <
typename Po
intType >
35 static double value(
const PointType& outerHit,
const PointType& outerCenterHit,
const PointType& innerCenterHit,
36 const PointType& innerHit)
39 B2Vector3<double> outerCircleCenter = CircleCenterXY<PointType>::value(outerHit, outerCenterHit, innerCenterHit);
41 B2Vector3<double> innerCircleCenter = CircleCenterXY<PointType>::value(outerCenterHit, innerCenterHit, innerHit);
43 return fabs(outerCircleCenter.
Perp() - innerCircleCenter.
Perp());
DataType Perp() const
The transverse component (R in cylindrical coordinate system).
calculates the distance between the estimated circle centers (using 2 subsets of given hits) in the x...
PUT_NAME_FUNCTION(DELTADISTCIRCLECENTER_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 &outerCenterHit, const PointType &innerCenterHit, const PointType &innerHit)
calculates the distance between the estimated circle centers (using 2 subsets of given hits) in the x...
Base class of the selection variable objects used for pair filtering.
Abstract base class for different kinds of events.