124 |
struct cTrkLevel2 { |
struct cTrkLevel2 { |
125 |
// int good2; |
// int good2; |
126 |
// int crc[12]; |
// int crc[12]; |
127 |
int good[12]; |
int good[12]; |
128 |
|
int vkflag[24][12]; |
129 |
// ---------------------------- |
// ---------------------------- |
130 |
int nclsx; |
int nclsx; |
131 |
int planex[NSINGMAX]; |
int planex[NSINGMAX]; |
146 |
float zm_nt[NTRKMAX][6]; |
float zm_nt[NTRKMAX][6]; |
147 |
float resx_nt[NTRKMAX][6]; |
float resx_nt[NTRKMAX][6]; |
148 |
float resy_nt[NTRKMAX][6]; |
float resy_nt[NTRKMAX][6]; |
149 |
|
float tailx[NTRKMAX][6]; |
150 |
|
float taily[NTRKMAX][6]; |
151 |
float al_nt[NTRKMAX][5]; |
float al_nt[NTRKMAX][5]; |
152 |
float coval[NTRKMAX][5][5]; |
float coval[NTRKMAX][5][5]; |
153 |
float chi2_nt[NTRKMAX]; |
float chi2_nt[NTRKMAX]; |
154 |
int nstep_nt[NTRKMAX]; |
int nstep_nt[NTRKMAX]; |
155 |
int xgood_nt[NTRKMAX][6]; |
int xgood_nt[NTRKMAX][6]; |
156 |
int ygood_nt[NTRKMAX][6]; |
int ygood_nt[NTRKMAX][6]; |
157 |
|
int ls[NTRKMAX][6]; |
158 |
|
int xbad[NTRKMAX][6]; |
159 |
|
int ybad[NTRKMAX][6]; |
160 |
float xv_nt[NTRKMAX][6]; |
float xv_nt[NTRKMAX][6]; |
161 |
float yv_nt[NTRKMAX][6]; |
float yv_nt[NTRKMAX][6]; |
162 |
float zv_nt[NTRKMAX][6]; |
float zv_nt[NTRKMAX][6]; |
168 |
int cltry[NTRKMAX][6]; |
int cltry[NTRKMAX][6]; |
169 |
// float bdl[NTRKMAX]; |
// float bdl[NTRKMAX]; |
170 |
|
|
171 |
void InitcTrkLevel2(){ |
void InitcTrkLevel2(){ |
172 |
|
|
173 |
// good2 = 0; |
// good2 = 0; |
174 |
for(Int_t i=0; i<12 ; i++) |
for(Int_t i=0; i<12 ; i++){ |
175 |
// crc[i] = 0; |
good[i] = 0; |
176 |
good[i] = 0; |
for(Int_t ii=0; ii<24 ; ii++)vkflag[ii][i]=0; |
177 |
// ---------------------------- |
} |
178 |
nclsx = 0; |
// ---------------------------- |
179 |
nclsy = 0; |
nclsx = 0; |
180 |
for(Int_t i=0; i<NSINGMAX ; i++){ |
nclsy = 0; |
181 |
planex[i] = 0; |
for(Int_t i=0; i<NSINGMAX ; i++){ |
182 |
xs[i][0] = 0; |
planex[i] = 0; |
183 |
xs[i][1] = 0; |
xs[i][0] = 0; |
184 |
signlxs[i] = 0; |
xs[i][1] = 0; |
185 |
planey[i] = 0; |
signlxs[i] = 0; |
186 |
ys[i][0] = 0; |
planey[i] = 0; |
187 |
ys[i][1] = 0; |
ys[i][0] = 0; |
188 |
signlys[i] = 0; |
ys[i][1] = 0; |
189 |
} |
signlys[i] = 0; |
190 |
// ---------------------------- |
} |
191 |
ntrk =0 ; |
// ---------------------------- |
192 |
|
ntrk =0 ; |
193 |
for(Int_t i=0; i<NTRKMAX ; i++){ |
|
194 |
image[i] = 0; |
for(Int_t i=0; i<NTRKMAX ; i++){ |
195 |
chi2_nt[i] = 0; |
image[i] = 0; |
196 |
|
chi2_nt[i] = 0; |
197 |
// bdl[i] = 0; |
// bdl[i] = 0; |
198 |
|
|
199 |
for(Int_t ii=0; ii<5 ; ii++){ |
for(Int_t ii=0; ii<5 ; ii++){ |
200 |
al_nt[i][ii] = 0; |
al_nt[i][ii] = 0; |
201 |
for(Int_t iii=0; iii<5 ; iii++) |
for(Int_t iii=0; iii<5 ; iii++) |
202 |
coval[i][ii][iii] = 0; |
coval[i][ii][iii] = 0; |
203 |
} |
} |
204 |
|
|
205 |
for(Int_t ii=0; ii<6 ; ii++){ |
for(Int_t ii=0; ii<6 ; ii++){ |
206 |
xm_nt[i][ii] = 0; |
xm_nt[i][ii] = 0; |
207 |
ym_nt[i][ii] = 0; |
ym_nt[i][ii] = 0; |
208 |
zm_nt[i][ii] = 0; |
zm_nt[i][ii] = 0; |
209 |
resx_nt[i][ii] = 0; |
resx_nt[i][ii] = 0; |
210 |
resy_nt[i][ii] = 0; |
resy_nt[i][ii] = 0; |
211 |
xgood_nt[i][ii] = 0; |
xgood_nt[i][ii] = 0; |
212 |
ygood_nt[i][ii] = 0; |
ygood_nt[i][ii] = 0; |
213 |
xv_nt[i][ii] = 0; |
xv_nt[i][ii] = 0; |
214 |
yv_nt[i][ii] = 0; |
yv_nt[i][ii] = 0; |
215 |
zv_nt[i][ii] = 0; |
zv_nt[i][ii] = 0; |
216 |
axv_nt[i][ii] = 0; |
axv_nt[i][ii] = 0; |
217 |
ayv_nt[i][ii] = 0; |
ayv_nt[i][ii] = 0; |
218 |
dedx_x[i][ii] = 0; |
dedx_x[i][ii] = 0; |
219 |
dedx_y[i][ii] = 0; |
dedx_y[i][ii] = 0; |
220 |
} |
} |
221 |
|
} |
222 |
} |
} |
223 |
} |
|
|
|
|
224 |
}; |
}; |
225 |
// ================================================================== |
// ================================================================== |
226 |
/** |
/** |