%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% EGS5 codes for the set-ups described in Rutjes & Sarria, "Evaluation of Monte Carlo tools for high energy atmospheric physics"
%%% Contact : Gabriel Diniz, gdiniz93@gmail.com

• General comments:

The files available  in this article do not run independently, they are inputs for EGS5 program.
The user must download the programs on:
 
http://rcwww.kek.jp/research/egs/egs5.html ; for EGS5


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

• EGS5:

- The files use standard EGS5 engine, there are no modifications on the main EGS5 code.
- The .inp file is used to setup enviorement coditions.
- The .f file, user code, is used to setup the simulation characteristcs.
- To run the program, the user execute the command "./egs5run" which will ask for a user code and an .inp input, the former is the .f file.
    See EGS5 documentation for a full tutorial on installing and running the program. http://rcwww.kek.jp/research/egs/egs5_manual/slac730-160113.pdf

- Both input files must be in the same folder than the executable egs5run. A possibility is to provide link files to the original input files,
if the user wants to keep the input files in a separated directory.


- The output is controlled by the user code and can be placed in anywhere the user wants.
- The output for this described work is a list of six properties:
     Particle ID (0 for photons, -1 for electron, 1 for positron), kinetic energy (keV), x positon (cm), y positon (cm), z positon (cm), time (nanosecond)
