247 if (!particle) {
continue; }
248 if (particleName ==
"gamma") {
256 thePhotoElectricEffect->
AddEmModel(0, thePEPenelopeModel);
264 theComptonScattering->
AddEmModel(0, theComptonPenelopeModel);
271 theGammaConversion->
AddEmModel(0, theGCPenelopeModel);
277 theRayleigh->
SetEmModel(theRayleighPenelopeModel);
284 }
else if (particleName ==
"e-") {
323 }
else if (particleName ==
"e+") {
370 }
else if (particleName ==
"mu+" ||
371 particleName ==
"mu-" ) {
381 }
else if (particleName ==
"alpha" ||
382 particleName ==
"He3" ) {
391 }
else if (particleName ==
"GenericIon") {
401 }
else if (particleName ==
"pi+" ||
402 particleName ==
"pi-" ) {
412 }
else if (particleName ==
"kaon+" ||
413 particleName ==
"kaon-" ) {
423 }
else if (particleName ==
"proton" ||
424 particleName ==
"anti_proton") {
436 }
else if (particleName ==
"B+" ||
437 particleName ==
"B-" ||
438 particleName ==
"D+" ||
439 particleName ==
"D-" ||
440 particleName ==
"Ds+" ||
441 particleName ==
"Ds-" ||
442 particleName ==
"anti_He3" ||
443 particleName ==
"anti_alpha" ||
444 particleName ==
"anti_deuteron" ||
445 particleName ==
"anti_lambda_c+" ||
446 particleName ==
"anti_omega-" ||
447 particleName ==
"anti_sigma_c+" ||
448 particleName ==
"anti_sigma_c++" ||
449 particleName ==
"anti_sigma+" ||
450 particleName ==
"anti_sigma-" ||
451 particleName ==
"anti_triton" ||
452 particleName ==
"anti_xi_c+" ||
453 particleName ==
"anti_xi-" ||
454 particleName ==
"deuteron" ||
455 particleName ==
"lambda_c+" ||
456 particleName ==
"omega-" ||
457 particleName ==
"sigma_c+" ||
458 particleName ==
"sigma_c++" ||
459 particleName ==
"sigma+" ||
460 particleName ==
"sigma-" ||
461 particleName ==
"tau+" ||
462 particleName ==
"tau-" ||
463 particleName ==
"triton" ||
464 particleName ==
"xi_c+" ||
465 particleName ==
"xi-" ) {