Belle II Software  release-06-01-15
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 
12 using namespace std;
13 using namespace Belle2;
14 
16 
17 
18 double FourHitFilters::calcDeltapT()
19 {
20  if (m_circleCalculated == false) { calcCircle(); }
21  return fabs(m_threeHitFilter.calcPt(m_radiusABC -
22  m_radiusBCD)); // , or, pT[GeV/c] = 0.299710*B[T]*r[m] = 0,449565*r[cm]/100 = 0.00449565*r[cm]
23 }
24 
25 
26 
27 double FourHitFilters::calcDeltaDistCircleCenter() // instead of comparing both distance2IP-values, the real circleCenters will be compared
28 {
29  if (m_circleCalculated == false) { calcCircle(); }
30  return (fabs(m_centerABC.Perp() - m_centerBCD.Perp())); // distance between both guesses of the intersection point
31 } // return unit: cm
32 
Abstract base class for different kinds of events.