GrISUDet Fadc Output

The grisudet output file normally has a .rec extension. It contains for each channel in each telescope "P" records. Each "P" record contains the time bins of the fadc output. The following shower "S" record gives a description of the shower. Finally, "R" records provide the fadc output for those channels triggered by the shower.

In the following table, the output file is in italics and comments are not.

The first record shows the version number (only for the current version), not included 
in previous versions.
V 4.1.1

his "P" record is an example of one pedestel record with parameters:
P: indicates pedestal record
0: placeholder
0: telescope number
0: channel number
20: pedestal value for first channel...

P 0 0 0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 24 25 25 25 24 23 23 24 23
23 23 22 24 27 29 31 31 31 29 27 25 23 21 20 20 20 20 20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 25 28 33 36 36 34 32 29 25 23 21 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 25 28 29 29 28 27 25 23 21 20 20 20 20 20 20 20
20 20 20 21 23 24 25 24 24 23 22 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 24 27 31 33
33 32 29 27 24 22 21 20 20 20 20 24 28 30 30 29 27 27 29 29 28 27 26 25 23 23
23 23 22 22 22 21 21 20 20 25 29 31 31 31 30 29 27 25 23 21 21 20 20 20 20 20
20 20 20 20 20 20 20 20 20 22 23 23 23 26 27 30 32 36 38 37 36 33 29 26 23 21
20 20 20 23 31 36 37 36 34 31 28 24 22 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 21 25 28 29 29 28 26 24 22 21 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 21 21 22 21 21 21 20 20 20 20 22 25 26 27 26 25 24
23 21 20 20 20 20 20 21 21 21 21 21 21 20 20 20 20 20 20 24 26 27 27 27 25 24
22 21 20 21 22 22 22 26 29 30 30 29 30 32 32 31 29 27 25 23 22 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20

The following Shower record gives:
S: indicates shower record
0: event number
0: primary type
0.327000: primary energy
-99.199997: x-coordinate of impact point on ground plane
-57.400002: y-coodinate of impact point on ground plane
-0.075400: x direction cosine of primary in ground coordinate system
-0.333600: y direction cosine of primary in ground coordinate system
0.000: x coordinate of source location in degrees (from detector.pilot)
0.000: x coordinate of source location in degrees (from detector.pilot)

S 0 0 0.327000 -99.199997 -57.400002 -0.075400 -0.333600 0.000 0.000


The paraemters in the following "L" line are:
L: indicates a telescope pointing record
0: the event number
0: the telescope number
-0.075400: the x direction cosine of the telescope on the sky
-0.333600: the y direction cosine of the telescope on the sky

L 0 0 -0.075400 -0.333600

 The parameters in the following trigger line are:
W: indicates an array trigger
0 the event number
1.0 indicates an array trigger occured
1.0 1.0 1.0 1.0 the local_trigger_flag[tel], tel = 1 to nbr_tel
139.10 181.10 47.60 190.70 the local_trigger_time[tel], tel = 1 to nbr_tel
190.95 194.05 190.20 190.70 the local_delayed_trigger_time[tel], tel = 1 to nbr_tel
37.76 the x-coor of the projected primary impact point in the rotated coor.
system (x-y plane perpendicular to the telescope optic axis)
61.63 the y-coor of the projected primary impact point in the rotated frame.
W 0 1.0 1.0 1.0 1.0 1.0 139.10 181.10 47.60 190.70 190.95 194.05 190.20 190.70 37.76 61.63
 
The following R record gives:
R: indicates fadc record
0: event number
0: telescope number
0: channel number
0: hi/lo gain flag (0: hi gain, 1: lo gain)
163: fadc output in digital counts ....

R 0 0 163 0 44 60 71 88 99 104 100 89 75 60 47 36 28 23 21 20
R 0 0 210 0 55 66 72 80 85 86 80 70 59 48 39 31 25 21 20 20
R 0 0 211 0 43 53 70 95 133 166 178 171 151 128 102 76 54 38 28 24
R 0 0 323 0 21 27 43 60 78 85 84 77 68 57 45 35 28 24 22 21

If the NUMPE option is selected in detector.pilot, records containing the number of
photoelectrons in each pixel are also written to this output file. The following partial N
record gives:

N: indicates numpe record
0: event number
0: telescope number
followed by the number of photoelectrons in each successive pixel beginning
with pixel number 1.
N 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 6 4 0 0 5 8 0 0 0 0 0 0 0 ...