36 #include "Analysis.hh"
38 #include "SteppingAction.hh"
39 #include "RunAction.hh"
40 #include "DetectorConstruction.hh"
41 #include "PrimaryGeneratorAction.hh"
110 if (partDef == instance->
GetIon(
"hydrogen"))
113 if (partDef == instance->
GetIon(
"alpha+"))
116 if (partDef == instance->
GetIon(
"helium"))
143 const G4String& processName = postStep->
144 GetProcessDefinedStep()->GetProcessName();
146 if (processName==
"Capture") flagProcess =1;
149 else if (flagParticle == 1)
152 if (procID==58) flagProcess =10;
153 else if (procID==51) flagProcess =11;
154 else if (procID==52) flagProcess =12;
155 else if (procID==53) flagProcess =13;
156 else if (procID==55) flagProcess =14;
157 else if (procID==54) flagProcess =15;
158 else if (procID==10) flagProcess =110;
159 else if (procID==1) flagProcess =120;
160 else if (procID==2) flagProcess =130;
163 else if (flagParticle == 2)
166 if (procID==51) flagProcess =21;
167 else if (procID==52) flagProcess =22;
168 else if (procID==53) flagProcess =23;
169 else if (procID==56) flagProcess =24;
170 else if (procID==10) flagProcess =210;
171 else if (procID==1) flagProcess =220;
172 else if (procID==2) flagProcess =230;
173 else if (procID==8) flagProcess =240;
176 else if (flagParticle == 3)
179 if (procID==51) flagProcess =31;
180 else if (procID==52) flagProcess =32;
181 else if (procID==53) flagProcess =33;
182 else if (procID==57) flagProcess =35;
185 else if (flagParticle == 4)
188 if (procID==51) flagProcess =41;
189 else if (procID==52) flagProcess =42;
190 else if (procID==53) flagProcess =43;
191 else if (procID==56) flagProcess =44;
192 else if (procID==10) flagProcess =410;
193 else if (procID==1) flagProcess =420;
194 else if (procID==2) flagProcess =430;
195 else if (procID==8) flagProcess =440;
198 else if (flagParticle == 5)
201 if (procID==51) flagProcess =51;
202 else if (procID==52) flagProcess =52;
203 else if (procID==53) flagProcess =53;
204 else if (procID==56) flagProcess =54;
205 else if (procID==57) flagProcess =55;
206 else if (procID==10) flagProcess =510;
207 else if (procID==1) flagProcess =520;
208 else if (procID==2) flagProcess =530;
209 else if (procID==8) flagProcess =540;
212 else if (flagParticle == 6)
215 if (procID==51) flagProcess =61;
216 else if (procID==52) flagProcess =62;
217 else if (procID==53) flagProcess =63;
218 else if (procID==57) flagProcess =65;
222 else if (processName==
"GenericIon_G4DNAIonisation") flagProcess =73;
223 else if (processName==
"msc") flagProcess =710;
224 else if (processName==
"CoulombScat") flagProcess =720;
225 else if (processName==
"ionIoni") flagProcess =730;
226 else if (processName==
"nuclearStopping") flagProcess =740;
269 if (processName!=
"Transportation")
293 std::sqrt((x-xp)*(x-xp)+
294 (y-yp)*(y-yp)+(z-zp)*(z-zp)));
300 GetKineticEnergy())/
eV );
303 GetKineticEnergy()/
eV);
311 GetConstCurrentEvent()->GetEventID());