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>
17 #define DELTAPT_NAME DeltaPt
27 template <
typename Po
intType >
35 static double value(
const PointType& outerHit,
const PointType& outerCenterHit,
const PointType& innerCenterHit,
36 const PointType& innerHit)
41 CircleCenterXY<PointType>::value(outerHit, outerCenterHit, innerCenterHit);
42 double outerCircleRadius =
43 CircleRadius<PointType>::calcAvgDistanceXY(outerHit, outerCenterHit, innerCenterHit, outerCircleCenter);
46 CircleCenterXY<PointType>::value(outerCenterHit, innerCenterHit, innerHit);
47 double innerCircleRadius =
48 CircleRadius<PointType>::calcAvgDistanceXY(outerCenterHit, innerCenterHit, innerHit, innerCircleCenter);
50 return fabs(Helper::calcPt(outerCircleRadius - innerCircleRadius));
calculates dpt-value (dpt= difference in transverse momentum 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(DELTAPT_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.
contains a collection of functions and related stuff needed for SelectionVariables implementing 2-,...