CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TCgemMc.h
Go to the documentation of this file.
1#ifndef RootEventData_TCgemMc_H
2#define RootEventData_TCgemMc_H 1
3
4#include "TObject.h"
5#include "TArrayI.h"
6#include "TString.h"
7#include <vector>
8#include <string>
9
10class TCgemMc : public TObject {
11
12public:
13
15 ~TCgemMc();
16
17 /* Set methods */
18 void SetTrackID ( UInt_t f_ID_track ) {m_ID_track = f_ID_track ;};
19 void SetLayerID ( UInt_t f_ID_layer ) {m_ID_layer = f_ID_layer ;};
20 void SetPDGCode ( UInt_t f_pdg_code ) {m_pdg_code = f_pdg_code ;};
21 void SetParentID ( UInt_t f_ID_parent ) {m_ID_parent = f_ID_parent ;};
22 void SetTotalEnergyDeposit ( Double_t f_E_deposit ) {m_E_deposit = f_E_deposit ;};
23 void SetPositionXOfPrePoint ( Double_t f_XYZ_pre_x ) {m_XYZ_pre_x = f_XYZ_pre_x ;};
24 void SetPositionYOfPrePoint ( Double_t f_XYZ_pre_y ) {m_XYZ_pre_y = f_XYZ_pre_y ;};
25 void SetPositionZOfPrePoint ( Double_t f_XYZ_pre_z ) {m_XYZ_pre_z = f_XYZ_pre_z ;};
26 void SetPositionXOfPostPoint ( Double_t f_XYZ_post_x ) {m_XYZ_post_x = f_XYZ_post_x ;};
27 void SetPositionYOfPostPoint ( Double_t f_XYZ_post_y ) {m_XYZ_post_y = f_XYZ_post_y ;};
28 void SetPositionZOfPostPoint ( Double_t f_XYZ_post_z ) {m_XYZ_post_z = f_XYZ_post_z ;};
29 void SetMomentumXOfPrePoint ( Double_t f_P_pre_x ) {m_P_pre_x = f_P_pre_x ;};
30 void SetMomentumYOfPrePoint ( Double_t f_P_pre_y ) {m_P_pre_y = f_P_pre_y ;};
31 void SetMomentumZOfPrePoint ( Double_t f_P_pre_z ) {m_P_pre_z = f_P_pre_z ;};
32 void SetMomentumXOfPostPoint ( Double_t f_P_post_x ) {m_P_post_x = f_P_post_x ;};
33 void SetMomentumYOfPostPoint ( Double_t f_P_post_y ) {m_P_post_y = f_P_post_y ;};
34 void SetMomentumZOfPostPoint ( Double_t f_P_post_z ) {m_P_post_z = f_P_post_z ;};
35 void SetPrePositionXInCu ( Double_t f_Cu_pre_x ) {m_Cu_pre_x = f_Cu_pre_x ;};
36 void SetPrePositionYInCu ( Double_t f_Cu_pre_y ) {m_Cu_pre_y = f_Cu_pre_y ;};
37 void SetPrePositionZInCu ( Double_t f_Cu_pre_z ) {m_Cu_pre_z = f_Cu_pre_z ;};
38 void SetPostPositionXInCu ( Double_t f_Cu_post_x ) {m_Cu_post_x = f_Cu_post_x ;};
39 void SetPostPositionYInCu ( Double_t f_Cu_post_y ) {m_Cu_post_y = f_Cu_post_y ;};
40 void SetPostPositionZInCu ( Double_t f_Cu_post_z ) {m_Cu_post_z = f_Cu_post_z ;};
41 void SetMomentumXOfCuPre ( Double_t f_P_Cu_pre_x ) {m_P_Cu_pre_x = f_P_Cu_pre_x ;};
42 void SetMomentumYOfCuPre ( Double_t f_P_Cu_pre_y ) {m_P_Cu_pre_y = f_P_Cu_pre_y ;};
43 void SetMomentumZOfCuPre ( Double_t f_P_Cu_pre_z ) {m_P_Cu_pre_z = f_P_Cu_pre_z ;};
44 void SetMomentumXOfCuPost ( Double_t f_P_Cu_post_x ) {m_P_Cu_post_x = f_P_Cu_post_x ;};
45 void SetMomentumYOfCuPost ( Double_t f_P_Cu_post_y ) {m_P_Cu_post_y = f_P_Cu_post_y ;};
46 void SetMomentumZOfCuPost ( Double_t f_P_Cu_post_z ) {m_P_Cu_post_z = f_P_Cu_post_z ;};
47 // void AddIdentifier ( Int_t f_ID_Identifier ,Int_t f_ID, Int_t Total ) {if(f_ID == 0)m_ID_Identifier.Set(Total); m_ID_Identifier.AddAt(f_ID_Identifier, f_ID);};
48 void AddIdentifier ( Int_t f_ID_Identifier[2000] , Int_t N_dim ) {m_ID_Identifier.Set(N_dim, f_ID_Identifier); };
49 void SetCreatorProcess (std::string creatorProcess) {m_creatorProcess=creatorProcess;};
50
51
52 /* Get methods */
53 UInt_t GetTrackID () const {return m_ID_track ;};
54 UInt_t GetLayerID () const {return m_ID_layer ;};
55 UInt_t GetPDGCode () const {return m_pdg_code ;};
56 UInt_t GetParentID () const {return m_ID_parent ;};
57 Double_t GetTotalEnergyDeposit () const {return m_E_deposit ;};
58 Double_t GetPositionXOfPrePoint () const {return m_XYZ_pre_x ;};
59 Double_t GetPositionYOfPrePoint () const {return m_XYZ_pre_y ;};
60 Double_t GetPositionZOfPrePoint () const {return m_XYZ_pre_z ;};
61 Double_t GetPositionXOfPostPoint () const {return m_XYZ_post_x ;};
62 Double_t GetPositionYOfPostPoint () const {return m_XYZ_post_y ;};
63 Double_t GetPositionZOfPostPoint () const {return m_XYZ_post_z ;};
64 Double_t GetMomentumXOfPrePoint () const {return m_P_pre_x ;};
65 Double_t GetMomentumYOfPrePoint () const {return m_P_pre_y ;};
66 Double_t GetMomentumZOfPrePoint () const {return m_P_pre_z ;};
67 Double_t GetMomentumXOfPostPoint () const {return m_P_post_x ;};
68 Double_t GetMomentumYOfPostPoint () const {return m_P_post_y ;};
69 Double_t GetMomentumZOfPostPoint () const {return m_P_post_z ;};
70 Double_t GetPrePositionXInCu () const {return m_Cu_pre_x ;};
71 Double_t GetPrePositionYInCu () const {return m_Cu_pre_y ;};
72 Double_t GetPrePositionZInCu () const {return m_Cu_pre_z ;};
73 Double_t GetPostPositionXInCu () const {return m_Cu_post_x ;};
74 Double_t GetPostPositionYInCu () const {return m_Cu_post_y ;};
75 Double_t GetPostPositionZInCu () const {return m_Cu_post_z ;};
76 Double_t GetMomentumXOfCuPre () const {return m_P_Cu_pre_x ;};
77 Double_t GetMomentumYOfCuPre () const {return m_P_Cu_pre_y ;};
78 Double_t GetMomentumZOfCuPre () const {return m_P_Cu_pre_z ;};
79 Double_t GetMomentumXOfCuPost () const {return m_P_Cu_post_x;};
80 Double_t GetMomentumYOfCuPost () const {return m_P_Cu_post_y;};
81 Double_t GetMomentumZOfCuPost () const {return m_P_Cu_post_z;};
82 TArrayI GetIdentifier () const {return m_ID_Identifier;};
83 TString GetCreatorProcess () const {return m_creatorProcess;};
84
85private:
86 UInt_t m_ID_track;
87 UInt_t m_ID_layer;
88 UInt_t m_pdg_code;
89 UInt_t m_ID_parent;
90 Double_t m_E_deposit;
91 Double_t m_XYZ_pre_x;
92 Double_t m_XYZ_pre_y;
93 Double_t m_XYZ_pre_z;
94 Double_t m_XYZ_post_x;
95 Double_t m_XYZ_post_y;
96 Double_t m_XYZ_post_z;
97 Double_t m_P_pre_x;
98 Double_t m_P_pre_y;
99 Double_t m_P_pre_z;
100 Double_t m_P_post_x;
101 Double_t m_P_post_y;
102 Double_t m_P_post_z;
103 Double_t m_Cu_pre_x;
104 Double_t m_Cu_pre_y;
105 Double_t m_Cu_pre_z;
106 Double_t m_Cu_post_x;
107 Double_t m_Cu_post_y;
108 Double_t m_Cu_post_z;
109 Double_t m_P_Cu_pre_x;
110 Double_t m_P_Cu_pre_y;
111 Double_t m_P_Cu_pre_z;
112 Double_t m_P_Cu_post_x;
113 Double_t m_P_Cu_post_y;
114 Double_t m_P_Cu_post_z;
115 TArrayI m_ID_Identifier;
116 TString m_creatorProcess;
117 ClassDef(TCgemMc,1)
118};
119
120#endif //TrackRootData_TCgemMc_H
121
void AddIdentifier(Int_t f_ID_Identifier[2000], Int_t N_dim)