BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RootEventData/RootEventData/TMucMc.h
Go to the documentation of this file.
1#ifndef RootEventData_TMucMc_H
2#define RootEventData_TMucMc_H 1
3
4#include "TObject.h"
5//#include <vector>
6//using namespace std;
7
8class TMucMc : public TObject {
9
10public:
11
14//Get
15 // Get associated id
16 UInt_t getId() const {return m_id;}
17
18 // Get the associated track id
19 UInt_t getTrackIndex() const {return m_trackIndex; }
20
21 // Get the position x
22 Double_t getPositionX() const {return m_xPosition;}
23
24 // Get the position y
25 Double_t getPositionY() const {return m_yPosition;}
26
27 // Get the position z
28 Double_t getPositionZ() const {return m_zPosition;}
29
30 // Get momentum Px
31 Double_t getPx() const {return m_px ;}
32
33 // Get momentum Py
34 Double_t getPy() const {return m_py ;}
35
36 // Get momentum Pz
37 Double_t getPz() const {return m_pz ;}
38
39//Set
40 void setId(UInt_t id) {m_id = id ;}
41 void setTrackIndex(UInt_t trackIndex){ m_trackIndex = trackIndex;}
42 void setPositionX(Double_t positionX) {m_xPosition = positionX;}
43 void setPositionY(Double_t positionY) {m_yPosition = positionY;}
44 void setPositionZ(Double_t positionZ) {m_zPosition = positionZ;}
45 void setPx(Double_t px) {m_px = px;}
46 void setPy(Double_t py) {m_py = py;}
47 void setPz(Double_t pz) {m_pz = pz;}
48
49private:
50 UInt_t m_id;
51
52 UInt_t m_trackIndex;
53
54 Double_t m_xPosition;
55
56 Double_t m_yPosition;
57
58 Double_t m_zPosition;
59
60 Double_t m_px;
61
62 Double_t m_py;
63
64 Double_t m_pz;
65
66 Double_t m_depositEnergy;
67
68 ClassDef(TMucMc,1)
69};
70
71
72#endif //TrackRootData_TMucMc_H
73