Belle II Software  release-05-01-25
KLMMuidHit.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Leo Piilonen *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 /* Own header. */
12 #include <klm/dataobjects/KLMMuidHit.h>
13 
14 using namespace std;
15 using namespace Belle2;
16 
17 KLMMuidHit::KLMMuidHit() :
18  m_PdgCode(0),
19  m_ExtPosition(0, 0, 0),
20  m_ExtTime(0.0),
21  m_HitPosition(0, 0, 0),
22  m_HitTime(0.0),
23  m_InBarrel(false),
24  m_IsForward(false),
25  m_Sector(0),
26  m_Layer(0),
27  m_ChiSquared(0.0)
28 {
29 }
30 
31 KLMMuidHit::KLMMuidHit(int pdgCode, bool inBarrel, bool isForward, int sector, int layer, const TVector3& extPosition,
32  const TVector3& hitPosition, double extTime, double hitTime, double chiSquared) :
33  m_PdgCode(pdgCode),
34  m_ExtPosition(extPosition),
35  m_ExtTime(extTime),
36  m_HitPosition(hitPosition),
37  m_HitTime(hitTime),
38  m_InBarrel(inBarrel),
39  m_IsForward(isForward),
40  m_Sector(sector),
41  m_Layer(layer),
42  m_ChiSquared(chiSquared)
43 {
44 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::KLMMuidHit::KLMMuidHit
KLMMuidHit()
Empty constructor for ROOT IO (needed to make the class storable)
Definition: KLMMuidHit.cc:17