39#include "BesCgemHit.hh"
43#include "G4UnitsTable.hh"
44#include "G4VVisManager.hh"
47#include "G4VisAttributes.hh"
72 m_XYZ_pre = G4ThreeVector(0., 0., 0.);
73 m_XYZ_post = G4ThreeVector(0., 0., 0.);
74 m_XYZ_pre_align = G4ThreeVector(0., 0., 0.);
75 m_XYZ_post_align = G4ThreeVector(0., 0., 0.);
76 m_P_pre = G4ThreeVector(0., 0., 0.);
77 m_P_post = G4ThreeVector(0., 0., 0.);
78 m_creatorProcess =
"Unknown";
80 m_ID_Identifier.Reset();
93 m_ID_hit = right.m_ID_hit;
94 m_ID_track = right.m_ID_track;
95 m_ID_layer = right.m_ID_layer;
96 m_pdg_code = right.m_pdg_code;
97 m_ID_parent = right.m_ID_parent;
98 m_global_time = right.m_global_time;
99 m_E_deposit = right.m_E_deposit;
100 m_L_step = right.m_L_step;
101 m_XYZ_pre = right.m_XYZ_pre;
102 m_XYZ_post = right.m_XYZ_post;
103 m_XYZ_pre_align = right.m_XYZ_pre_align;
104 m_XYZ_post_align = right.m_XYZ_post_align;
105 m_P_pre = right.m_P_pre;
106 m_P_post = right.m_P_post;
107 m_creatorProcess = right.m_creatorProcess;
109 m_ID_Identifier = right.m_ID_Identifier;
116 m_ID_hit = right.m_ID_hit;
117 m_ID_track = right.m_ID_track;
118 m_ID_layer = right.m_ID_layer;
119 m_pdg_code = right.m_pdg_code;
120 m_ID_parent = right.m_ID_parent;
121 m_global_time = right.m_global_time;
122 m_E_deposit = right.m_E_deposit;
123 m_L_step = right.m_L_step;
124 m_XYZ_pre = right.m_XYZ_pre;
125 m_XYZ_post = right.m_XYZ_post;
126 m_XYZ_pre_align = right.m_XYZ_pre_align;
127 m_XYZ_post_align = right.m_XYZ_post_align;
128 m_P_pre = right.m_P_pre;
129 m_P_post = right.m_P_post;
130 m_creatorProcess = right.m_creatorProcess;
132 m_ID_Identifier = right.m_ID_Identifier;
141 return (
this == &right ) ? 1 : 0;
147 G4cout <<
"INFO : BesCgemHit::Print, Hit information: " << endl;
149 G4cout << setw(19) <<
"TrackID: " << m_ID_track << endl;
150 G4cout << setw(19) <<
"LayerID: " << m_ID_layer << endl;
151 G4cout << setw(19) <<
"PDGCode: " << m_pdg_code << endl;
152 G4cout << setw(19) <<
"ParentID: " << m_ID_parent << endl;
153 G4cout << setw(19) <<
"CreatorProcess: " << m_creatorProcess << endl;
154 G4cout << setw(19) <<
"GlobalT: " << G4BestUnit(m_global_time ,
"Time") << endl;
155 G4cout << setw(19) <<
"DepositE: " << G4BestUnit(m_E_deposit ,
"Energy") << endl;
156 G4cout << setw(19) <<
"StepLength: " << G4BestUnit(m_L_step ,
"Length") << endl;
157 G4cout << setw(19) <<
"PrePointXYZ: " << G4BestUnit(m_XYZ_pre ,
"length") << endl;
158 G4cout << setw(19) <<
"PostPointXYZ: " << G4BestUnit(m_XYZ_post ,
"length") << endl;
159 G4cout << setw(19) <<
"PrePointXYZ_align: " << G4BestUnit(m_XYZ_pre_align,
"length") << endl;
160 G4cout << setw(19) <<
"PostPointXYZ_align: " << G4BestUnit(m_XYZ_post_align,
"length") << endl;
161 G4cout << setw(19) <<
"PrePointP: " << G4BestUnit(m_P_pre ,
"Energy/Length") << endl;
162 G4cout << setw(19) <<
"PrePointPdirection: " << G4BestUnit(m_P_post ,
"Energy/Length") << endl;
G4Allocator< BesCgemHit > BesCgemHitAllocator
const BesCgemHit & operator=(const BesCgemHit &)
G4int operator==(const BesCgemHit &) const