CGEM BOSS
6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
MucMcHit.cxx
Go to the documentation of this file.
1
#include "McTruth/MucMcHit.h"
2
3
Event::MucMcHit::MucMcHit
(
const
Identifier
&
id
,
unsigned
int
trackIndex,
double
xPosition,
4
double
yPosition,
double
zPosition,
double
px,
double
py,
5
double
pz)
6
: m_id(id), m_trackIndex(trackIndex),
7
m_xPosition(xPosition), m_yPosition(yPosition),m_zPosition(zPosition),
8
m_px(px), m_py(py),
m_pz
(pz){}
9
10
// Get associated id
11
Identifier
Event::MucMcHit::identify
()
const
{
12
return
m_id;
13
}
14
15
// Get the associated track id
16
unsigned
int
Event::MucMcHit::getTrackIndex
()
const
{
17
return
m_trackIndex;
18
}
19
20
// Get the position x
21
double
Event::MucMcHit::getPositionX
()
const
{
22
return
m_xPosition;
23
}
24
25
// Get the position y
26
double
Event::MucMcHit::getPositionY
()
const
{
27
return
m_yPosition;
28
}
29
30
// Get the position z
31
double
Event::MucMcHit::getPositionZ
()
const
{
32
return
m_zPosition;
33
}
34
35
// Get momentum Px
36
double
Event::MucMcHit::getPx
()
const
{
37
return
m_px;
38
}
39
40
// Get momentum Py
41
double
Event::MucMcHit::getPy
()
const
{
42
return
m_py;
43
}
44
45
// Get momentum Pz
46
double
Event::MucMcHit::getPz
()
const
{
47
return
m_pz
;
48
}
49
m_pz
NTuple::Item< double > m_pz
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcHistItem.h:78
Event::MucMcHit::getPz
double getPz() const
Definition:
MucMcHit.cxx:46
Event::MucMcHit::getPy
double getPy() const
Definition:
MucMcHit.cxx:41
Event::MucMcHit::getTrackIndex
unsigned int getTrackIndex() const
Definition:
MucMcHit.cxx:16
Event::MucMcHit::MucMcHit
MucMcHit()
Definition:
Event/McTruth/McTruth-00-04-07/McTruth/MucMcHit.h:26
Event::MucMcHit::getPositionX
double getPositionX() const
Definition:
MucMcHit.cxx:21
Event::MucMcHit::getPositionY
double getPositionY() const
Definition:
MucMcHit.cxx:26
Event::MucMcHit::identify
Identifier identify() const
Definition:
MucMcHit.cxx:11
Event::MucMcHit::getPx
double getPx() const
Definition:
MucMcHit.cxx:36
Event::MucMcHit::getPositionZ
double getPositionZ() const
Definition:
MucMcHit.cxx:31
Identifier
Definition:
DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h:20
source
Event
McTruth
McTruth-00-04-07
src
MucMcHit.cxx
Generated by
1.9.6