/[PAMELA software]/quicklook/OrbitalRate/inc/CalibTrk2Event.h
ViewVC logotype

Annotation of /quicklook/OrbitalRate/inc/CalibTrk2Event.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Dec 5 19:49:14 2006 UTC (17 years, 11 months ago) by pam-rm2
Branch: MAIN
CVS Tags: v2r02, v2r01, v2r00, HEAD
File MIME type: text/plain
New version of OrbitalRate quicklook.  Initial import.
Nico

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

  ViewVC Help
Powered by ViewVC 1.1.23