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 <framework/geometry/B2Vector3.h>
16 #define DELTACIRCLERADIUS_NAME DeltaCircleRadius
26 template <
typename Po
intType >
36 static double value(
const PointType& outerHit,
const PointType& outerCenterHit,
const PointType& innerCenterHit,
37 const PointType& innerHit)
40 B2Vector3D outerCircleCenter = CircleCenterXY<PointType>::value(outerHit, outerCenterHit, innerCenterHit);
41 double outerCircleRadius =
42 CircleRadius<PointType>::calcAvgDistanceXY(outerHit, outerCenterHit, innerCenterHit, outerCircleCenter);
44 B2Vector3D innerCircleCenter = CircleCenterXY<PointType>::value(outerCenterHit, innerCenterHit, innerHit);
45 double innerCircleRadius =
46 CircleRadius<PointType>::calcAvgDistanceXY(outerCenterHit, innerCenterHit, innerHit, innerCircleCenter);
48 return outerCircleRadius - innerCircleRadius;
calculates delta-circleRadius-value (difference in circle radii of 2 subsets of the hits),...
static double value(const PointType &outerHit, const PointType &outerCenterHit, const PointType &innerCenterHit, const PointType &innerHit)
calculates dpt-value (dpt= difference in transverse momentum of 2 subsets of the hits),...
PUT_NAME_FUNCTION(DELTACIRCLERADIUS_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.
Abstract base class for different kinds of events.