Belle II Software  release-05-02-19
FourHitFilters.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jakob Lettenbichler *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include "tracking/vxdCaTracking/FourHitFilters.h"
12 #include <math.h>
13 
14 using namespace std;
15 using namespace Belle2;
16 
18 
19 
20 double FourHitFilters::calcDeltapT()
21 {
22  if (m_circleCalculated == false) { calcCircle(); }
23  return fabs(m_threeHitFilter.calcPt(m_radiusABC -
24  m_radiusBCD)); // , or, pT[GeV/c] = 0.299710*B[T]*r[m] = 0,449565*r[cm]/100 = 0.00449565*r[cm]
25 }
26 
27 
28 
29 double FourHitFilters::calcDeltaDistCircleCenter() // instead of comparing both distance2IP-values, the real circleCenters will be compared
30 {
31  if (m_circleCalculated == false) { calcCircle(); }
32  return (fabs(m_centerABC.Perp() - m_centerBCD.Perp())); // distance between both guesses of the intersection point
33 } // return unit: cm
34 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19