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
3Event::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
16Identifier Event::MucMcHit::identify() const { return m_id; }
17
18// Get the associated track id
19unsigned int Event::MucMcHit::getTrackIndex() const { return m_trackIndex; }
20
21// Get the position x
22double Event::MucMcHit::getPositionX() const { return m_xPosition; }
23
24// Get the position y
25double Event::MucMcHit::getPositionY() const { return m_yPosition; }
26
27// Get the position z
28double Event::MucMcHit::getPositionZ() const { return m_zPosition; }
29
30// Get momentum Px
31double Event::MucMcHit::getPx() const { return m_px; }
32
33// Get momentum Py
34double Event::MucMcHit::getPy() const { return m_py; }
35
36// Get momentum Pz
37double Event::MucMcHit::getPz() const { return m_pz; }
double getPz() const
Definition MucMcHit.cxx:37
double getPy() const
Definition MucMcHit.cxx:34
unsigned int getTrackIndex() const
Definition MucMcHit.cxx:19
double getPositionX() const
Definition MucMcHit.cxx:22
double getPositionY() const
Definition MucMcHit.cxx:25
Identifier identify() const
Definition MucMcHit.cxx:16
double getPx() const
Definition MucMcHit.cxx:31
double getPositionZ() const
Definition MucMcHit.cxx:28