| 7 |
#define trkstruct_h |
#define trkstruct_h |
| 8 |
|
|
| 9 |
#define NPLANE 6 |
#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 |
#define NCLMAX_VIEW 200 //max n.clusters per view |
| 15 |
#define NCLSTR 20 //max n.strip per cluster |
#define NCLSTR 20 //max n.strip per cluster |
| 24 |
#define NTRKMAX 10 |
#define NTRKMAX 10 |
| 25 |
#define NSINGMAX NCLMAX //100 |
#define NSINGMAX NCLMAX //100 |
| 26 |
|
|
| 27 |
|
#define NANGMAX 21 |
| 28 |
|
#define NETAVALMAX 150 |
| 29 |
|
|
| 30 |
|
|
| 31 |
#include <CalibTrk1Event.h> |
//#include <CalibTrk1Event.h> |
| 32 |
#include <CalibTrk2Event.h> |
//#include <CalibTrk2Event.h> |
| 33 |
|
#include <TrkCalib.h> |
| 34 |
|
|
| 35 |
#include <TString.h> |
#include <TString.h> |
| 36 |
#include <TFile.h> |
#include <TFile.h> |
| 295 |
double cov[5][5]; |
double cov[5][5]; |
| 296 |
int nstep; |
int nstep; |
| 297 |
int idcand; |
int idcand; |
| 298 |
|
|
| 299 |
}; |
}; |
| 300 |
// |
// |
| 301 |
/** |
/** |
| 364 |
|
|
| 365 |
}; |
}; |
| 366 |
|
|
| 367 |
|
/** |
| 368 |
|
* \brief Struct to pass VA1-mask to F77 routines |
| 369 |
|
*/ |
| 370 |
|
struct cTrkMask { |
| 371 |
|
|
| 372 |
|
int mask_vk[NVK][NVIEW]; |
| 373 |
|
int mask_vk_run[NVK][NVIEW]; |
| 374 |
|
|
| 375 |
|
void Set(TFile* , Int_t , Int_t ); |
| 376 |
|
|
| 377 |
|
}; |
| 378 |
|
|
| 379 |
|
/** |
| 380 |
|
* \brief Struct for pfa parameters |
| 381 |
|
*/ |
| 382 |
|
struct cTrkETA { |
| 383 |
|
|
| 384 |
|
int nangbin; |
| 385 |
|
float angL[NANGMAX],angR[NANGMAX]; |
| 386 |
|
int netaval; |
| 387 |
|
float eta2[NANGMAX][NETAVALMAX]; |
| 388 |
|
float feta2[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
| 389 |
|
float eta3[NANGMAX][NETAVALMAX]; |
| 390 |
|
float feta3[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
| 391 |
|
float eta4[NANGMAX][NETAVALMAX]; |
| 392 |
|
float feta4[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
| 393 |
|
|
| 394 |
|
}; |
| 395 |
|
|
| 396 |
extern "C" { |
extern "C" { |
| 397 |
|
|
| 404 |
extern struct cDbg dbg_; |
extern struct cDbg dbg_; |
| 405 |
extern struct cTrkHough houghevent_; |
extern struct cTrkHough houghevent_; |
| 406 |
extern struct cMini2track track_; |
extern struct cMini2track track_; |
| 407 |
|
extern struct cTrkMask mask_; |
| 408 |
|
extern struct cTrkETA pfa_; |
| 409 |
|
|
| 410 |
void fillpedsigfromdefault_(); |
void fillpedsigfromdefault_(); |
| 411 |
int readmipparam_(); |
int readmipparam_(); |