CHERENKF OUTPUT

The cherenkf7.c output file begins with a header following by photon lines. The header file contains information passed from kascade as well as cherenkf parameters. All header information must occur prior to the * DATAF flag which indicates the start of photon lines.

The new "H" line in the output file passes the observatory height from cherenkf7 to grisudet.

Photon lines for each shower consist of an initial line giving the global efficiency, a second line describing the primary cosmic ray giving ( in this order):

i)     the energy (TeV)
ii)    the x-coordinate (meters) of the core
iii)   the y-coordinate (meters) of the core
iv)   the x-direction cosine
v)    the y-direction cosine
vi)   the height (meters) from the observatory
vii)  the negative seed used in kascade.inp
viii) the negative seeds used in cherenkov

The following "P" lines describe each photon giving (in this order):

i)    the x-coordinate (meters) on the ground
ii)   the y-coordinate (meters) on the ground
iii)  the x-direction cosine
iv)  the y-direction cosine
v)   the height (meters) of emission
vi)  the relative time (nsecs) of emission
vii) the wavelength (nanometers)
viii) the type of the particle emitting the photon
ix)  the detector hit (negative integer number)

The following example file include three output lines. Each block of numbers following the data flag is a single line. We decreased the font size for the header so each line fits on the screen hortizonally.

The new "H" line passes the height of the observatory in meters above sea level from cherenkf7 to grisudet.


* HEADF <-- Start of header flag
Photons generated by cherenkov on Wed Jan 17 11:38:16 2007

cherenkf pilot filename = cherenkov.pilot
segment filename = stdin
cherenkf photon filename = ./Data/MCPhotons/photon.cph
configuration file = ./Config/Files/veritas4bc_gm.cfg
cherenkf seeds = -10777 -32656
min and max throw radius = 0.000000 100.000000
global efficiency = 0.340000

ksKascade: START------Wed Jan 17 11:38:16 2007
pilotfile: kascade.pilot
TITLE: create test file
NUMBR: 2
FILEO:
FILEL: kascade.log
RSEED: -19240
ENERG: 1 1
PTYPE: 1
INDXG: -1.5
DIRCS: 0.5 0 0.93
THRES : 25
DPOBS : 890
THICK : 0.05
PROCS : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
fFLAGS : 1 1 1
fMAGON: W

* DATAF <-- end of header flag
R 0.340000
H 1265.187000
S 0.055 70.1 -99.7 0.2144 -0.2664 0.0 -65711 -6012 -6013 P 3.9 -0.5 0.2122 -0.2628 23331.5 -124.1 474 3 0 P 3.8 -1.2 0.2122 -0.2628 23239.6 -123.5 433 3 0 P 1.4 0.3 0.2121 -0.2628 23034.0 -126.6 499 3 0 P -0.3 2.2 0.2121 -0.2627 22999.6 -129.4 560 3 0 P -1.6 4.5 0.2120 -0.2626 23073.7 -132.2 380 3 0 P 4.8 -3.1 0.2122 -0.2629 23185.4 -121.2 432 3 0 P 1.5 -0.3 0.2120 -0.2629 23765.1 -127.6 523 3 0 P 0.8 2.1 0.2120 -0.2629 24192.7 -130.0 512 3 0

The particle types are represented all through the code by the following convention of integer numbers:

1: gamma photon 10:negative kaon
2: positron11:long neutral kaon
3: electron12:short neutral kaon
4: positive muon13:proton
5: negative muon14:neutron
6: neutral pion 15: electronic neutrino
7: positive pion 16:electronic antineutrino
8: negative pion 17:muonic neutrino
9: positive kaon18:muonic antineutrino