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_P_pre = G4ThreeVector(0., 0., 0.);
75 m_P_post = G4ThreeVector(0., 0., 0.);
76 m_creatorProcess =
"Unknown";
78 m_ID_Identifier.Reset();
91 m_ID_hit = right.m_ID_hit;
92 m_ID_track = right.m_ID_track;
93 m_ID_layer = right.m_ID_layer;
94 m_pdg_code = right.m_pdg_code;
95 m_ID_parent = right.m_ID_parent;
96 m_global_time = right.m_global_time;
97 m_E_deposit = right.m_E_deposit;
98 m_L_step = right.m_L_step;
99 m_XYZ_pre = right.m_XYZ_pre;
100 m_XYZ_post = right.m_XYZ_post;
101 m_P_pre = right.m_P_pre;
102 m_P_post = right.m_P_post;
103 m_creatorProcess = right.m_creatorProcess;
105 m_ID_Identifier = right.m_ID_Identifier;
112 m_ID_hit = right.m_ID_hit;
113 m_ID_track = right.m_ID_track;
114 m_ID_layer = right.m_ID_layer;
115 m_pdg_code = right.m_pdg_code;
116 m_ID_parent = right.m_ID_parent;
117 m_global_time = right.m_global_time;
118 m_E_deposit = right.m_E_deposit;
119 m_L_step = right.m_L_step;
120 m_XYZ_pre = right.m_XYZ_pre;
121 m_XYZ_post = right.m_XYZ_post;
122 m_P_pre = right.m_P_pre;
123 m_P_post = right.m_P_post;
124 m_creatorProcess = right.m_creatorProcess;
126 m_ID_Identifier = right.m_ID_Identifier;
135 return (
this == &right ) ? 1 : 0;
141 G4cout <<
"INFO : BesCgemHit::Print, Hit information: " << endl;
143 G4cout << setw(19) <<
"TrackID: " << m_ID_track << endl;
144 G4cout << setw(19) <<
"LayerID: " << m_ID_layer << endl;
145 G4cout << setw(19) <<
"PDGCode: " << m_pdg_code << endl;
146 G4cout << setw(19) <<
"ParentID: " << m_ID_parent << endl;
147 G4cout << setw(19) <<
"CreatorProcess: " << m_creatorProcess << endl;
148 G4cout << setw(19) <<
"GlobalT: " << G4BestUnit(m_global_time ,
"Time") << endl;
149 G4cout << setw(19) <<
"DepositE: " << G4BestUnit(m_E_deposit ,
"Energy") << endl;
150 G4cout << setw(19) <<
"StepLength: " << G4BestUnit(m_L_step ,
"Length") << endl;
151 G4cout << setw(19) <<
"PrePointXYZ: " << G4BestUnit(m_XYZ_pre ,
"length") << endl;
152 G4cout << setw(19) <<
"PostPointXYZ: " << G4BestUnit(m_XYZ_post ,
"length") << endl;
153 G4cout << setw(19) <<
"PrePointP: " << G4BestUnit(m_P_pre ,
"Energy/Length") << endl;
154 G4cout << setw(19) <<
"PrePointPdirection: " << G4BestUnit(m_P_post ,
"Energy/Length") << endl;
G4Allocator< BesCgemHit > BesCgemHitAllocator
const BesCgemHit & operator=(const BesCgemHit &)
G4int operator==(const BesCgemHit &) const