147{
148 if(verbose > 1) {
150 }
152
154
155
164
165
172
173
175 for(
const auto& particleName : partList.
PartNames()) {
177 if (!particle) { continue; }
178 if (particleName == "gamma") {
179
182
185
190
191 } else if (particleName == "e-") {
192
195
196
197
198
202
203 } else if (particleName == "e+") {
204
207
208
209
210
215
216 } else if (particleName == "mu+" ||
217 particleName == "mu-" ) {
218
223
224 } else if (particleName == "alpha" ||
225 particleName == "He3") {
226
229
230 } else if (particleName == "GenericIon") {
231
234
235 } else if (particleName == "pi+" ||
236 particleName == "pi-" ) {
237
242
243 } else if (particleName == "kaon+" ||
244 particleName == "kaon-" ) {
245
250
251 } else if (particleName == "proton" ||
252 particleName == "anti_proton") {
253
256
261
262 } else if (particleName == "B+" ||
263 particleName == "B-" ||
264 particleName == "D+" ||
265 particleName == "D-" ||
266 particleName == "Ds+" ||
267 particleName == "Ds-" ||
268 particleName == "anti_He3" ||
269 particleName == "anti_alpha" ||
270 particleName == "anti_deuteron" ||
271 particleName == "anti_lambda_c+" ||
272 particleName == "anti_omega-" ||
273 particleName == "anti_sigma_c+" ||
274 particleName == "anti_sigma_c++" ||
275 particleName == "anti_sigma+" ||
276 particleName == "anti_sigma-" ||
277 particleName == "anti_triton" ||
278 particleName == "anti_xi_c+" ||
279 particleName == "anti_xi-" ||
280 particleName == "deuteron" ||
281 particleName == "lambda_c+" ||
282 particleName == "omega-" ||
283 particleName == "sigma_c+" ||
284 particleName == "sigma_c++" ||
285 particleName == "sigma+" ||
286 particleName == "sigma-" ||
287 particleName == "tau+" ||
288 particleName == "tau-" ||
289 particleName == "triton" ||
290 particleName == "xi_c+" ||
291 particleName == "xi-" ) {
292
295 }
296 }
297
299}
G4GLOB_DLL std::ostream G4cout
static void PrepareEMPhysics()
const std::vector< G4String > & PartNames() const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4PhysicsListHelper * GetPhysicsListHelper()
void AddEmModel(G4int, G4VEmModel *, const G4Region *region=nullptr)
void SetEmModel(G4VEmModel *, G4int index=0)
const G4String & GetPhysicsName() const