Name | Modified | Size | Downloads / Week |
---|---|---|---|
Readme | 2017-01-23 | 1.5 kB | |
ppfrag02.tar.gz | 2017-01-23 | 46.1 kB | |
Totals: 2 Items | 47.5 kB | 0 |
download the file ppfrag02.tar.gz and unpack it, > tar -xvf ppfrag02.tar.gz Two examples for a main files (one for antiproton, another one for gamma spectra), the subroutines frag.f and param.f, two data files (ap-table.dat and gamfrag.dat), a Makefile and this Readme file shoud appear. Compiling the program with a fortran compiler, and running it > make aproton > ./ap.out and > make gamma > ./gam.out produces as output files: * aprot.dat * p+p-gamma0.dat, p+p-gamma0.dat, and He+p-gamma.dat * The program main_aprot.f contains as example calls to the subroutine apspec(e0,epbar,iap,iat) which returns Epbar * d[sig(E0,Epbar)] / d[Epbar] for primary nuclei with mass number iap =1,..,60, target nuclei with mass number iat =1,4. * The main_gamma.f contains as examples calls to the subroutine double precision function spec_int(ep,es,id,reac) which interpolates the energy spectra es*dsigma/des of photons in the lab system. Its variables are ep - incident energy per nucleon (GeV); es - secondary particle energy (GeV); id - secondary particle type (0 - photon) reac - production process: 2 - p+He; 3 - He+p using only QGSJET, 0: photon spectra for p+p collisions based on the non-diffractive part of the Kamae parametrization for ep<ethr and QGSJET tables for ep>ethr All cross sections are in mbarn, all energies are the usual relativistic energy.