| 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 Reset(){ |
| 55 |
|
for(int is=0; is<128; is++){ |
| 56 |
|
for(int ivk=0; ivk<24; ivk++){ |
| 57 |
|
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 ); */ |
/* void FillACalibFrom(TFile* , Int_t , Int_t ); */ |
| 69 |
/* void FillFCalibFrom(TFile* , Int_t , Int_t ); */ |
/* void FillFCalibFrom(TFile* , Int_t , Int_t ); */ |
| 70 |
/* void FillTCalibFrom(TFile* , Int_t , Int_t ); */ |
/* void FillTCalibFrom(TFile* , Int_t , Int_t ); */ |
| 308 |
double xm_a[NPLANE],ym_a[NPLANE]; |
double xm_a[NPLANE],ym_a[NPLANE]; |
| 309 |
double xm_b[NPLANE],ym_b[NPLANE]; |
double xm_b[NPLANE],ym_b[NPLANE]; |
| 310 |
double resx[NPLANE],resy[NPLANE]; |
double resx[NPLANE],resy[NPLANE]; |
| 311 |
|
double tailx[NPLANE],taily[NPLANE]; |
| 312 |
double xgood[NPLANE],ygood[NPLANE]; |
double xgood[NPLANE],ygood[NPLANE]; |
| 313 |
double dedxtrk_x[NPLANE]; |
double dedxtrk_x[NPLANE]; |
| 314 |
double dedxtrk_y[NPLANE]; |
double dedxtrk_y[NPLANE]; |
| 323 |
int idcand; |
int idcand; |
| 324 |
int trackmode; |
int trackmode; |
| 325 |
int istepmin; |
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 |
/** |
/** |
| 441 |
|
|
| 442 |
// void Set(TFile* , Int_t , Int_t ); |
// 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 |
}; |
}; |
| 454 |
|
|
| 455 |
/** |
/** |
| 468 |
float feta4[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
float feta4[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
| 469 |
|
|
| 470 |
}; |
}; |
| 471 |
|
/** |
| 472 |
|
* \brief Struct to configure data reduction |
| 473 |
|
*/ |
| 474 |
|
struct cTrkSW{ |
| 475 |
|
int pfaid; |
| 476 |
|
}; |
| 477 |
|
|
| 478 |
extern "C" { |
extern "C" { |
| 479 |
|
|
| 487 |
extern struct cTrkHough houghevent_; |
extern struct cTrkHough houghevent_; |
| 488 |
extern struct cMini2track track_; |
extern struct cMini2track track_; |
| 489 |
extern struct cTrkETA pfa_; |
extern struct cTrkETA pfa_; |
| 490 |
|
extern struct cTrkSW sw_; |
| 491 |
|
|
| 492 |
void fillpedsigfromdefault_(); |
void fillpedsigfromdefault_(); |
| 493 |
int readmipparam_(); |
int readmipparam_(); |
| 496 |
int readalignparam_(); |
int readalignparam_(); |
| 497 |
int readetaparam_(); |
int readetaparam_(); |
| 498 |
void reductionflight_(int*); |
void reductionflight_(int*); |
| 499 |
int analysisflight_(int*); |
int analysisflight_(); |
| 500 |
int readb_(); |
int readb_(); |
| 501 |
|
void gufld_(float*, float*); |
| 502 |
|
void xyzpam_(int*,int*,int*,int*,int*,float*,float*,float*,float*); |
| 503 |
|
float riseta_(int*,float*); |
| 504 |
|
|
| 505 |
} |
} |
| 506 |
|
|