11 |
#define NVK 24 |
#define NVK 24 |
12 |
#define NLADDER 3 |
#define NLADDER 3 |
13 |
#define NSENSOR 2 |
#define NSENSOR 2 |
14 |
|
#define NSTRIPVK 128 |
15 |
|
#define NSTRIP NSTRIPVK*NVK |
16 |
|
|
17 |
#define NCLMAX_VIEW 200 //max n.clusters per view |
#define NCLMAX_VIEW 200 //max n.clusters per view |
18 |
#define NCLSTR 20 //max n.strip per cluster |
#define NCLSTR 20 //max n.strip per cluster |
341 |
double pfixed; |
double pfixed; |
342 |
double chi2; |
double chi2; |
343 |
double xv[NPLANE],yv[NPLANE],zv[NPLANE]; |
double xv[NPLANE],yv[NPLANE],zv[NPLANE]; |
344 |
|
double xv_a[NPLANE],yv_a[NPLANE],zv_a[NPLANE]; |
345 |
|
double xv_b[NPLANE],yv_b[NPLANE],zv_b[NPLANE]; |
346 |
double axv[NPLANE],ayv[NPLANE]; |
double axv[NPLANE],ayv[NPLANE]; |
347 |
double cov[5][5]; |
double cov[5][5]; |
348 |
double fact; |
double fact; |
590 |
|
|
591 |
}; |
}; |
592 |
|
|
593 |
|
/** |
594 |
|
* \brief Struct to check reduction procedure: CN evaluation |
595 |
|
*/ |
596 |
|
struct cTrkCN { |
597 |
|
|
598 |
|
float cn[NVK][NVIEW]; |
599 |
|
float cnrms[NVK][NVIEW]; |
600 |
|
int cnn[NVK][NVIEW]; |
601 |
|
int clstr[NSTRIPVK][NVK][NVIEW]; |
602 |
|
int strange[NSTRIPVK][NVK][NVIEW]; |
603 |
|
|
604 |
|
}; |
605 |
|
/** |
606 |
|
* \brief Struct to check reduction procedure: pedestal subtraction |
607 |
|
*/ |
608 |
|
struct cTrkEvent { |
609 |
|
float value[NSTRIP]; |
610 |
|
}; |
611 |
|
|
612 |
extern "C" { |
extern "C" { |
613 |
|
|
614 |
extern struct cTrkCalib pedsigbad_; |
extern struct cTrkCalib pedsigbad_; |
625 |
extern struct cTrkSW sw_; |
extern struct cTrkSW sw_; |
626 |
extern struct cDeltaB deltab_; |
extern struct cDeltaB deltab_; |
627 |
extern struct cTrkAlign alignparameters_; |
extern struct cTrkAlign alignparameters_; |
628 |
|
extern struct cTrkEvent calibratedsignal_; |
629 |
|
|
630 |
void fillpedsigfromdefault_(); |
void fillpedsigfromdefault_(); |
631 |
int readmipparam_(); |
int readmipparam_(); |
643 |
|
|
644 |
}; |
}; |
645 |
|
|
646 |
|
|
647 |
#endif |
#endif |