GrISUDet Qadc Output

We normally label grisudet output files with a .rec extension. The "Z" records of this file come first and contain pedestal information, one for each channel. The shower information follows. Each shower has "S" record giving the shower information. If the shower triggered the telescope, the following "Q" record give the number of digital counts in each channel. The "Z", "S", and "Q" records are repeated for each telescope.

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

This output file was culled to show one pedestal record and two showers.  There is 
one telescope (telescope 0). The first shower produced a trigger; the second shower did not. I have
added comments before each record.
The first four parameters of the following pedestel record are: Z: indicates a pedestel record 0: just a place holder 0: the telescope number 32: the pedestel value for channel 0 34: the pedestel value for channel 1, etc.

Z 0 0 32 34 27 26 23 31 24 22 24 24 27 26 29 22 33 21 25 31 28 31 23 30 23 27 31 28 22 29 20 22
20 22 30 19 22 26 23 25 26 23 27 26 24 20 35 20 21 26 27 22 20 26 29 26 20 41 32 20 40 27 30 24
26 22 23 27 28 20 28 20 24 20 23 22 26 26 29 24 28 23 27 23 19 21 20 26 31 29 30 21 25 29 24 20
24 22 27 24 33 20 37 24 23 24 26 28 37 35 22 28 24 27 26 20 27 25 25 20 20 25 20 24 23 21 26 28
30 23 22 27 22 23 23 20 22 21 25 20 32 28 20 28 29 20 25 23 24 27 28 30 23 29 26 30 22 23 22 26
25 43 27 20 30 25 22 20 20 28 22 26 30 24 20 23 20 30 26 20 21 24 29 25 31 20 20 24 20 22 20 24
31 20 23 24 23 20 27 21 20 24 20 20 40 24 25 23 33 20 22 20 20 20 22 31 27 37 24 20 25 27 23 22
21 20 23 27 22 29 34 29 24 20 20 23 25 20 26 22 20 21 21 27 20 30 20 26 27 39 22 26 26 32 22 20
24 27 22 22 26 24 24 20 21 29 27 38 27 23 25 24 28 20 28 23 23 20 23 21 30 21 23 25 23 24 27 24
20 28 26 27 32 27 26 26 26 20 20 33 25 31 27 24 27 27 26 22 36 30 34 33 27 22 29 26 23 25 26 29
23 23 25 25 21 25 29 32 25 27 24 23 28 27 23 21 29 28 24 28 22 20 28 27 20 30 20 26 25 23 33 24
25 20 28 21 20 27 25 20 46 31 31 35 22 30 25 21 20 20 23 30 35 24 21 23 23 20 33 27 22 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 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 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
The parameters in the following shower line are:
S: indicates a shower line
0 the event number (starts from 0)
1 primary type (see kascade documentation)
0.327000 primary energy in TeV
-99.199997 x-coordinate of impact point on ground plane
-57.400002 y-coordinate of impact point on ground plane
-0.075400 x-direction cosine of primary with respect to ground plane
-0.333600 y-direction cosine of primary with respect to ground plane
0.000: x coordinate of source location in degrees (from detector.pilot)
0.000: x coordinate of source location in degrees (from detector.pilot)


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

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 the local_trigger_flag[tel], tel = 1 to nbr_tel
-12.10 the local_trigger_time[tel], tel = 1 to nbr_tel
-12.10 the local_delayed_trigger_time[tel], tel = 1 to nbr_tel
30.81 the x-coor of the projected primary impact point in the rotated coor.
system (x-y plane perpendicular to the telescope optic axis)
-38.43 the y-coor of the projected primary impact point in the rotated frame.

S 0 0 0.327000 -99.199997 -57.400002 -0.075400 -0.333600 0.000 0.000
L 0 0
-0.075400 -0.333600
W 0 1.0 1.0 -12.10 -12.10 30.81 -38.43
Q 0 0 30 22 21 22 30 28 24 20 30 20 27 24 29 31 20 24 26 20 26 22 27 21 20 24 21 29 25 30 20 24
20 21 30 22 29 29 24 24 29 33 34 20 28 26 36 37 24 34 20 23 34 19 28 20 22 28 28 36 37 28 22 25
25 20 36 21 27 25 25 29 22 20 36 22 25 30 21 21 24 23 26 29 24 20 22 31 33 59 31 27 22 27 24 26
20 27 23 22 25 19 20 30 25 27 34 23 32 23 21 31 22 33 20 26 27 22 27 27 20 24 27 47 61 44 24 29
23 23 25 29 20 28 20 22 24 20 23 28 34 24 22 20 22 20 23 31 32 31 24 22 25 20 21 20 28 23 23 27
26 21 32 27 36 96 88 30 27 28 23 27 21 24 27 23 27 25 25 22 25 24 23 23 28 20 21 22 23 24 25 26
20 24 25 29 24 24 23 20 20 24 22 27 33 33 26 22 31 20 22 29 67 91 63 40 24 34 24 24 24 26 30 22
23 22 22 27 28 43 22 29 28 24 34 20 20 22 32 23 22 22 21 20 20 35 25 22 30 39 21 26 20 37 29 23
22 24 25 31 24 20 34 33 38 36 90 69 25 20 20 34 20 28 20 26 30 28 21 32 24 21 21 44 21 24 24 26
20 28 26 27 29 24 30 22 25 27 23 20 22 25 21 24 23 23 22 25 27 20 23 27 28 22 22 24 25 20 26 20
36 22 37 36 26 57 60 42 32 21 29 23 24 20 20 21 30 35 19 23 30 23 32 29 23 22 24 35 20 32 25 23
23 20 26 20 26 27 21 21 23 24 24 28 27 24 25 21 26 26 23 29 35 41 37 37 28 23 37 22 25 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 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 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

The parameters in the preceeding Q record are:
Q: indicates a digital count record (for all pixels)
0: the event number (starts from 0)
0: the telescope number
followed by the digital counts in each pixel.

If the final flag in the QADCS record in the telescope configuration file is set to one, an additional record
will also print which has the same format as the Q record. In this additional record:
N: indicates a number of photoelectrons record (for all pixels)
0: the event number (starts from 0)
0: the telescope number
followed by the photoelectrons in each pixel, same format as the Q record above.
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 ...