Belle II Software development
FourHitFilters.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#include "tracking/vxdCaTracking/FourHitFilters.h"
10#include <math.h>
11
12using namespace Belle2;
13
15
16
18{
19 if (m_circleCalculated == false) { calcCircle(); }
21 m_radiusBCD)); // , or, pT[GeV/c] = 0.299710*B[T]*r[m] = 0,449565*r[cm]/100 = 0.00449565*r[cm]
22}
23
24
25
26double FourHitFilters::calcDeltaDistCircleCenter() // instead of comparing both distance2IP-values, the real circleCenters will be compared
27{
28 if (m_circleCalculated == false) { calcCircle(); }
29 return (fabs(m_centerABC.Perp() - m_centerBCD.Perp())); // distance between both guesses of the intersection point
30} // return unit: cm
31
DataType Perp() const
The transverse component (R in cylindrical coordinate system).
Definition: B2Vector3.h:200
double calcDeltaDistCircleCenter()
calculates ddist2IP-value directly (ddist2IP= difference in magnitude of the points of closest approa...
double m_radiusABC
estimation of the radius of the circle using hits A, B & C
B2Vector3D m_centerABC
estimation of a circleCenterPosition using hits A, B & C
double m_radiusBCD
estimation of a radius of the circle using hitsBA, C & D
bool m_circleCalculated
initially set to false, will be set true if calcCircle() is used at least once
double calcDeltapT()
calculates dpt-value (dpt= difference in transverse momentum of 2 subsets of the hits),...
void calcCircle()
calculates an estimation of circleCenter position including an estimation for the circle radius
ThreeHitFilters m_threeHitFilter
instance of ThreeHitFilters-class used for some internal calculations
B2Vector3D m_centerBCD
estimation of a circleCenterPosition using hitsBA, C & D
double calcPt()
calculates the estimation of the transverse momentum of the 3-hit-tracklet, returning unit: GeV/c
Abstract base class for different kinds of events.