BOSS
8.0.0
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 )
7
, m_trackIndex( trackIndex )
8
, m_xPosition( xPosition )
9
, m_yPosition( yPosition )
10
, m_zPosition( zPosition )
11
, m_px( px )
12
, m_py( py )
13
, m_pz( pz ) {}
14
15
// Get associated id
16
Identifier
Event::MucMcHit::identify
()
const
{
return
m_id; }
17
18
// Get the associated track id
19
unsigned
int
Event::MucMcHit::getTrackIndex
()
const
{
return
m_trackIndex; }
20
21
// Get the position x
22
double
Event::MucMcHit::getPositionX
()
const
{
return
m_xPosition; }
23
24
// Get the position y
25
double
Event::MucMcHit::getPositionY
()
const
{
return
m_yPosition; }
26
27
// Get the position z
28
double
Event::MucMcHit::getPositionZ
()
const
{
return
m_zPosition; }
29
30
// Get momentum Px
31
double
Event::MucMcHit::getPx
()
const
{
return
m_px; }
32
33
// Get momentum Py
34
double
Event::MucMcHit::getPy
()
const
{
return
m_py; }
35
36
// Get momentum Pz
37
double
Event::MucMcHit::getPz
()
const
{
return
m_pz; }
Event::MucMcHit::getPz
double getPz() const
Definition
MucMcHit.cxx:37
Event::MucMcHit::getPy
double getPy() const
Definition
MucMcHit.cxx:34
Event::MucMcHit::getTrackIndex
unsigned int getTrackIndex() const
Definition
MucMcHit.cxx:19
Event::MucMcHit::MucMcHit
MucMcHit()
Definition
Event/McTruth/include/McTruth/MucMcHit.h:20
Event::MucMcHit::getPositionX
double getPositionX() const
Definition
MucMcHit.cxx:22
Event::MucMcHit::getPositionY
double getPositionY() const
Definition
MucMcHit.cxx:25
Event::MucMcHit::identify
Identifier identify() const
Definition
MucMcHit.cxx:16
Event::MucMcHit::getPx
double getPx() const
Definition
MucMcHit.cxx:31
Event::MucMcHit::getPositionZ
double getPositionZ() const
Definition
MucMcHit.cxx:28
Identifier
Definition
DetectorDescription/Identifier/include/Identifier/Identifier.h:20
8.0.0
BOSS_Source
Event
McTruth
src
MucMcHit.cxx
Generated by
1.16.1