Belle II Software
release-05-01-25
BKLMSimHit.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/bklm/BKLMSimHit.h>
13
14
using namespace
Belle2
;
15
17
BKLMSimHit::BKLMSimHit
() :
18
SimHitBase
(),
19
m_ModuleID(0),
20
m_Time(0.0),
21
m_EDep(0.0),
22
m_PropagationTime(0.0)
23
{
24
}
25
27
BKLMSimHit::BKLMSimHit
(
int
moduleID,
double
propTime,
double
time,
double
eDep) :
28
SimHitBase
(),
29
m_ModuleID(moduleID),
30
m_Time(time),
31
m_EDep(eDep),
32
m_PropagationTime(propTime)
33
{
34
}
35
37
BKLMSimHit::BKLMSimHit
(
const
BKLMSimHit
& hit) :
38
SimHitBase
(hit),
39
m_ModuleID(hit.m_ModuleID),
40
m_Time(hit.m_Time),
41
m_EDep(hit.m_EDep),
42
m_PropagationTime(hit.m_PropagationTime)
43
{
44
}
45
47
BKLMSimHit
&
BKLMSimHit::operator=
(
const
BKLMSimHit
& hit)
48
{
49
m_ModuleID
= hit.m_ModuleID;
50
m_Time
= hit.m_Time;
51
m_EDep
= hit.m_EDep;
52
m_PropagationTime
= hit.m_PropagationTime;
53
return
*
this
;
54
}
Belle2::BKLMSimHit::m_ModuleID
int m_ModuleID
detector-module identifier
Definition:
BKLMSimHit.h:171
Belle2::SimHitBase
Class SimHitBase - A common base for subdetector SimHits.
Definition:
SimHitBase.h:38
Belle2::BKLMSimHit::BKLMSimHit
BKLMSimHit()
Empty constructor for ROOT IO (needed to make the class storable)
Definition:
BKLMSimHit.cc:17
Belle2::BKLMSimHit::m_EDep
float m_EDep
energy deposition (MeV)
Definition:
BKLMSimHit.h:177
Belle2::BKLMSimHit::m_PropagationTime
float m_PropagationTime
time-of-propagation (ns) from hit to sensor
Definition:
BKLMSimHit.h:180
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::BKLMSimHit::m_Time
float m_Time
event hit time (ns)
Definition:
BKLMSimHit.h:174
Belle2::BKLMSimHit
Store one simulation hit as a ROOT object.
Definition:
BKLMSimHit.h:35
Belle2::BKLMSimHit::operator=
BKLMSimHit & operator=(const BKLMSimHit &)
Assignment operator.
Definition:
BKLMSimHit.cc:47
klm
dataobjects
bklm
src
BKLMSimHit.cc
Generated on Fri Nov 5 2021 03:54:59 for Belle II Software by
1.8.17