| 1 |
mocchiut |
1.1 |
/** |
| 2 |
|
|
* \file TrkStruct.h |
| 3 |
|
|
* \author Elena Vannuccini |
| 4 |
|
|
* \date |
| 5 |
|
|
*/ |
| 6 |
|
|
#ifndef trkstruct_h |
| 7 |
|
|
#define trkstruct_h |
| 8 |
|
|
|
| 9 |
pam-fi |
1.9 |
#define NPLANE 6 |
| 10 |
pam-fi |
1.14 |
#define NVIEW 12 |
| 11 |
|
|
#define NVK 24 |
| 12 |
pam-fi |
1.15 |
#define NLADDER 3 |
| 13 |
pam-fi |
1.9 |
|
| 14 |
|
|
#define NCLMAX_VIEW 200 //max n.clusters per view |
| 15 |
|
|
#define NCLSTR 20 //max n.strip per cluster |
| 16 |
|
|
#define NCLMAX (NCLMAX_VIEW*12) //max n.clusters total |
| 17 |
|
|
#define NCLBUFF (NCLMAX*NCLSTR) |
| 18 |
|
|
|
| 19 |
|
|
#define NDBLT_MAX_NT 1000 // 0.2*ndblt_max |
| 20 |
|
|
#define NTRPT_MAX_NT 10000 // 0.2*ntrpt_max |
| 21 |
|
|
#define NCLOYZ_MAX 200 |
| 22 |
|
|
#define NCLOXZ_MAX 200 |
| 23 |
|
|
|
| 24 |
mocchiut |
1.1 |
#define NTRKMAX 10 |
| 25 |
pam-fi |
1.9 |
#define NSINGMAX NCLMAX //100 |
| 26 |
mocchiut |
1.1 |
|
| 27 |
pam-fi |
1.15 |
#define NANGMAX 21 |
| 28 |
pam-fi |
1.16 |
#define NETAVALMAX 500 |
| 29 |
pam-fi |
1.5 |
|
| 30 |
pam-fi |
1.8 |
|
| 31 |
pam-fi |
1.16 |
#include <CalibTrk1Event.h> |
| 32 |
|
|
#include <CalibTrk2Event.h> |
| 33 |
|
|
using namespace pamela; |
| 34 |
|
|
//#include <TrkCalib.h> |
| 35 |
pam-fi |
1.2 |
|
| 36 |
mocchiut |
1.1 |
#include <TString.h> |
| 37 |
|
|
#include <TFile.h> |
| 38 |
pam-fi |
1.2 |
#include <TTree.h> |
| 39 |
mocchiut |
1.1 |
|
| 40 |
pam-fi |
1.16 |
|
| 41 |
pam-fi |
1.2 |
#include <fstream> |
| 42 |
|
|
#include <iostream> |
| 43 |
mocchiut |
1.1 |
/** |
| 44 |
pam-fi |
1.2 |
* \brief Struct to pass calibration parameters to F77 routines |
| 45 |
mocchiut |
1.1 |
*/ |
| 46 |
pam-fi |
1.2 |
struct cTrkCalib { |
| 47 |
|
|
|
| 48 |
mocchiut |
1.1 |
float pedestal[128][24][12]; |
| 49 |
|
|
float pedestal_t[128][24][12]; |
| 50 |
|
|
float sigma[128][24][12]; |
| 51 |
|
|
float sigma_t[128][24][12]; |
| 52 |
|
|
int bad[128][24][12]; |
| 53 |
pam-fi |
1.2 |
|
| 54 |
pam-fi |
1.16 |
/* void FillACalibFrom(TFile* , Int_t , Int_t ); */ |
| 55 |
|
|
/* void FillFCalibFrom(TFile* , Int_t , Int_t ); */ |
| 56 |
|
|
/* void FillTCalibFrom(TFile* , Int_t , Int_t ); */ |
| 57 |
|
|
/* void FillTCalibFrom(TString); */ |
| 58 |
pam-fi |
1.2 |
|
| 59 |
mocchiut |
1.1 |
}; |
| 60 |
|
|
// ================================================================== |
| 61 |
|
|
/** |
| 62 |
|
|
* \brief Struct to pass tracker LEVEL0 data to F77 routines |
| 63 |
|
|
*/ |
| 64 |
|
|
struct cTrkLevel0 { |
| 65 |
|
|
int DAQmode[12]; |
| 66 |
|
|
int DSPnumber[12]; |
| 67 |
|
|
int DATAlength[12]; |
| 68 |
|
|
int eventn[12]; |
| 69 |
|
|
int nclust[12]; |
| 70 |
|
|
int cutc[12]; |
| 71 |
|
|
int cutcl[12]; |
| 72 |
|
|
int addrcluster[3][12]; |
| 73 |
|
|
int signcluster[3][12]; |
| 74 |
|
|
int fc[12]; |
| 75 |
|
|
int compressiontime[12]; |
| 76 |
|
|
int fl5[12]; |
| 77 |
|
|
int fl4[12]; |
| 78 |
|
|
int fl3[12]; |
| 79 |
|
|
int fl2[12]; |
| 80 |
|
|
int fl1[12]; |
| 81 |
|
|
int fl6[12]; |
| 82 |
|
|
int checksum[12]; |
| 83 |
|
|
int TOTDATAlength; |
| 84 |
|
|
int datatracker[49152]; |
| 85 |
|
|
int pnum[12]; |
| 86 |
|
|
int cmdnum[12]; |
| 87 |
|
|
int bid[12]; |
| 88 |
|
|
int alarm[12]; |
| 89 |
|
|
int aswr[12]; |
| 90 |
|
|
int good0; |
| 91 |
|
|
int crc[12]; |
| 92 |
|
|
}; |
| 93 |
|
|
// ================================================================== |
| 94 |
|
|
/** |
| 95 |
|
|
* \brief Struct to pass tracker LEVEL1 data to F77 routines |
| 96 |
|
|
*/ |
| 97 |
|
|
struct cTrkLevel1 { |
| 98 |
pam-fi |
1.6 |
// int good1; |
| 99 |
pam-fi |
1.8 |
int good[12]; |
| 100 |
mocchiut |
1.1 |
int nclstr1; |
| 101 |
pam-fi |
1.8 |
int view[NCLMAX]; |
| 102 |
|
|
int ladder[NCLMAX]; |
| 103 |
|
|
int maxs[NCLMAX]; |
| 104 |
|
|
int mult[NCLMAX]; |
| 105 |
|
|
float dedx[NCLMAX]; |
| 106 |
|
|
int indstart[NCLMAX]; |
| 107 |
|
|
int indmax[NCLMAX]; |
| 108 |
mocchiut |
1.1 |
int totCLlength; |
| 109 |
pam-fi |
1.8 |
float clsignal[NCLBUFF]; |
| 110 |
|
|
float clsigma[NCLBUFF]; |
| 111 |
|
|
int cladc[NCLBUFF]; |
| 112 |
|
|
int clbad[NCLBUFF]; |
| 113 |
|
|
float cnev[24][12]; |
| 114 |
|
|
int cnnev[24][12]; |
| 115 |
|
|
float cnrmsev[24][12]; |
| 116 |
|
|
int fshower[12]; |
| 117 |
|
|
int whichtrack[NCLMAX]; |
| 118 |
pam-fi |
1.16 |
|
| 119 |
mocchiut |
1.1 |
}; |
| 120 |
|
|
// ================================================================== |
| 121 |
|
|
/** |
| 122 |
|
|
* \brief Struct to pass tracker LEVEL2 data to F77 routines |
| 123 |
|
|
*/ |
| 124 |
|
|
struct cTrkLevel2 { |
| 125 |
pam-fi |
1.6 |
// int good2; |
| 126 |
|
|
// int crc[12]; |
| 127 |
pam-fi |
1.19 |
int good[12]; |
| 128 |
|
|
int vkflag[24][12]; |
| 129 |
mocchiut |
1.1 |
// ---------------------------- |
| 130 |
|
|
int nclsx; |
| 131 |
|
|
int planex[NSINGMAX]; |
| 132 |
|
|
float xs[NSINGMAX][2]; |
| 133 |
|
|
float signlxs[NSINGMAX]; |
| 134 |
pam-fi |
1.8 |
int clsx[NSINGMAX]; |
| 135 |
mocchiut |
1.1 |
// ---------------------------- |
| 136 |
|
|
int nclsy; |
| 137 |
|
|
int planey[NSINGMAX]; |
| 138 |
|
|
float ys[NSINGMAX][2]; |
| 139 |
|
|
float signlys[NSINGMAX]; |
| 140 |
pam-fi |
1.8 |
int clsy[NSINGMAX]; |
| 141 |
mocchiut |
1.1 |
// ---------------------------- |
| 142 |
|
|
int ntrk; |
| 143 |
|
|
int image[NTRKMAX]; |
| 144 |
|
|
float xm_nt[NTRKMAX][6]; |
| 145 |
|
|
float ym_nt[NTRKMAX][6]; |
| 146 |
|
|
float zm_nt[NTRKMAX][6]; |
| 147 |
|
|
float resx_nt[NTRKMAX][6]; |
| 148 |
|
|
float resy_nt[NTRKMAX][6]; |
| 149 |
pam-fi |
1.19 |
float tailx[NTRKMAX][6]; |
| 150 |
|
|
float taily[NTRKMAX][6]; |
| 151 |
mocchiut |
1.1 |
float al_nt[NTRKMAX][5]; |
| 152 |
|
|
float coval[NTRKMAX][5][5]; |
| 153 |
|
|
float chi2_nt[NTRKMAX]; |
| 154 |
pam-fi |
1.8 |
int nstep_nt[NTRKMAX]; |
| 155 |
|
|
int xgood_nt[NTRKMAX][6]; |
| 156 |
mocchiut |
1.1 |
int ygood_nt[NTRKMAX][6]; |
| 157 |
pam-fi |
1.19 |
int ls[NTRKMAX][6]; |
| 158 |
|
|
int xbad[NTRKMAX][6]; |
| 159 |
|
|
int ybad[NTRKMAX][6]; |
| 160 |
mocchiut |
1.1 |
float xv_nt[NTRKMAX][6]; |
| 161 |
|
|
float yv_nt[NTRKMAX][6]; |
| 162 |
|
|
float zv_nt[NTRKMAX][6]; |
| 163 |
|
|
float axv_nt[NTRKMAX][6]; |
| 164 |
|
|
float ayv_nt[NTRKMAX][6]; |
| 165 |
|
|
float dedx_x[NTRKMAX][6]; |
| 166 |
|
|
float dedx_y[NTRKMAX][6]; |
| 167 |
pam-fi |
1.8 |
int cltrx[NTRKMAX][6]; |
| 168 |
|
|
int cltry[NTRKMAX][6]; |
| 169 |
pam-fi |
1.5 |
// float bdl[NTRKMAX]; |
| 170 |
pam-fi |
1.3 |
|
| 171 |
pam-fi |
1.19 |
void InitcTrkLevel2(){ |
| 172 |
|
|
|
| 173 |
pam-fi |
1.6 |
// good2 = 0; |
| 174 |
pam-fi |
1.19 |
for(Int_t i=0; i<12 ; i++){ |
| 175 |
|
|
good[i] = 0; |
| 176 |
|
|
for(Int_t ii=0; ii<24 ; ii++)vkflag[ii][i]=0; |
| 177 |
|
|
} |
| 178 |
|
|
// ---------------------------- |
| 179 |
|
|
nclsx = 0; |
| 180 |
|
|
nclsy = 0; |
| 181 |
|
|
for(Int_t i=0; i<NSINGMAX ; i++){ |
| 182 |
|
|
planex[i] = 0; |
| 183 |
|
|
xs[i][0] = 0; |
| 184 |
|
|
xs[i][1] = 0; |
| 185 |
|
|
signlxs[i] = 0; |
| 186 |
|
|
planey[i] = 0; |
| 187 |
|
|
ys[i][0] = 0; |
| 188 |
|
|
ys[i][1] = 0; |
| 189 |
|
|
signlys[i] = 0; |
| 190 |
|
|
} |
| 191 |
|
|
// ---------------------------- |
| 192 |
|
|
ntrk =0 ; |
| 193 |
|
|
|
| 194 |
|
|
for(Int_t i=0; i<NTRKMAX ; i++){ |
| 195 |
|
|
image[i] = 0; |
| 196 |
|
|
chi2_nt[i] = 0; |
| 197 |
|
|
// bdl[i] = 0; |
| 198 |
|
|
|
| 199 |
|
|
for(Int_t ii=0; ii<5 ; ii++){ |
| 200 |
|
|
al_nt[i][ii] = 0; |
| 201 |
|
|
for(Int_t iii=0; iii<5 ; iii++) |
| 202 |
|
|
coval[i][ii][iii] = 0; |
| 203 |
|
|
} |
| 204 |
|
|
|
| 205 |
|
|
for(Int_t ii=0; ii<6 ; ii++){ |
| 206 |
|
|
xm_nt[i][ii] = 0; |
| 207 |
|
|
ym_nt[i][ii] = 0; |
| 208 |
|
|
zm_nt[i][ii] = 0; |
| 209 |
|
|
resx_nt[i][ii] = 0; |
| 210 |
|
|
resy_nt[i][ii] = 0; |
| 211 |
|
|
xgood_nt[i][ii] = 0; |
| 212 |
|
|
ygood_nt[i][ii] = 0; |
| 213 |
|
|
xv_nt[i][ii] = 0; |
| 214 |
|
|
yv_nt[i][ii] = 0; |
| 215 |
|
|
zv_nt[i][ii] = 0; |
| 216 |
|
|
axv_nt[i][ii] = 0; |
| 217 |
|
|
ayv_nt[i][ii] = 0; |
| 218 |
|
|
dedx_x[i][ii] = 0; |
| 219 |
|
|
dedx_y[i][ii] = 0; |
| 220 |
|
|
} |
| 221 |
|
|
} |
| 222 |
pam-fi |
1.3 |
} |
| 223 |
|
|
|
| 224 |
mocchiut |
1.1 |
}; |
| 225 |
|
|
// ================================================================== |
| 226 |
|
|
/** |
| 227 |
|
|
* \brief Struct to pass calibration/parameter file paths to F77 routines |
| 228 |
|
|
*/ |
| 229 |
|
|
struct cPath { |
| 230 |
pam-fi |
1.8 |
char path[256]; |
| 231 |
mocchiut |
1.1 |
int pathlen; |
| 232 |
pam-fi |
1.2 |
int error; |
| 233 |
mocchiut |
1.1 |
/** |
| 234 |
|
|
* Fill the struct variables from a TString object |
| 235 |
|
|
*/ |
| 236 |
|
|
void FillWith(TString s){ |
| 237 |
pam-fi |
1.2 |
pathlen = s.Length(); |
| 238 |
|
|
const char *pc = s.Data(); |
| 239 |
|
|
for(Int_t i=0; i<=pathlen; i++) path[i] = *pc++; |
| 240 |
mocchiut |
1.1 |
}; |
| 241 |
pam-fi |
1.11 |
|
| 242 |
mocchiut |
1.1 |
}; |
| 243 |
|
|
|
| 244 |
|
|
// ================================================================== |
| 245 |
pam-fi |
1.11 |
/* /\** */ |
| 246 |
|
|
/* * \brief Struct to pass magnetic-field file paths to F77 routines */ |
| 247 |
|
|
/* *\/ */ |
| 248 |
|
|
/* struct cBPath { */ |
| 249 |
|
|
/* char b_path[256]; */ |
| 250 |
|
|
/* int b_pathlen; */ |
| 251 |
|
|
/* int b_error; */ |
| 252 |
|
|
/* int b_loaded; */ |
| 253 |
|
|
/* /\** */ |
| 254 |
|
|
/* * Fill the struct variables from a TString object and set */ |
| 255 |
|
|
/* * the load flag to FALSE. */ |
| 256 |
|
|
/* *\/ */ |
| 257 |
|
|
/* void FillWith(TString s){ */ |
| 258 |
|
|
/* b_loaded = 0; */ |
| 259 |
|
|
/* b_pathlen = s.Length(); */ |
| 260 |
|
|
/* const char *pc = s.Data(); */ |
| 261 |
|
|
/* for(Int_t i=0; i<=b_pathlen; i++) b_path[i] = *pc++; */ |
| 262 |
|
|
/* }; */ |
| 263 |
|
|
/* /\** */ |
| 264 |
|
|
/* * Fill the struct variables from a TString object */ |
| 265 |
|
|
/* *\/ */ |
| 266 |
|
|
/* int BIsLoaded(){ return b_loaded; }; */ |
| 267 |
mocchiut |
1.1 |
|
| 268 |
pam-fi |
1.11 |
/* }; */ |
| 269 |
mocchiut |
1.1 |
|
| 270 |
pam-fi |
1.2 |
// ================================================================== |
| 271 |
|
|
/** |
| 272 |
|
|
* \brief Struct to set debug mode in F77 routines |
| 273 |
|
|
*/ |
| 274 |
|
|
struct cDbg { |
| 275 |
|
|
int debug; |
| 276 |
|
|
int verbose; |
| 277 |
|
|
int warning; |
| 278 |
|
|
// bool debug; |
| 279 |
|
|
// bool verbose; |
| 280 |
|
|
void SetNone() {debug=0; verbose=0; warning=0;}; |
| 281 |
|
|
void SetWarning(){debug=0; verbose=0; warning=1;}; |
| 282 |
|
|
void SetVerbose(){debug=0; verbose=1; warning=1;}; |
| 283 |
|
|
void SetDebug() {debug=1; verbose=1; warning=1;}; |
| 284 |
|
|
}; |
| 285 |
|
|
|
| 286 |
pam-fi |
1.8 |
|
| 287 |
|
|
// ================================================================== |
| 288 |
|
|
/** |
| 289 |
|
|
* \brief Struct to pass mini2 track parameters to F77 routines |
| 290 |
|
|
*/ |
| 291 |
|
|
struct cMini2track { |
| 292 |
|
|
double al[5]; |
| 293 |
|
|
double xm[NPLANE],ym[NPLANE],zm[NPLANE]; |
| 294 |
|
|
double xm_a[NPLANE],ym_a[NPLANE]; |
| 295 |
|
|
double xm_b[NPLANE],ym_b[NPLANE]; |
| 296 |
|
|
double resx[NPLANE],resy[NPLANE]; |
| 297 |
|
|
double xgood[NPLANE],ygood[NPLANE]; |
| 298 |
|
|
double dedxtrk_x[NPLANE]; |
| 299 |
|
|
double dedxtrk_y[NPLANE]; |
| 300 |
|
|
double zini; |
| 301 |
|
|
double pfixed; |
| 302 |
|
|
double chi2; |
| 303 |
|
|
double xv[NPLANE],yv[NPLANE],zv[NPLANE]; |
| 304 |
|
|
double axv[NPLANE],ayv[NPLANE]; |
| 305 |
|
|
double cov[5][5]; |
| 306 |
pam-fi |
1.18 |
double fact; |
| 307 |
pam-fi |
1.8 |
int nstep; |
| 308 |
|
|
int idcand; |
| 309 |
pam-fi |
1.17 |
int trackmode; |
| 310 |
pam-fi |
1.18 |
int istepmin; |
| 311 |
pam-fi |
1.8 |
}; |
| 312 |
|
|
// |
| 313 |
pam-fi |
1.9 |
/** |
| 314 |
|
|
* \Struct for the hough transform variables |
| 315 |
|
|
*/ |
| 316 |
|
|
|
| 317 |
|
|
struct cTrkHough { |
| 318 |
|
|
|
| 319 |
pam-fi |
1.12 |
int ndblt_nt; |
| 320 |
|
|
float alfayz1_nt[NDBLT_MAX_NT]; |
| 321 |
|
|
float alfayz2_nt[NDBLT_MAX_NT]; |
| 322 |
|
|
int db_cloud_nt[NDBLT_MAX_NT]; |
| 323 |
|
|
int ntrpt_nt; |
| 324 |
|
|
float alfaxz1_nt[NTRPT_MAX_NT]; |
| 325 |
|
|
float alfaxz2_nt[NTRPT_MAX_NT]; |
| 326 |
|
|
float alfaxz3_nt[NTRPT_MAX_NT]; |
| 327 |
|
|
int tr_cloud_nt[NTRPT_MAX_NT]; |
| 328 |
|
|
int nclouds_yz_nt; |
| 329 |
|
|
float alfayz1_av_nt[NCLOYZ_MAX]; |
| 330 |
|
|
float alfayz2_av_nt[NCLOYZ_MAX]; |
| 331 |
|
|
int ptcloud_yz_nt[NCLOYZ_MAX]; |
| 332 |
|
|
int nclouds_xz_nt; |
| 333 |
|
|
float alfaxz1_av_nt[NCLOXZ_MAX]; |
| 334 |
|
|
float alfaxz2_av_nt[NCLOXZ_MAX]; |
| 335 |
|
|
float alfaxz3_av_nt[NCLOXZ_MAX]; |
| 336 |
|
|
int ptcloud_xz_nt[NCLOXZ_MAX]; |
| 337 |
pam-fi |
1.9 |
int nclstr; |
| 338 |
|
|
float totaltime; |
| 339 |
|
|
float houghtime; |
| 340 |
|
|
float fittime; |
| 341 |
|
|
|
| 342 |
|
|
|
| 343 |
|
|
void InitcTrkHough(){ |
| 344 |
|
|
|
| 345 |
pam-fi |
1.12 |
ndblt_nt = 0; |
| 346 |
|
|
ntrpt_nt = 0; |
| 347 |
|
|
nclouds_yz_nt = 0; |
| 348 |
|
|
nclouds_xz_nt = 0; |
| 349 |
pam-fi |
1.9 |
nclstr = 0; |
| 350 |
|
|
totaltime = 0; |
| 351 |
|
|
houghtime = 0; |
| 352 |
|
|
fittime = 0; |
| 353 |
|
|
for(int i=0;i<NDBLT_MAX_NT ;i++){ |
| 354 |
pam-fi |
1.12 |
alfayz1_nt[i] = 0; |
| 355 |
|
|
alfayz2_nt[i] = 0; |
| 356 |
|
|
db_cloud_nt[i] = 0; |
| 357 |
pam-fi |
1.9 |
} |
| 358 |
|
|
for(int i=0;i<NTRPT_MAX_NT ;i++){ |
| 359 |
pam-fi |
1.12 |
alfaxz1_nt[i] = 0; |
| 360 |
|
|
alfaxz2_nt[i] = 0; |
| 361 |
|
|
alfaxz3_nt[i] = 0; |
| 362 |
|
|
tr_cloud_nt[i] = 0; |
| 363 |
pam-fi |
1.9 |
} |
| 364 |
|
|
for(int i=0;i<NCLOYZ_MAX ;i++){ |
| 365 |
pam-fi |
1.12 |
alfayz1_av_nt[i] = 0; |
| 366 |
|
|
alfayz2_av_nt[i] = 0; |
| 367 |
|
|
ptcloud_yz_nt[i] = 0; |
| 368 |
pam-fi |
1.9 |
} |
| 369 |
|
|
for(int i=0;i<NCLOXZ_MAX ;i++){ |
| 370 |
pam-fi |
1.12 |
ptcloud_xz_nt[i] = 0; |
| 371 |
|
|
alfaxz1_av_nt[i] = 0; |
| 372 |
|
|
alfaxz2_av_nt[i] = 0; |
| 373 |
|
|
alfaxz3_av_nt[i] = 0; |
| 374 |
pam-fi |
1.9 |
} |
| 375 |
|
|
} |
| 376 |
|
|
|
| 377 |
|
|
}; |
| 378 |
pam-fi |
1.8 |
|
| 379 |
pam-fi |
1.14 |
/** |
| 380 |
|
|
* \brief Struct to pass VA1-mask to F77 routines |
| 381 |
|
|
*/ |
| 382 |
|
|
struct cTrkMask { |
| 383 |
|
|
|
| 384 |
|
|
int mask_vk[NVK][NVIEW]; |
| 385 |
|
|
int mask_vk_run[NVK][NVIEW]; |
| 386 |
|
|
|
| 387 |
pam-fi |
1.16 |
// void Set(TFile* , Int_t , Int_t ); |
| 388 |
pam-fi |
1.14 |
|
| 389 |
|
|
}; |
| 390 |
pam-fi |
1.8 |
|
| 391 |
pam-fi |
1.15 |
/** |
| 392 |
|
|
* \brief Struct for pfa parameters |
| 393 |
|
|
*/ |
| 394 |
|
|
struct cTrkETA { |
| 395 |
|
|
|
| 396 |
|
|
int nangbin; |
| 397 |
|
|
float angL[NANGMAX],angR[NANGMAX]; |
| 398 |
|
|
int netaval; |
| 399 |
|
|
float eta2[NANGMAX][NETAVALMAX]; |
| 400 |
|
|
float feta2[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
| 401 |
|
|
float eta3[NANGMAX][NETAVALMAX]; |
| 402 |
|
|
float feta3[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
| 403 |
|
|
float eta4[NANGMAX][NETAVALMAX]; |
| 404 |
|
|
float feta4[NANGMAX][NLADDER][NVIEW][NETAVALMAX]; |
| 405 |
|
|
|
| 406 |
|
|
}; |
| 407 |
|
|
|
| 408 |
pam-fi |
1.2 |
extern "C" { |
| 409 |
pam-fi |
1.8 |
|
| 410 |
pam-fi |
1.9 |
extern struct cTrkCalib pedsigbad_; |
| 411 |
pam-fi |
1.16 |
extern struct cTrkMask mask_; |
| 412 |
pam-fi |
1.9 |
extern struct cTrkLevel0 level0event_; |
| 413 |
|
|
extern struct cTrkLevel1 level1event_; |
| 414 |
|
|
extern struct cTrkLevel2 level2event_; |
| 415 |
|
|
extern struct cPath path_; |
| 416 |
|
|
extern struct cDbg dbg_; |
| 417 |
pam-fi |
1.12 |
extern struct cTrkHough houghevent_; |
| 418 |
pam-fi |
1.8 |
extern struct cMini2track track_; |
| 419 |
pam-fi |
1.15 |
extern struct cTrkETA pfa_; |
| 420 |
pam-fi |
1.7 |
|
| 421 |
pam-fi |
1.2 |
void fillpedsigfromdefault_(); |
| 422 |
|
|
int readmipparam_(); |
| 423 |
|
|
int readchargeparam_(); |
| 424 |
|
|
int readvkmask_(); |
| 425 |
|
|
int readalignparam_(); |
| 426 |
|
|
int readetaparam_(); |
| 427 |
|
|
void reductionflight_(int*); |
| 428 |
pam-fi |
1.16 |
int analysisflight_(int*); |
| 429 |
|
|
int readb_(); |
| 430 |
|
|
|
| 431 |
pam-fi |
1.2 |
} |
| 432 |
|
|
|
| 433 |
mocchiut |
1.1 |
#endif |