| 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 |
| 588 |
|
|
| 589 |
}; |
}; |
| 590 |
|
|
| 591 |
|
/** |
| 592 |
|
* \brief Struct to check reduction procedure: CN evaluation |
| 593 |
|
*/ |
| 594 |
|
struct cTrkCN { |
| 595 |
|
|
| 596 |
|
float cn[NVK][NVIEW]; |
| 597 |
|
float cnrms[NVK][NVIEW]; |
| 598 |
|
int cnn[NVK][NVIEW]; |
| 599 |
|
int clstr[NSTRIPVK][NVK][NVIEW]; |
| 600 |
|
int strange[NSTRIPVK][NVK][NVIEW]; |
| 601 |
|
|
| 602 |
|
}; |
| 603 |
|
/** |
| 604 |
|
* \brief Struct to check reduction procedure: pedestal subtraction |
| 605 |
|
*/ |
| 606 |
|
struct cTrkEvent { |
| 607 |
|
float value[NSTRIP]; |
| 608 |
|
}; |
| 609 |
|
|
| 610 |
extern "C" { |
extern "C" { |
| 611 |
|
|
| 612 |
extern struct cTrkCalib pedsigbad_; |
extern struct cTrkCalib pedsigbad_; |
| 623 |
extern struct cTrkSW sw_; |
extern struct cTrkSW sw_; |
| 624 |
extern struct cDeltaB deltab_; |
extern struct cDeltaB deltab_; |
| 625 |
extern struct cTrkAlign alignparameters_; |
extern struct cTrkAlign alignparameters_; |
| 626 |
|
extern struct cTrkEvent calibratedsignal_; |
| 627 |
|
|
| 628 |
void fillpedsigfromdefault_(); |
void fillpedsigfromdefault_(); |
| 629 |
int readmipparam_(); |
int readmipparam_(); |
| 641 |
|
|
| 642 |
}; |
}; |
| 643 |
|
|
| 644 |
|
|
| 645 |
#endif |
#endif |