Belle II Software  release-06-00-14
KLMMuidHit.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 /* Own header. */
10 #include <klm/dataobjects/KLMMuidHit.h>
11 
12 using namespace std;
13 using namespace Belle2;
14 
15 KLMMuidHit::KLMMuidHit() :
16  m_PdgCode(0),
17  m_ExtPosition(0, 0, 0),
18  m_ExtTime(0.0),
19  m_HitPosition(0, 0, 0),
20  m_HitTime(0.0),
21  m_InBarrel(false),
22  m_IsForward(false),
23  m_Sector(0),
24  m_Layer(0),
25  m_ChiSquared(0.0)
26 {
27 }
28 
29 KLMMuidHit::KLMMuidHit(int pdgCode, bool inBarrel, bool isForward, int sector, int layer, const TVector3& extPosition,
30  const TVector3& hitPosition, double extTime, double hitTime, double chiSquared) :
31  m_PdgCode(pdgCode),
32  m_ExtPosition(extPosition),
33  m_ExtTime(extTime),
34  m_HitPosition(hitPosition),
35  m_HitTime(hitTime),
36  m_InBarrel(inBarrel),
37  m_IsForward(isForward),
38  m_Sector(sector),
39  m_Layer(layer),
40  m_ChiSquared(chiSquared)
41 {
42 }
KLMMuidHit()
Empty constructor for ROOT IO (needed to make the class storable)
Definition: KLMMuidHit.cc:15
Abstract base class for different kinds of events.