10 |
#define NVIEW 12 |
#define NVIEW 12 |
11 |
#define NVK 24 |
#define NVK 24 |
12 |
#define NLADDER 3 |
#define NLADDER 3 |
13 |
|
#define NSENSOR 2 |
14 |
|
|
15 |
#define NCLMAX_VIEW 200 //max n.clusters per view |
#define NCLMAX_VIEW 200 //max n.clusters per view |
16 |
#define NCLSTR 20 //max n.strip per cluster |
#define NCLSTR 20 //max n.strip per cluster |
328 |
struct cMini2track { |
struct cMini2track { |
329 |
double al[5]; |
double al[5]; |
330 |
double xm[NPLANE],ym[NPLANE],zm[NPLANE]; |
double xm[NPLANE],ym[NPLANE],zm[NPLANE]; |
331 |
double xm_a[NPLANE],ym_a[NPLANE]; |
double xm_a[NPLANE],ym_a[NPLANE],zm_a[NPLANE]; |
332 |
double xm_b[NPLANE],ym_b[NPLANE]; |
double xm_b[NPLANE],ym_b[NPLANE],zm_b[NPLANE]; |
333 |
double resx[NPLANE],resy[NPLANE]; |
double resx[NPLANE],resy[NPLANE]; |
334 |
double tailx[NPLANE],taily[NPLANE]; |
double tailx[NPLANE],taily[NPLANE]; |
335 |
double xgood[NPLANE],ygood[NPLANE]; |
double xgood[NPLANE],ygood[NPLANE]; |
572 |
struct cTrkSW{ |
struct cTrkSW{ |
573 |
int pfaid; |
int pfaid; |
574 |
}; |
}; |
575 |
|
/** |
576 |
|
* \brief Struct to read alignment parameters |
577 |
|
*/ |
578 |
|
struct cTrkAlign { |
579 |
|
|
580 |
|
double omega[NSENSOR][NLADDER][NPLANE]; |
581 |
|
double beta[NSENSOR][NLADDER][NPLANE]; |
582 |
|
double gamma[NSENSOR][NLADDER][NPLANE]; |
583 |
|
double dx[NSENSOR][NLADDER][NPLANE]; |
584 |
|
double dy[NSENSOR][NLADDER][NPLANE]; |
585 |
|
double dz[NSENSOR][NLADDER][NPLANE]; |
586 |
|
|
587 |
|
}; |
588 |
|
|
589 |
extern "C" { |
extern "C" { |
590 |
|
|
601 |
extern struct cTrkETA pfa_; |
extern struct cTrkETA pfa_; |
602 |
extern struct cTrkSW sw_; |
extern struct cTrkSW sw_; |
603 |
extern struct cDeltaB deltab_; |
extern struct cDeltaB deltab_; |
604 |
|
extern struct cTrkAlign alignparameters_; |
605 |
|
|
606 |
void fillpedsigfromdefault_(); |
void fillpedsigfromdefault_(); |
607 |
int readmipparam_(); |
int readmipparam_(); |
617 |
float riseta_(int*,float*); |
float riseta_(int*,float*); |
618 |
void chisq_(int*, int*); |
void chisq_(int*, int*); |
619 |
|
|
620 |
} |
}; |
621 |
|
|
622 |
#endif |
#endif |