EGS is dependant on a number of non-physical parameters, and it is important to either prove that these parameters do not have any effect on the results that are predicted by the code, or to determine the correct setting for them. There are five such parameters, namely:
The predicted number of Cerenkov photons produced by an electron can be shown to have only a weak dependance on the value of the step length (changing the maximum energy loss per step from 30% to 3% reduces the predicted Cerenkov yield from a 5 MeV electron by ), and can thus be set to conform to other demands. The value of the step length is set in SNOMAN by another EGS routine called FIXTMX - this is not shown in figure 13.1, as its use is optional. If a non zero value of the parameter ESTEPE is set in the EGS4 bank, then this routine will be called, and the maximum energy loss per step will be set equal to ESTEPE. Previous work [6] has shown that in order to simulate the multiple scattering angles properly, a value of approximately 3% should be set. The disadvantage of this procedure is that the code will take fractionally longer to execute as the EGS code is performing of the order of 5 times the number of steps it would do if the default step length were used.
Deciding how to set the other four parameters is more difficult. It is relatively easy to show that the yield of Cerenkov photons is not dependant on these energy cutoffs, provided that they are set below the Cerenkov threshold. Thus they may be set according to other considerations, the first of which is that there can be little point in tracking electrons once they have dropped below the Cerenkov threshold - the electrons will produce no further Cerenkov photons, so to continue following them is a waste of valuable CPU time. However, there is a second, more subtle, effect in play, arising from the simulation (or lack thereof) of straggling by the EGS code.
As an example, assume that the value of AE is set to 100keV. In this case, the creation of knock on electrons with more than this energy will be treated as discrete interactions, and the subsequent -rays followed by the code, whilst all knock on electrons that might have been created with energies below this threshold are instead accounted for in the continuous energy loss. This means that when tracking an electron, we find it will always fall into one of two classes - either it will suffer no discrete interactions, and lose all its energy through continuous energy loss (and thus travel the same distance as all other electrons in this class), or it will suffer one or more discrete interactions, in which case it will travel a shorter distance, and it will lose at least 100 keV in the process. This means that there will be an non physical gap in (for example) the track length distribution between the electrons that suffer no discrete interactions, and those that lose at least 100keV through discrete interactions.
This argument implies that it is better to set the value of AE as low as possible in order to simulate straggling more accurately. The price payed for this is in the speed of the simulation. The solution to these problems is to set AE to a low value (10 keV has been selected), and ECUT to a value just less than the Cerenkov threshold. All electrons created between these limits are placed on the stack, but are then immediately discarded when the code checks their energy against the value of ECUT. This is slightly less efficient than setting a high value of AE, but removes a number of possible artifacts from the simulation.
Other considerations come into play if one is interested in other than Cerenkov production. Two obvious examples are neutron transport and energy deposit. If one is interested in photodisintegration, then EGS4 may as well discard all particles when they reach the appropriate (ECUT) threshold of roughly 2.2 MeV. However, all the remaining energy is dumped in the current region during a discard operation, and so calculating the energy deposition in a low density medium requires a low value of ECUT - otherwise, particles that might penetrate through the medium and discard part of their energy elsewhere will be treated as if they had dumped all their energy in the low density region, leading to an anomalously high energy deposit.
These changes can be achieved via the EGS4 titles file, which sets defaults of ECUT and allows over-rides. One may either change the default, or just tinker with the value for one medium.