6 |
#ifndef trkstruct_h |
#ifndef trkstruct_h |
7 |
#define trkstruct_h |
#define trkstruct_h |
8 |
|
|
9 |
|
#define NPLANE 6 |
10 |
|
#define NVIEW 12 |
11 |
|
#define NVK 24 |
12 |
|
#define NLADDER 3 |
13 |
|
|
14 |
|
#define NCLMAX_VIEW 200 //max n.clusters per view |
15 |
|
#define NCLSTR 20 //max n.strip per cluster |
16 |
|
#define NCLMAX (NCLMAX_VIEW*12) //max n.clusters total |
17 |
|
#define NCLBUFF (NCLMAX*NCLSTR) |
18 |
|
|
19 |
|
#define NDBLT_MAX_NT 1000 // 0.2*ndblt_max |
20 |
|
#define NTRPT_MAX_NT 10000 // 0.2*ntrpt_max |
21 |
|
#define NCLOYZ_MAX 200 |
22 |
|
#define NCLOXZ_MAX 200 |
23 |
|
|
24 |
#define NTRKMAX 10 |
#define NTRKMAX 10 |
25 |
#define NSINGMAX 100 |
#define NSINGMAX NCLMAX //100 |
26 |
|
|
27 |
|
#define NANGMAX 21 |
28 |
|
#define NETAVALMAX 500 |
29 |
|
|
|
#define NCLMAX_VIEW 200 |
|
|
#define NCLSTR 19 |
|
|
#define NCLMAX (NCLMAX_VIEW*12) |
|
|
#define NCLBUFF (NCLMAX*NCLSTR) |
|
30 |
|
|
31 |
#include <CalibTrk1Event.h> |
#include <CalibTrk1Event.h> |
32 |
#include <CalibTrk2Event.h> |
#include <CalibTrk2Event.h> |
33 |
|
using namespace pamela; |
34 |
|
//#include <TrkCalib.h> |
35 |
|
|
36 |
#include <TString.h> |
#include <TString.h> |
37 |
#include <TFile.h> |
#include <TFile.h> |
38 |
#include <TTree.h> |
#include <TTree.h> |
39 |
|
|
40 |
|
|
41 |
#include <fstream> |
#include <fstream> |
42 |
#include <iostream> |
#include <iostream> |
43 |
/** |
/** |
51 |
float sigma_t[128][24][12]; |
float sigma_t[128][24][12]; |
52 |
int bad[128][24][12]; |
int bad[128][24][12]; |
53 |
|
|
54 |
void FillACalibFrom(TFile* , Int_t , Int_t ); |
void Reset(){ |
55 |
void FillFCalibFrom(TFile* , Int_t , Int_t ); |
for(int is=0; is<128; is++){ |
56 |
void FillTCalibFrom(TFile* , Int_t , Int_t ); |
for(int ivk=0; ivk<24; ivk++){ |
57 |
void FillTCalibFrom(TString); |
for(int iv=0; iv<12; iv++){ |
58 |
|
pedestal[is][ivk][iv]=0.; |
59 |
|
pedestal_t[is][ivk][iv]=0.; |
60 |
|
sigma[is][ivk][iv]=0.; |
61 |
|
sigma_t[is][ivk][iv]=0.; |
62 |
|
bad[is][ivk][iv]=1; |
63 |
|
} |
64 |
|
} |
65 |
|
} |
66 |
|
} |
67 |
|
|
68 |
|
/* void FillACalibFrom(TFile* , Int_t , Int_t ); */ |
69 |
|
/* void FillFCalibFrom(TFile* , Int_t , Int_t ); */ |
70 |
|
/* void FillTCalibFrom(TFile* , Int_t , Int_t ); */ |
71 |
|
/* void FillTCalibFrom(TString); */ |
72 |
|
|
73 |
}; |
}; |
74 |
// ================================================================== |
// ================================================================== |
110 |
*/ |
*/ |
111 |
struct cTrkLevel1 { |
struct cTrkLevel1 { |
112 |
// int good1; |
// int good1; |
113 |
int good[12]; |
int good[12]; |
114 |
int nclstr1; |
int nclstr1; |
115 |
int view[NCLMAX]; |
int view[NCLMAX]; |
116 |
int ladder[NCLMAX]; |
int ladder[NCLMAX]; |
117 |
int maxs[NCLMAX]; |
int maxs[NCLMAX]; |
118 |
int mult[NCLMAX]; |
int mult[NCLMAX]; |
119 |
float dedx[NCLMAX]; |
float dedx[NCLMAX]; |
120 |
int indstart[NCLMAX]; |
int indstart[NCLMAX]; |
121 |
int indmax[NCLMAX]; |
int indmax[NCLMAX]; |
122 |
int totCLlength; |
int totCLlength; |
123 |
float clsignal[NCLBUFF]; |
float clsignal[NCLBUFF]; |
124 |
float clsigma[NCLBUFF]; |
float clsigma[NCLBUFF]; |
125 |
int cladc[NCLBUFF]; |
int cladc[NCLBUFF]; |
126 |
int clbad[NCLBUFF]; |
int clbad[NCLBUFF]; |
127 |
float cnev[24][12]; |
float cnev[24][12]; |
128 |
int cnnev[24][12]; |
int cnnev[24][12]; |
129 |
int fshower[12]; |
float cnrmsev[24][12]; |
130 |
int whichtrack[NCLMAX]; |
int fshower[12]; |
131 |
|
int whichtrack[NCLMAX]; |
132 |
|
|
133 |
}; |
}; |
134 |
// ================================================================== |
// ================================================================== |
135 |
/** |
/** |
138 |
struct cTrkLevel2 { |
struct cTrkLevel2 { |
139 |
// int good2; |
// int good2; |
140 |
// int crc[12]; |
// int crc[12]; |
141 |
int good[12]; |
int good[12]; |
142 |
|
int vkflag[24][12]; |
143 |
// ---------------------------- |
// ---------------------------- |
144 |
int nclsx; |
int nclsx; |
145 |
int planex[NSINGMAX]; |
int planex[NSINGMAX]; |
146 |
float xs[NSINGMAX][2]; |
float xs[NSINGMAX][2]; |
147 |
float signlxs[NSINGMAX]; |
float signlxs[NSINGMAX]; |
148 |
int clsx[NSINGMAX]; |
int clsx[NSINGMAX]; |
149 |
// ---------------------------- |
// ---------------------------- |
150 |
int nclsy; |
int nclsy; |
151 |
int planey[NSINGMAX]; |
int planey[NSINGMAX]; |
152 |
float ys[NSINGMAX][2]; |
float ys[NSINGMAX][2]; |
153 |
float signlys[NSINGMAX]; |
float signlys[NSINGMAX]; |
154 |
int clsy[NSINGMAX]; |
int clsy[NSINGMAX]; |
155 |
// ---------------------------- |
// ---------------------------- |
156 |
int ntrk; |
int ntrk; |
157 |
int image[NTRKMAX]; |
int image[NTRKMAX]; |
160 |
float zm_nt[NTRKMAX][6]; |
float zm_nt[NTRKMAX][6]; |
161 |
float resx_nt[NTRKMAX][6]; |
float resx_nt[NTRKMAX][6]; |
162 |
float resy_nt[NTRKMAX][6]; |
float resy_nt[NTRKMAX][6]; |
163 |
|
float tailx[NTRKMAX][6]; |
164 |
|
float taily[NTRKMAX][6]; |
165 |
float al_nt[NTRKMAX][5]; |
float al_nt[NTRKMAX][5]; |
166 |
float coval[NTRKMAX][5][5]; |
float coval[NTRKMAX][5][5]; |
167 |
float chi2_nt[NTRKMAX]; |
float chi2_nt[NTRKMAX]; |
168 |
int nstep_nt[NTRKMAX]; |
int nstep_nt[NTRKMAX]; |
169 |
int xgood_nt[NTRKMAX][6]; |
int xgood_nt[NTRKMAX][6]; |
170 |
int ygood_nt[NTRKMAX][6]; |
int ygood_nt[NTRKMAX][6]; |
171 |
|
int ls[NTRKMAX][6]; |
172 |
|
int xbad[NTRKMAX][6]; |
173 |
|
int ybad[NTRKMAX][6]; |
174 |
float xv_nt[NTRKMAX][6]; |
float xv_nt[NTRKMAX][6]; |
175 |
float yv_nt[NTRKMAX][6]; |
float yv_nt[NTRKMAX][6]; |
176 |
float zv_nt[NTRKMAX][6]; |
float zv_nt[NTRKMAX][6]; |
178 |
float ayv_nt[NTRKMAX][6]; |
float ayv_nt[NTRKMAX][6]; |
179 |
float dedx_x[NTRKMAX][6]; |
float dedx_x[NTRKMAX][6]; |
180 |
float dedx_y[NTRKMAX][6]; |
float dedx_y[NTRKMAX][6]; |
181 |
int cltrx[NTRKMAX][6]; |
int cltrx[NTRKMAX][6]; |
182 |
int cltry[NTRKMAX][6]; |
int cltry[NTRKMAX][6]; |
183 |
// float bdl[NTRKMAX]; |
// float bdl[NTRKMAX]; |
184 |
|
|
185 |
void InitcTrkLevel2(){ |
void InitcTrkLevel2(){ |
186 |
|
|
187 |
// good2 = 0; |
// good2 = 0; |
188 |
for(Int_t i=0; i<12 ; i++) |
for(Int_t i=0; i<12 ; i++){ |
189 |
// crc[i] = 0; |
good[i] = 0; |
190 |
good[i] = 0; |
for(Int_t ii=0; ii<24 ; ii++)vkflag[ii][i]=0; |
191 |
// ---------------------------- |
} |
192 |
nclsx = 0; |
// ---------------------------- |
193 |
nclsy = 0; |
nclsx = 0; |
194 |
for(Int_t i=0; i<NSINGMAX ; i++){ |
nclsy = 0; |
195 |
planex[i] = 0; |
for(Int_t i=0; i<NSINGMAX ; i++){ |
196 |
xs[i][0] = 0; |
planex[i] = 0; |
197 |
xs[i][1] = 0; |
xs[i][0] = 0; |
198 |
signlxs[i] = 0; |
xs[i][1] = 0; |
199 |
planey[i] = 0; |
signlxs[i] = 0; |
200 |
ys[i][0] = 0; |
planey[i] = 0; |
201 |
ys[i][1] = 0; |
ys[i][0] = 0; |
202 |
signlys[i] = 0; |
ys[i][1] = 0; |
203 |
} |
signlys[i] = 0; |
204 |
// ---------------------------- |
} |
205 |
ntrk =0 ; |
// ---------------------------- |
206 |
|
ntrk =0 ; |
207 |
for(Int_t i=0; i<NTRKMAX ; i++){ |
|
208 |
image[i] = 0; |
for(Int_t i=0; i<NTRKMAX ; i++){ |
209 |
chi2_nt[i] = 0; |
image[i] = 0; |
210 |
|
chi2_nt[i] = 0; |
211 |
// bdl[i] = 0; |
// bdl[i] = 0; |
212 |
|
|
213 |
for(Int_t ii=0; ii<5 ; ii++){ |
for(Int_t ii=0; ii<5 ; ii++){ |
214 |
al_nt[i][ii] = 0; |
al_nt[i][ii] = 0; |
215 |
for(Int_t iii=0; iii<5 ; iii++) |
for(Int_t iii=0; iii<5 ; iii++) |
216 |
coval[i][ii][iii] = 0; |
coval[i][ii][iii] = 0; |
217 |
} |
} |
218 |
|
|
219 |
for(Int_t ii=0; ii<6 ; ii++){ |
for(Int_t ii=0; ii<6 ; ii++){ |
220 |
xm_nt[i][ii] = 0; |
xm_nt[i][ii] = 0; |
221 |
ym_nt[i][ii] = 0; |
ym_nt[i][ii] = 0; |
222 |
zm_nt[i][ii] = 0; |
zm_nt[i][ii] = 0; |
223 |
resx_nt[i][ii] = 0; |
resx_nt[i][ii] = 0; |
224 |
resy_nt[i][ii] = 0; |
resy_nt[i][ii] = 0; |
225 |
xgood_nt[i][ii] = 0; |
xgood_nt[i][ii] = 0; |
226 |
ygood_nt[i][ii] = 0; |
ygood_nt[i][ii] = 0; |
227 |
xv_nt[i][ii] = 0; |
xv_nt[i][ii] = 0; |
228 |
yv_nt[i][ii] = 0; |
yv_nt[i][ii] = 0; |
229 |
zv_nt[i][ii] = 0; |
zv_nt[i][ii] = 0; |
230 |
axv_nt[i][ii] = 0; |
axv_nt[i][ii] = 0; |
231 |
ayv_nt[i][ii] = 0; |
ayv_nt[i][ii] = 0; |
232 |
dedx_x[i][ii] = 0; |
dedx_x[i][ii] = 0; |
233 |
dedx_y[i][ii] = 0; |
dedx_y[i][ii] = 0; |
234 |
} |
} |
235 |
|
} |
236 |
} |
} |
237 |
} |
|
|
|
|
238 |
}; |
}; |
239 |
// ================================================================== |
// ================================================================== |
240 |
/** |
/** |
241 |
* \brief Struct to pass calibration/parameter file paths to F77 routines |
* \brief Struct to pass calibration/parameter file paths to F77 routines |
242 |
*/ |
*/ |
243 |
struct cPath { |
struct cPath { |
244 |
char path[80]; |
char path[256]; |
245 |
int pathlen; |
int pathlen; |
246 |
int error; |
int error; |
247 |
/** |
/** |
252 |
const char *pc = s.Data(); |
const char *pc = s.Data(); |
253 |
for(Int_t i=0; i<=pathlen; i++) path[i] = *pc++; |
for(Int_t i=0; i<=pathlen; i++) path[i] = *pc++; |
254 |
}; |
}; |
255 |
|
|
|
|
|
256 |
}; |
}; |
257 |
|
|
258 |
// ================================================================== |
// ================================================================== |
259 |
/** |
/* /\** */ |
260 |
* \brief Struct to pass magnetic-field file paths to F77 routines |
/* * \brief Struct to pass magnetic-field file paths to F77 routines */ |
261 |
*/ |
/* *\/ */ |
262 |
struct cBPath { |
/* struct cBPath { */ |
263 |
char b_path[80]; |
/* char b_path[256]; */ |
264 |
int b_pathlen; |
/* int b_pathlen; */ |
265 |
int b_error; |
/* int b_error; */ |
266 |
int b_loaded; |
/* int b_loaded; */ |
267 |
/** |
/* /\** */ |
268 |
* Fill the struct variables from a TString object and set |
/* * Fill the struct variables from a TString object and set */ |
269 |
* the load flag to FALSE. |
/* * the load flag to FALSE. */ |
270 |
*/ |
/* *\/ */ |
271 |
void FillWith(TString s){ |
/* void FillWith(TString s){ */ |
272 |
b_loaded = 0; |
/* b_loaded = 0; */ |
273 |
b_pathlen = s.Length(); |
/* b_pathlen = s.Length(); */ |
274 |
const char *pc = s.Data(); |
/* const char *pc = s.Data(); */ |
275 |
for(Int_t i=0; i<=b_pathlen; i++) b_path[i] = *pc++; |
/* for(Int_t i=0; i<=b_pathlen; i++) b_path[i] = *pc++; */ |
276 |
}; |
/* }; */ |
277 |
/** |
/* /\** */ |
278 |
* Fill the struct variables from a TString object |
/* * Fill the struct variables from a TString object */ |
279 |
*/ |
/* *\/ */ |
280 |
int BIsLoaded(){ return b_loaded; }; |
/* int BIsLoaded(){ return b_loaded; }; */ |
281 |
|
|
282 |
}; |
/* }; */ |
283 |
|
|
284 |
// ================================================================== |
// ================================================================== |
285 |
/** |
/** |
297 |
void SetDebug() {debug=1; verbose=1; warning=1;}; |
void SetDebug() {debug=1; verbose=1; warning=1;}; |
298 |
}; |
}; |
299 |
|
|
300 |
|
|
301 |
|
// ================================================================== |
302 |
|
/** |
303 |
|
* \brief Struct to pass mini2 track parameters to F77 routines |
304 |
|
*/ |
305 |
|
struct cMini2track { |
306 |
|
double al[5]; |
307 |
|
double xm[NPLANE],ym[NPLANE],zm[NPLANE]; |
308 |
|
double xm_a[NPLANE],ym_a[NPLANE]; |
309 |
|
double xm_b[NPLANE],ym_b[NPLANE]; |
310 |
|
double resx[NPLANE],resy[NPLANE]; |
311 |
|
double tailx[NPLANE],taily[NPLANE]; |
312 |
|
double xgood[NPLANE],ygood[NPLANE]; |
313 |
|
double dedxtrk_x[NPLANE]; |
314 |
|
double dedxtrk_y[NPLANE]; |
315 |
|
double zini; |
316 |
|
double pfixed; |
317 |
|
double chi2; |
318 |
|
double xv[NPLANE],yv[NPLANE],zv[NPLANE]; |
319 |
|
double axv[NPLANE],ayv[NPLANE]; |
320 |
|
double cov[5][5]; |
321 |
|
double fact; |
322 |
|
int nstep; |
323 |
|
int idcand; |
324 |
|
int trackmode; |
325 |
|
int istepmin; |
326 |
|
|
327 |
|
/* cMini2track(){ */ |
328 |
|
/* // -------------------------- */ |
329 |
|
/* // fitting routine parameters */ |
330 |
|
/* // -------------------------- */ |
331 |
|
/* zini = 23.5; */ |
332 |
|
/* trackmode = 0; */ |
333 |
|
/* istepmin = 3; */ |
334 |
|
/* // -------------------------- */ |
335 |
|
/* pfixed = 0.; */ |
336 |
|
/* chi2 = 0; */ |
337 |
|
/* nstep = 0; */ |
338 |
|
/* for(int it1=0;it1<5;it1++){ */ |
339 |
|
/* al[it1] = 0; */ |
340 |
|
/* for(int it2=0;it2<5;it2++)cov[it1][it2] = 0; */ |
341 |
|
/* }; */ |
342 |
|
/* for(int ip=0;ip<6;ip++){ */ |
343 |
|
/* xgood[ip] = 0; */ |
344 |
|
/* ygood[ip] = 0; */ |
345 |
|
/* xm[ip] = 0; */ |
346 |
|
/* ym[ip] = 0; */ |
347 |
|
/* xm_a[ip] = 0; */ |
348 |
|
/* ym_a[ip] = 0; */ |
349 |
|
/* xm_b[ip] = 0; */ |
350 |
|
/* ym_b[ip] = 0; */ |
351 |
|
/* zm[ip] = 0; */ |
352 |
|
/* resx[ip] = 0; */ |
353 |
|
/* resy[ip] = 0; */ |
354 |
|
/* xv[ip] = 0; */ |
355 |
|
/* yv[ip] = 0; */ |
356 |
|
/* zv[ip] = 0; */ |
357 |
|
/* axv[ip] = 0; */ |
358 |
|
/* ayv[ip] = 0; */ |
359 |
|
/* dedxtrk_x[ip] = 0; */ |
360 |
|
/* dedxtrk_y[ip] = 0; */ |
361 |
|
/* }; */ |
362 |
|
|
363 |
|
/* } */ |
364 |
|
|
365 |
|
|
366 |
|
}; |
367 |
|
// |
368 |
|
/** |
369 |
|
* \Struct for the hough transform variables |
370 |
|
*/ |
371 |
|
|
372 |
|
struct cTrkHough { |
373 |
|
|
374 |
|
int ndblt_nt; |
375 |
|
float alfayz1_nt[NDBLT_MAX_NT]; |
376 |
|
float alfayz2_nt[NDBLT_MAX_NT]; |
377 |
|
int db_cloud_nt[NDBLT_MAX_NT]; |
378 |
|
int ntrpt_nt; |
379 |
|
float alfaxz1_nt[NTRPT_MAX_NT]; |
380 |
|
float alfaxz2_nt[NTRPT_MAX_NT]; |
381 |
|
float alfaxz3_nt[NTRPT_MAX_NT]; |
382 |
|
int tr_cloud_nt[NTRPT_MAX_NT]; |
383 |
|
int nclouds_yz_nt; |
384 |
|
float alfayz1_av_nt[NCLOYZ_MAX]; |
385 |
|
float alfayz2_av_nt[NCLOYZ_MAX]; |
386 |
|
int ptcloud_yz_nt[NCLOYZ_MAX]; |
387 |
|
int nclouds_xz_nt; |
388 |
|
float alfaxz1_av_nt[NCLOXZ_MAX]; |
389 |
|
float alfaxz2_av_nt[NCLOXZ_MAX]; |
390 |
|
float alfaxz3_av_nt[NCLOXZ_MAX]; |
391 |
|
int ptcloud_xz_nt[NCLOXZ_MAX]; |
392 |
|
int nclstr; |
393 |
|
float totaltime; |
394 |
|
float houghtime; |
395 |
|
float fittime; |
396 |
|
|
397 |
|
|
398 |
|
void InitcTrkHough(){ |
399 |
|
|
400 |
|
ndblt_nt = 0; |
401 |
|
ntrpt_nt = 0; |
402 |
|
nclouds_yz_nt = 0; |
403 |
|
nclouds_xz_nt = 0; |
404 |
|
nclstr = 0; |
405 |
|
totaltime = 0; |
406 |
|
houghtime = 0; |
407 |
|
fittime = 0; |
408 |
|
for(int i=0;i<NDBLT_MAX_NT ;i++){ |
409 |
|
alfayz1_nt[i] = 0; |
410 |
|
alfayz2_nt[i] = 0; |
411 |
|
db_cloud_nt[i] = 0; |
412 |
|
} |
413 |
|
for(int i=0;i<NTRPT_MAX_NT ;i++){ |
414 |
|
alfaxz1_nt[i] = 0; |
415 |
|
alfaxz2_nt[i] = 0; |
416 |
|
alfaxz3_nt[i] = 0; |
417 |
|
tr_cloud_nt[i] = 0; |
418 |
|
} |
419 |
|
for(int i=0;i<NCLOYZ_MAX ;i++){ |
420 |
|
alfayz1_av_nt[i] = 0; |
421 |
|
alfayz2_av_nt[i] = 0; |
422 |
|
ptcloud_yz_nt[i] = 0; |
423 |
|
} |
424 |
|
for(int i=0;i<NCLOXZ_MAX ;i++){ |
425 |
|
ptcloud_xz_nt[i] = 0; |
426 |
|
alfaxz1_av_nt[i] = 0; |
427 |
|
alfaxz2_av_nt[i] = 0; |
428 |
|
alfaxz3_av_nt[i] = 0; |
429 |
|
} |
430 |
|
} |
431 |
|
|
432 |
|
}; |
433 |
|
|
434 |
|
/** |
435 |
|
* \brief Struct to pass VA1-mask to F77 routines |
436 |
|
*/ |
437 |
|
struct cTrkMask { |
438 |
|
|
439 |
|
int mask_vk[NVK][NVIEW]; |
440 |
|
int mask_vk_run[NVK][NVIEW]; |
441 |
|
|
442 |
|
// void Set(TFile* , Int_t , Int_t ); |
443 |
|
|
444 |
|
void Reset(){ |
445 |
|
for(int ivk=0; ivk<NVK; ivk++){ |
446 |
|
for(int iv=0; iv<NVIEW; iv++){ |
447 |
|
// mask_vk[ivk][iv]=0; |
448 |
|
mask_vk_run[ivk][iv]=0; |
449 |
|
} |
450 |
|
} |
451 |
|
} |
452 |
|
|
453 |
|
void Dump(){ |
454 |
|
} |
455 |
|
|
456 |
|
}; |
457 |
|
|
458 |
|
/** |
459 |
|
* \brief Struct for pfa parameters |
460 |
|
*/ |
461 |
|
struct cTrkETA { |
462 |
|
|
463 |
|
int nangbin; |
464 |
|
float angL[NANGMAX],angR[NANGMAX]; |
465 |
|
int netaval; |
466 |
|
float eta2[NANGMAX][NETAVALMAX]; |
467 |
|
float feta2[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
468 |
|
float eta3[NANGMAX][NETAVALMAX]; |
469 |
|
float feta3[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
470 |
|
float eta4[NANGMAX][NETAVALMAX]; |
471 |
|
float feta4[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
472 |
|
float fcorr[NANGMAX][NLADDER][NVIEW]; |
473 |
|
float e234ax[6];//F77: e2fax,e2tax,e3fax,e3tax,e4fax,e4tax |
474 |
|
float e234ay[6];//F77: e2fay,e2tay,e3fay,e3tay,e4fay,e4tay |
475 |
|
|
476 |
|
}; |
477 |
|
/** |
478 |
|
* \brief Struct to configure data reduction |
479 |
|
*/ |
480 |
|
struct cTrkSW{ |
481 |
|
int pfaid; |
482 |
|
}; |
483 |
|
|
484 |
extern "C" { |
extern "C" { |
485 |
extern struct cTrkCalib pedsigbad_; |
|
486 |
extern struct cTrkLevel0 level0event_; |
extern struct cTrkCalib pedsigbad_; |
487 |
extern struct cTrkLevel1 level1event_; |
extern struct cTrkMask mask_; |
488 |
extern struct cTrkLevel2 level2event_; |
extern struct cTrkLevel0 level0event_; |
489 |
extern struct cPath path_; |
extern struct cTrkLevel1 level1event_; |
490 |
extern struct cBPath bpath_; |
extern struct cTrkLevel2 level2event_; |
491 |
extern struct cDbg dbg_; |
extern struct cPath path_; |
492 |
|
extern struct cDbg dbg_; |
493 |
|
extern struct cTrkHough houghevent_; |
494 |
|
extern struct cMini2track track_; |
495 |
|
extern struct cTrkETA pfa_; |
496 |
|
extern struct cTrkSW sw_; |
497 |
|
|
498 |
void fillpedsigfromdefault_(); |
void fillpedsigfromdefault_(); |
499 |
int readmipparam_(); |
int readmipparam_(); |
500 |
int readchargeparam_(); |
int readchargeparam_(); |
503 |
int readetaparam_(); |
int readetaparam_(); |
504 |
void reductionflight_(int*); |
void reductionflight_(int*); |
505 |
int analysisflight_(); |
int analysisflight_(); |
506 |
} |
int readb_(); |
507 |
|
void gufld_(float*, float*); |
508 |
|
void xyzpam_(int*,int*,int*,int*,int*,float*,float*,float*,float*); |
509 |
|
float riseta_(int*,float*); |
510 |
|
|
511 |
|
} |
512 |
|
|
513 |
#endif |
#endif |
|
|
|