Parent Directory | Revision Log
modified for C3PO
1 | pam-fi | 1.1 | #ifndef CaloStruct_h |
2 | #define CaloStruct_h | ||
3 | |||
4 | struct cCaloLevel2 { | ||
5 | |||
6 | Int_t calntrk; | ||
7 | Int_t caltrkseqno[51]; | ||
8 | Int_t ncore[51]; | ||
9 | Int_t noint[51]; | ||
10 | Int_t ncyl[51]; | ||
11 | Int_t nlast[51]; | ||
12 | Int_t npre[51]; | ||
13 | Int_t npresh[51]; | ||
14 | Int_t ntr[51]; | ||
15 | Int_t planetot[51]; | ||
16 | Int_t nlow[51]; | ||
17 | Float_t qcore[51]; | ||
18 | Float_t qcyl[51]; | ||
19 | Float_t qlast[51]; | ||
20 | Float_t qpre[51]; | ||
21 | Float_t qpresh[51]; | ||
22 | Float_t qtr[51]; | ||
23 | Float_t qtrack[51]; | ||
24 | Float_t qtrackx[51]; | ||
25 | Float_t qtracky[51]; | ||
26 | Float_t dxtrack[51]; | ||
27 | Float_t dytrack[51]; | ||
28 | Float_t qmean[51]; | ||
29 | Float_t qlow[51]; | ||
30 | Float_t dX0l[51]; | ||
31 | |||
32 | |||
33 | Int_t good; | ||
34 | Int_t perr[4]; | ||
35 | Int_t swerr[4]; | ||
36 | Int_t calcrc[4]; | ||
37 | Int_t selftrigger; | ||
38 | |||
39 | Int_t nstrip; | ||
40 | Int_t nx22; | ||
41 | Int_t planemax[2]; | ||
42 | Float_t qtot; | ||
43 | Float_t qx22; | ||
44 | Float_t qmax; | ||
45 | Float_t qq[4]; | ||
46 | |||
47 | Int_t npcfit[2]; | ||
48 | Float_t impx; | ||
49 | Float_t impy; | ||
50 | Float_t tanx; | ||
51 | Float_t tany; | ||
52 | Float_t varcfit[2]; | ||
53 | |||
54 | Float_t elen; | ||
55 | Float_t selen; | ||
56 | |||
57 | |||
58 | void InitcCaloLevel2(){ | ||
59 | |||
60 | calntrk = 0; | ||
61 | good = 0; | ||
62 | selftrigger = 0; | ||
63 | nstrip = 0; | ||
64 | nx22 = 0; | ||
65 | qtot = 0; | ||
66 | qx22 = 0; | ||
67 | qmax = 0; | ||
68 | impx = 0; | ||
69 | impy = 0; | ||
70 | tanx = 0; | ||
71 | tany = 0; | ||
72 | elen = 0; | ||
73 | selen = 0; | ||
74 | for(Int_t i=0;i<51;i++){ | ||
75 | caltrkseqno[i] = 0; | ||
76 | ncore[i] = 0; | ||
77 | noint[i] = 0; | ||
78 | ncyl[i] = 0; | ||
79 | nlast[i] = 0; | ||
80 | npre[i] = 0; | ||
81 | npresh[i] = 0; | ||
82 | ntr[i] = 0; | ||
83 | planetot[i] = 0; | ||
84 | nlow[i] = 0; | ||
85 | qcore[i] = 0; | ||
86 | qcyl[i] = 0; | ||
87 | qlast[i] = 0; | ||
88 | qpre[i] = 0; | ||
89 | qpresh[i] = 0; | ||
90 | qtr[i] = 0; | ||
91 | qtrack[i] = 0; | ||
92 | qtrackx[i] = 0; | ||
93 | qtracky[i] = 0; | ||
94 | dxtrack[i] = 0; | ||
95 | dytrack[i] = 0; | ||
96 | qmean[i] = 0; | ||
97 | qlow[i] = 0; | ||
98 | dX0l[i] = 0; | ||
99 | } | ||
100 | for(Int_t i=0;i<4;i++){ | ||
101 | perr[i] = 0; | ||
102 | swerr[i] = 0; | ||
103 | calcrc[i] = 0; | ||
104 | qq[i] = 0; | ||
105 | } | ||
106 | for(Int_t i=0;i<2;i++){ | ||
107 | planemax[i] = 0; | ||
108 | npcfit[i] = 0; | ||
109 | varcfit[i] = 0; | ||
110 | } | ||
111 | } | ||
112 | }; | ||
113 | |||
114 | #endif |
ViewVC Help | |
Powered by ViewVC 1.1.23 |