9 |
#define NTRKMAX 10 |
#define NTRKMAX 10 |
10 |
#define NSINGMAX 100 |
#define NSINGMAX 100 |
11 |
|
|
12 |
|
#define NCLMAX_VIEW 200 |
13 |
|
#define NCLSTR 19 |
14 |
|
#define NCLMAX (NCLMAX_VIEW*12) |
15 |
|
#define NCLBUFF (NCLMAX*NCLSTR) |
16 |
|
|
17 |
#include <CalibTrk1Event.h> |
#include <CalibTrk1Event.h> |
18 |
#include <CalibTrk2Event.h> |
#include <CalibTrk2Event.h> |
19 |
|
|
80 |
struct cTrkLevel1 { |
struct cTrkLevel1 { |
81 |
int good1; |
int good1; |
82 |
int nclstr1; |
int nclstr1; |
83 |
int view[500]; |
int view[NCLMAX]; |
84 |
int ladder[500]; |
int ladder[NCLMAX]; |
85 |
int maxs[500]; |
int maxs[NCLMAX]; |
86 |
int mult[500]; |
int mult[NCLMAX]; |
87 |
float dedx[500]; |
float dedx[NCLMAX]; |
88 |
int indstart[500]; |
int indstart[NCLMAX]; |
89 |
int indmax[500]; |
int indmax[NCLMAX]; |
90 |
int totCLlength; |
int totCLlength; |
91 |
float clsignal[8500]; |
float clsignal[NCLBUFF]; |
92 |
float cnev[24][12]; |
float clsigma[NCLBUFF]; |
93 |
float cnevflag[24][12]; |
int cladc[NCLBUFF]; |
94 |
|
int clbad[NCLBUFF]; |
95 |
|
float cnev[24][12]; |
96 |
|
int cnnev[24][12]; |
97 |
|
int fshower[12]; |
98 |
|
int whichtrack[NCLMAX]; |
99 |
}; |
}; |
100 |
// ================================================================== |
// ================================================================== |
101 |
/** |
/** |
109 |
int planex[NSINGMAX]; |
int planex[NSINGMAX]; |
110 |
float xs[NSINGMAX][2]; |
float xs[NSINGMAX][2]; |
111 |
float signlxs[NSINGMAX]; |
float signlxs[NSINGMAX]; |
112 |
|
int clsx[NSINGMAX]; |
113 |
// ---------------------------- |
// ---------------------------- |
114 |
int nclsy; |
int nclsy; |
115 |
int planey[NSINGMAX]; |
int planey[NSINGMAX]; |
116 |
float ys[NSINGMAX][2]; |
float ys[NSINGMAX][2]; |
117 |
float signlys[NSINGMAX]; |
float signlys[NSINGMAX]; |
118 |
|
int clsy[NSINGMAX]; |
119 |
// ---------------------------- |
// ---------------------------- |
120 |
int ntrk; |
int ntrk; |
121 |
int image[NTRKMAX]; |
int image[NTRKMAX]; |
136 |
float ayv_nt[NTRKMAX][6]; |
float ayv_nt[NTRKMAX][6]; |
137 |
float dedx_x[NTRKMAX][6]; |
float dedx_x[NTRKMAX][6]; |
138 |
float dedx_y[NTRKMAX][6]; |
float dedx_y[NTRKMAX][6]; |
139 |
float bdl[NTRKMAX]; |
int cltrx[NTRKMAX][6]; |
140 |
|
int cltry[NTRKMAX][6]; |
141 |
|
// float bdl[NTRKMAX]; |
142 |
|
|
143 |
void InitcTrkLevel2(){ |
void InitcTrkLevel2(){ |
144 |
|
|
164 |
for(Int_t i=0; i<NTRKMAX ; i++){ |
for(Int_t i=0; i<NTRKMAX ; i++){ |
165 |
image[i] = 0; |
image[i] = 0; |
166 |
chi2_nt[i] = 0; |
chi2_nt[i] = 0; |
167 |
bdl[i] = 0; |
// bdl[i] = 0; |
168 |
|
|
169 |
for(Int_t ii=0; ii<5 ; ii++){ |
for(Int_t ii=0; ii<5 ; ii++){ |
170 |
al_nt[i][ii] = 0; |
al_nt[i][ii] = 0; |