BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/include/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 TMucMc();
12 ~TMucMc();
13 // Get
14 // Get associated id
15 UInt_t getId() const { return m_id; }
16
17 // Get the associated track id
18 UInt_t getTrackIndex() const { return m_trackIndex; }
19
20 // Get the position x
21 Double_t getPositionX() const { return m_xPosition; }
22
23 // Get the position y
24 Double_t getPositionY() const { return m_yPosition; }
25
26 // Get the position z
27 Double_t getPositionZ() const { return m_zPosition; }
28
29 // Get momentum Px
30 Double_t getPx() const { return m_px; }
31
32 // Get momentum Py
33 Double_t getPy() const { return m_py; }
34
35 // Get momentum Pz
36 Double_t getPz() const { return m_pz; }
37
38 // Set
39 void setId( UInt_t id ) { m_id = id; }
40 void setTrackIndex( UInt_t trackIndex ) { m_trackIndex = trackIndex; }
41 void setPositionX( Double_t positionX ) { m_xPosition = positionX; }
42 void setPositionY( Double_t positionY ) { m_yPosition = positionY; }
43 void setPositionZ( Double_t positionZ ) { m_zPosition = positionZ; }
44 void setPx( Double_t px ) { m_px = px; }
45 void setPy( Double_t py ) { m_py = py; }
46 void setPz( Double_t pz ) { m_pz = pz; }
47
48private:
49 UInt_t m_id;
50
51 UInt_t m_trackIndex;
52
53 Double_t m_xPosition;
54
55 Double_t m_yPosition;
56
57 Double_t m_zPosition;
58
59 Double_t m_px;
60
61 Double_t m_py;
62
63 Double_t m_pz;
64
65 Double_t m_depositEnergy;
66
67 ClassDef( TMucMc, 1 )
68};
69
70#endif // TrackRootData_TMucMc_H
NTuple::Item< double > m_pz
~TMucMc()
Definition TMucMc.cxx:10
TMucMc()
Definition TMucMc.cxx:6