Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set shell_be correctly for xcom cross sections
When xcom photon cross sections are used, switch the calling order of EDGSET and init_compton subroutine in HATCH, in order to include binding energies below 1 keV for detailed atomic relaxation simulation. There are 3 different binding energy arrays used in EGSnrc: binding_energies: used in Moller, PHOTO, and RELAX be_array: used in COMPT shell_be: used in egs_eadl_relax When $EADL_RELAX is true, all these arrays are being set to the same energy values for consistency. If one uses epdl or xcom photon cross sections, the corresponding binding energies are read from either epdl_photo.data or xcom_photo.data. However, these files only provide data down to 1 keV. To include binding energies below 1 keV for detailed atomic relaxation simulation, the values from either incoh.data (xcom) or relax.data (epdl) are used. Also remove a commented out portion of the code and the unused variable tot_prob.
- Loading branch information