The math.h library must be linked in order for the program to successfully run. This may require the -lm option on some systems. The total supply voltage is given by voltage . The attenuation of the photomultiplier signal is given by attenuation , and is equal to the factor by which the signal is to be divided. The average number of photoelectrons ejected by the photocathode is given by photoelectrons .
More options are available by entering a non-zero number after the other command line parameters.
All output files are put in this directory. Each run of the program results in 31 files. The file ending in 0 is the sum of all other histograms, the spectrum actually seen if the experiment was run. The histograms for specific numbers of initial photoelectrons were created to analyze the effect of the algorithm used to simulate the low charge events on larger numbers of photoelectrons and to look at the relations between mean and standard deviations of the individual peaks without interference from other peaks. The output of the program can be analyzed in any program that can import text and make histograms.