Geant4 Version: 11.3.0
Operating System: Linux
Compiler/Version: gcc 11.5.0
CMake Version: 3.26.5
Hi,
I am trying to use the advanced/microelectronics example with Elastic Scattering disabled. I do this with the following command in the macro file:
/process/inactivate e-_G4MicroElecElastic
I have made two other modifications to the code:
- I have changed the Target material in the macro to G4_C
- I have implemented some physics processes for photons which allow for the following processes:
- Photoelectric Effect
- Compton Scattering
- Gamma Conversion
- Rayleigh Scattering
This due to my implementation of a photon gun, rather than the default proton gun in the example.
I have observed that at the energies between approximately 15 - 750 eV (which includes the energies I’m interested in) a glitch occurs where an ionised secondary electron gets stuck in a loop and doesn’t participate in any physics processes at all. Instead, only “Transportation” occurs. It will continue like this until the electron has left the world volume, which at these energies - could take an extremely long time or not at all.
Below is the first 100 lines of output at 300 eV (with control/verbose 1). The “Transportation” lines continue beyond this.
G4WT0 >
G4WT0 > *********************************************************************************************************
G4WT0 > * G4Track Information: Particle = gamma, Track ID = 1, Parent ID = 0
G4WT0 > *********************************************************************************************************
G4WT0 >
G4WT0 > Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
G4WT0 > 0 0 0 -0.0004 0.0003 0 0 0 Target initStep
G4WT0 > 1 0 0 -0.000297 0 0.000288 0.000103 0.000103 Target phot
G4WT0 >
G4WT0 > *********************************************************************************************************
G4WT0 > * G4Track Information: Particle = e-, Track ID = 2, Parent ID = 1
G4WT0 > *********************************************************************************************************
G4WT0 >
G4WT0 > Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
G4WT0 > 0 0 0 -0.000297 1.2e-05 0 0 0 Target initStep
G4WT0 > 1 -2.52e-06 1.2e-06 -0.000297 4.83e-06 2e-12 2.8e-06 2.8e-06 Target e-_G4Dielectrics
G4WT0 > 2 -2.61e-06 1.39e-06 -0.000297 3.72e-06 2e-12 2.55e-07 3.05e-06 Target e-_G4Dielectrics
G4WT0 > 3 -2.85e-06 1.66e-06 -0.000297 7.91e-07 2e-12 4.17e-07 3.47e-06 Target e-_G4Dielectrics
G4WT0 > 4 -2.85e-06 1.66e-06 -0.000297 0 7.91e-07 0 3.47e-06 Target eCapture
G4WT0 >
G4WT0 > *********************************************************************************************************
G4WT0 > * G4Track Information: Particle = e-, Track ID = 5, Parent ID = 2
G4WT0 > *********************************************************************************************************
G4WT0 >
G4WT0 > Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
G4WT0 > 0 -2.85e-06 1.66e-06 -0.000297 2.93e-06 0 0 0 Target initStep
G4WT0 > 1 -3.91e-06 3.7e-06 -0.000296 1.82e-06 2e-12 2.52e-06 2.52e-06 Target e-_G4Dielectrics
G4WT0 > 2 -3.34e-06 6.21e-06 -0.000294 2.23e-07 2e-12 2.87e-06 5.38e-06 Target e-_G4Dielectrics
G4WT0 > 3 -3.34e-06 6.21e-06 -0.000294 0 2.23e-07 0 5.38e-06 Target eCapture
G4WT0 >
G4WT0 > *********************************************************************************************************
G4WT0 > * G4Track Information: Particle = e-, Track ID = 7, Parent ID = 5
G4WT0 > *********************************************************************************************************
G4WT0 >
G4WT0 > Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
G4WT0 > 0 -3.34e-06 6.21e-06 -0.000294 1.6e-06 0 0 0 Target initStep
G4WT0 > 1 -1.91e-06 1.08e-05 -0.000292 5.54e-07 2e-12 5.49e-06 5.49e-06 Target e-_G4Dielectrics
G4WT0 > 2 -1.91e-06 1.08e-05 -0.000292 0 5.54e-07 0 5.49e-06 Target eCapture
G4WT0 >
G4WT0 > *********************************************************************************************************
G4WT0 > * G4Track Information: Particle = e-, Track ID = 8, Parent ID = 7
G4WT0 > *********************************************************************************************************
G4WT0 >
G4WT0 > Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
G4WT0 > 0 -1.91e-06 1.08e-05 -0.000292 1.05e-06 0 0 0 Target initStep
G4WT0 > 1 0.000274 0.0005 0.000426 1.05e-06 0 0.000911 0.000911 World Transportation
G4WT0 > 2 0.000274 0.0005 0.000426 1.05e-06 0 0 0.000911 Target Transportation
G4WT0 > 3 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.00101 World Transportation
G4WT0 > 4 0.000303 0.000449 0.0005 1.05e-06 0 0 0.00101 Target Transportation
G4WT0 > 5 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.0011 World Transportation
G4WT0 > 6 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0011 Target Transportation
G4WT0 > 7 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.00228 World Transportation
G4WT0 > 8 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.00228 Target Transportation
G4WT0 > 9 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.00345 World Transportation
G4WT0 > 10 0.000274 0.0005 0.000426 1.05e-06 0 0 0.00345 Target Transportation
G4WT0 > 11 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.00355 World Transportation
G4WT0 > 12 0.000303 0.000449 0.0005 1.05e-06 0 0 0.00355 Target Transportation
G4WT0 > 13 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.00364 World Transportation
G4WT0 > 14 0.000274 0.0005 0.000426 1.05e-06 0 0 0.00364 Target Transportation
G4WT0 > 15 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.00482 World Transportation
G4WT0 > 16 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.00482 Target Transportation
G4WT0 > 17 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.00599 World Transportation
G4WT0 > 18 0.000274 0.0005 0.000426 1.05e-06 0 0 0.00599 Target Transportation
G4WT0 > 19 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.00609 World Transportation
G4WT0 > 20 0.000303 0.000449 0.0005 1.05e-06 0 0 0.00609 Target Transportation
G4WT0 > 21 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.00618 World Transportation
G4WT0 > 22 0.000274 0.0005 0.000426 1.05e-06 0 0 0.00618 Target Transportation
G4WT0 > 23 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.00736 World Transportation
G4WT0 > 24 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.00736 Target Transportation
G4WT0 > 25 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.00853 World Transportation
G4WT0 > 26 0.000274 0.0005 0.000426 1.05e-06 0 0 0.00853 Target Transportation
G4WT0 > 27 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.00863 World Transportation
G4WT0 > 28 0.000303 0.000449 0.0005 1.05e-06 0 0 0.00863 Target Transportation
G4WT0 > 29 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.00872 World Transportation
G4WT0 > 30 0.000274 0.0005 0.000426 1.05e-06 0 0 0.00872 Target Transportation
G4WT0 > 31 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.0099 World Transportation
G4WT0 > 32 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.0099 Target Transportation
G4WT0 > 33 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.0111 World Transportation
G4WT0 > 34 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0111 Target Transportation
G4WT0 > 35 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.0112 World Transportation
G4WT0 > 36 0.000303 0.000449 0.0005 1.05e-06 0 0 0.0112 Target Transportation
G4WT0 > 37 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.0113 World Transportation
G4WT0 > 38 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0113 Target Transportation
G4WT0 > 39 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.0124 World Transportation
G4WT0 > 40 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.0124 Target Transportation
G4WT0 > 41 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.0136 World Transportation
G4WT0 > 42 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0136 Target Transportation
G4WT0 > 43 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.0137 World Transportation
G4WT0 > 44 0.000303 0.000449 0.0005 1.05e-06 0 0 0.0137 Target Transportation
G4WT0 > 45 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.0138 World Transportation
G4WT0 > 46 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0138 Target Transportation
G4WT0 > 47 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.015 World Transportation
G4WT0 > 48 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.015 Target Transportation
G4WT0 > 49 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.0162 World Transportation
G4WT0 > 50 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0162 Target Transportation
G4WT0 > 51 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.0162 World Transportation
G4WT0 > 52 0.000303 0.000449 0.0005 1.05e-06 0 0 0.0162 Target Transportation
G4WT0 > 53 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.0163 World Transportation
G4WT0 > 54 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0163 Target Transportation
G4WT0 > 55 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.0175 World Transportation
G4WT0 > 56 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.0175 Target Transportation
G4WT0 > 57 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.0187 World Transportation
G4WT0 > 58 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0187 Target Transportation
G4WT0 > 59 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.0188 World Transportation
G4WT0 > 60 0.000303 0.000449 0.0005 1.05e-06 0 0 0.0188 Target Transportation
G4WT0 > 61 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.0189 World Transportation
G4WT0 > 62 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0189 Target Transportation
G4WT0 > 63 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.0201 World Transportation
G4WT0 > 64 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.0201 Target Transportation
G4WT0 > 65 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.0212 World Transportation
G4WT0 > 66 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0212 Target Transportation
G4WT0 > 67 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.0213 World Transportation
G4WT0 > 68 0.000303 0.000449 0.0005 1.05e-06 0 0 0.0213 Target Transportation
G4WT0 > 69 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.0214 World Transportation
G4WT0 > 70 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0214 Target Transportation
G4WT0 > 71 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.0226 World Transportation
G4WT0 > 72 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.0226 Target Transportation
G4WT0 > 73 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.0238 World Transportation
G4WT0 > 74 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0238 Target Transportation
G4WT0 > 75 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.0239 World Transportation
G4WT0 > 76 0.000303 0.000449 0.0005 1.05e-06 0 0 0.0239 Target Transportation
G4WT0 > 77 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.024 World Transportation
G4WT0 > 78 0.000274 0.0005 0.000426 1.05e-06 0 0 0.024 Target Transportation
G4WT0 > 79 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.0251 World Transportation
G4WT0 > 80 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.0251 Target Transportation
G4WT0 > 81 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.0263 World Transportation
G4WT0 > 82 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0263 Target Transportation
G4WT0 > 83 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.0264 World Transportation
G4WT0 > 84 0.000303 0.000449 0.0005 1.05e-06 0 0 0.0264 Target Transportation
G4WT0 > 85 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.0265 World Transportation
G4WT0 > 86 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0265 Target Transportation
G4WT0 > 87 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.0277 World Transportation
G4WT0 > 88 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.0277 Target Transportation
G4WT0 > 89 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.0289 World Transportation
G4WT0 > 90 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0289 Target Transportation
G4WT0 > 91 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.0289 World Transportation
G4WT0 > 92 0.000303 0.000449 0.0005 1.05e-06 0 0 0.0289 Target Transportation
G4WT0 > 93 0.000274 0.0005 0.000426 1.05e-06 0 9.44e-05 0.029 World Transportation
G4WT0 > 94 0.000274 0.0005 0.000426 1.05e-06 0 0 0.029 Target Transportation
G4WT0 > 95 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0.00118 0.0302 World Transportation
G4WT0 > 96 -8.2e-05 -0.000131 -0.0005 1.05e-06 0 0 0.0302 Target Transportation
G4WT0 > 97 0.000274 0.0005 0.000426 1.05e-06 0 0.00118 0.0314 World Transportation
G4WT0 > 98 0.000274 0.0005 0.000426 1.05e-06 0 0 0.0314 Target Transportation
G4WT0 > 99 0.000303 0.000449 0.0005 1.05e-06 0 9.44e-05 0.0315 World Transportation
G4WT0 > 100 0.000303 0.000449 0.0005 1.05e-06 0 0 0.0315 Target Transportation
I would appreciate any assistance in understanding what is occurring here and suggestions for how to fix this. Thank you.