1 |
************************************************************************* |
2 |
* |
3 |
* Common level2.f |
4 |
* |
5 |
* contains LEVEL2 ntuple variables definitions |
6 |
* |
7 |
************************************************************************* |
8 |
|
9 |
PARAMETER (NTRKMAX=10) ! |
10 |
PARAMETER (NSINGMAX=nclstrmax) |
11 |
|
12 |
integer good2 |
13 |
integer vkflag !viking-chip flag (-1:masked 0:CN-failure 1:ok) |
14 |
integer ntrk !# identified tracks |
15 |
integer image !flag to tag track-images |
16 |
real al_nt !track state vector |
17 |
real coval !covariance matrix |
18 |
integer xgood_nt !mask of used planes |
19 |
integer ygood_nt !* |
20 |
integer ls !10*ladder+sensor |
21 |
integer xbad !number of bad strips |
22 |
integer ybad !" |
23 |
real xm_nt !measured points |
24 |
real ym_nt !* |
25 |
real zm_nt !* |
26 |
real resx_nt !spatial resolution |
27 |
real resy_nt !* |
28 |
real tailx_nt !spatial resolution |
29 |
real taily_nt !* |
30 |
real chi2_nt !chi2 |
31 |
integer nstep_nt !chi2 |
32 |
real xv_nt !calculated points |
33 |
real yv_nt !* |
34 |
real zv_nt !* |
35 |
real axv_nt !calculated angles (deg) |
36 |
real ayv_nt !* |
37 |
real dedx_x !signal in MIP scaled to 300 micrometer |
38 |
real dedx_y !signal in MIP scaled to 300 micrometer |
39 |
integer cltrx !cluster ID (to associate level2 and level1) |
40 |
integer cltry !cluster ID (to associate level2 and level1) |
41 |
integer nclsx !# unassociated clusters X views |
42 |
integer planex !plane of single x |
43 |
real xs !center coord of single x |
44 |
real sgnlxs !signal in MIP of single x |
45 |
integer clsx !cluster ID (to associate level2 and level1) |
46 |
integer nclsy ! " " Y views |
47 |
integer planey !plane of single y |
48 |
real ys !center coord of single y |
49 |
real sgnlys !signal in MIP of single y |
50 |
integer clsy !cluster ID (to associate level2 and level1) |
51 |
integer multmaxx !cluster multiplicity and max strip |
52 |
integer multmaxy !cluster multiplicity and max strip |
53 |
real seedx !cluster seed |
54 |
real seedy !cluster seed |
55 |
real xpu !cluster coordinate in pitch units |
56 |
real ypu !cluster coordinate in pitch units |
57 |
|
58 |
common/level2event/ |
59 |
$ good2(12) |
60 |
$ ,vkflag(12,24) |
61 |
$ ,nclsx,planex(NSINGMAX),xs(2,NSINGMAX),sgnlxs(NSINGMAX) |
62 |
$ ,clsx(NSINGMAX) |
63 |
$ ,nclsy,planey(NSINGMAX),ys(2,NSINGMAX),sgnlys(NSINGMAX) |
64 |
$ ,clsy(NSINGMAX) |
65 |
$ ,ntrk |
66 |
$ ,image(NTRKMAX) |
67 |
$ ,xm_nt(nplanes,NTRKMAX) |
68 |
$ ,ym_nt(nplanes,NTRKMAX) |
69 |
$ ,zm_nt(nplanes,NTRKMAX) |
70 |
$ ,resx_nt(nplanes,NTRKMAX) |
71 |
$ ,resy_nt(nplanes,NTRKMAX) |
72 |
$ ,tailx_nt(nplanes,NTRKMAX) |
73 |
$ ,taily_nt(nplanes,NTRKMAX) |
74 |
$ ,al_nt(5,NTRKMAX) |
75 |
$ ,coval(5,5,NTRKMAX) |
76 |
$ ,chi2_nt(NTRKMAX) |
77 |
$ ,nstep_nt(NTRKMAX) |
78 |
$ ,xgood_nt(nplanes,NTRKMAX) |
79 |
$ ,ygood_nt(nplanes,NTRKMAX) |
80 |
$ ,ls(nplanes,NTRKMAX) |
81 |
$ ,xbad(nplanes,NTRKMAX) |
82 |
$ ,ybad(nplanes,NTRKMAX) |
83 |
$ ,xv_nt(nplanes,NTRKMAX) |
84 |
$ ,yv_nt(nplanes,NTRKMAX) |
85 |
$ ,zv_nt(nplanes,NTRKMAX) |
86 |
$ ,axv_nt(nplanes,NTRKMAX) |
87 |
$ ,ayv_nt(nplanes,NTRKMAX) |
88 |
$ ,dedx_x(nplanes,NTRKMAX) |
89 |
$ ,dedx_y(nplanes,NTRKMAX) |
90 |
$ ,cltrx(nplanes,NTRKMAX) |
91 |
$ ,cltry(nplanes,NTRKMAX) |
92 |
$ ,multmaxx(nplanes,NTRKMAX) |
93 |
$ ,multmaxy(nplanes,NTRKMAX) |
94 |
$ ,seedx(nplanes,NTRKMAX) |
95 |
$ ,seedy(nplanes,NTRKMAX) |
96 |
$ ,xpu(nplanes,NTRKMAX) |
97 |
$ ,ypu(nplanes,NTRKMAX) |
98 |
|
99 |
SAVE/level2event/ |
100 |
********************************************************* |
101 |
|