/[PAMELA software]/yoda/event/CalibTrk1Event.h
ViewVC logotype

Contents of /yoda/event/CalibTrk1Event.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4.2 - (show annotations) (download)
Sat May 7 08:48:25 2005 UTC (19 years, 6 months ago) by kusanagi
Branch: MAIN
CVS Tags: YODA4_3/02, YODA4_3/00, YODA4_3/01, YODA4_2/03, yodaPreTermistores2_0/00
Branch point for: PreThermistores2
Changes since 4.1: +97 -19 lines
File MIME type: text/plain
Major update on the documentation.

1 #ifndef CALIBTRK1_EVENT_H
2 #define CALIBTRK1_EVENT_H
3
4 #include "SubPacket.h"
5
6 namespace pamela {
7 /**
8 * CalibTrk1 data Wrapper.
9 *
10 * The pamela::CalibTrk1 packet is the answer to a calibration session of half-sight of Tracker.
11 * The pedestal for each ladder is calculated dividing the 1024 strips composing each ladder in
12 * blocks of 128 strips each. The mean of the sum of the blocks divided by 4 give the ped_lX value
13 * for each ladder.
14 */
15 class CalibTrk1Event: public pamela::SubPacket {
16 private:
17
18 public:
19 CalibTrk1Event(void);
20
21 /**
22 * The acquisition mode of the Tracker; each element concerns a different plane.
23 */
24 int DAQmode[6];
25
26 /**
27 * The DSP number of the Tracker; each element concerns a different plane.
28 * If the element is 0 the DSP is not working.
29 */
30 int DSPnumber[6];
31
32 /**
33 * The Calibration number; each element concerns a different plane.
34 */
35 int calibnumber[6];
36
37 /**
38 * Counter of event?s number used for calibration; each element concerns a different plane.
39 */
40 int ncalib_event[6];
41
42 /**
43 * Pedestal values for Ladder1; each element concerns a different plane.
44 */
45 int ped_l1[6];
46
47 /**
48 * Pedestal values for Ladder2; each element concerns a different plane.
49 */
50 int ped_l2[6];
51
52 /**
53 * Pedestal values for Ladder3; each element concerns a different plane.
54 */
55 int ped_l3[6];
56
57 /**
58 * The Sigma values for the ped_l1 values; each element concerns a different plane.
59 */
60 int sig_l1[6];
61
62 /**
63 * The Sigma values for the ped_l2 values; each element concerns a different plane.
64 */
65 int sig_l2[6];
66
67 /**
68 * The Sigma values for the ped_l3 values; each element concerns a different plane.
69 */
70 int sig_l3[6];
71
72 /**
73 * The number of bad strips for the ped_l1 values; each element concerns a different plane.
74 */
75 int nbad_l1[6];
76
77 /**
78 * The number of bad strips for the ped_l2 values; each element concerns a different plane.
79 */
80 int nbad_l2[6];
81
82 /**
83 * The number of bad strips for the ped_l3 values; each element concerns a different plane.
84 */
85 int nbad_l3[6];
86
87 /**
88 * Calibration validity check; each element concerns a different plane.
89 * Description: <BR>
90 * 1: The calibration is bad. <BR>
91 * 0: The calibration is ok. <BR>
92 */
93 int cal_flag[6];
94
95 /**
96 * The value of the pedestal for each strip (3072 strips in 6 planes).
97 */
98 float DSPped_par[6][3072];
99
100 /**
101 * The value of the Sigma for each strip (3072 strips in 6 planes).
102 */
103 float DSPsig_par[6][3072];
104
105 /**
106 * Identify which strip is bad (3072 strips in 6 planes).
107 */
108 int DSPbad_par[6][3072];
109
110 UINT8 unpackError;
111 ClassDef(CalibTrk1Event, 3)
112 };
113 }
114
115 #endif /* CALIBTRK1_EVENT_H */
116

  ViewVC Help
Powered by ViewVC 1.1.23