1 |
mocchiut |
1.1 |
IMPLICIT NONE |
2 |
|
|
|
3 |
|
|
INTEGER NPLANES, NTRKMAX |
4 |
|
|
|
5 |
|
|
PARAMETER (NTRKMAX=50) !ncloyz_max*ncloxz_max) |
6 |
|
|
PARAMETER (NPLANES=6) !ncloyz_max*ncloxz_max) |
7 |
|
|
|
8 |
|
|
c EVENT block: |
9 |
|
|
* ----------------------------------------------------------- |
10 |
|
|
logical good2 !flag to mark good or noise events |
11 |
|
|
integer nev2 !level2 event number |
12 |
|
|
|
13 |
|
|
c CPU block (only for ground data): |
14 |
|
|
* ----------------------------------------------------------- |
15 |
|
|
integer pkt_type !CPU packet type identifier. see http://people.roma2.infn.it/~cpu/HB_list.txt |
16 |
|
|
c 0x12 --> calibration board 0 |
17 |
|
|
c 0x13 --> calibration board 1 |
18 |
|
|
c 0x10 --> event |
19 |
|
|
c 0x30 --> full event for calib special |
20 |
|
|
c 0x83 --> tracker ALARM (control register) |
21 |
|
|
integer pkt_num !CPU packet number |
22 |
|
|
integer obt !CPU on-board time |
23 |
|
|
integer which_calib !calibration file identifier. see DW_DATE_NUM_calib.txt file |
24 |
|
|
|
25 |
|
|
|
26 |
|
|
* ----------------------------------------------------------- |
27 |
|
|
* Common to store TRACK info |
28 |
|
|
* All the variables have a dimention equal to the number of |
29 |
|
|
* found tracks |
30 |
|
|
* ----------------------------------------------------------- |
31 |
|
|
c TRACK PARAMETERS |
32 |
|
|
integer ntrk !# identified tracks |
33 |
|
|
real al !track state vector |
34 |
|
|
integer xgood !mask of used planes |
35 |
|
|
integer ygood !* |
36 |
|
|
real xm !measured points |
37 |
|
|
real ym !* |
38 |
|
|
real zm !* |
39 |
|
|
real resx !spatial resolution |
40 |
|
|
real resy !* |
41 |
|
|
real chi2 !chi2 |
42 |
|
|
real xv !calculated points |
43 |
|
|
real yv !* |
44 |
|
|
real zv !* |
45 |
|
|
real axv !calculated angles (deg) |
46 |
|
|
real ayv !* |
47 |
|
|
* ----------------------------------------------------------- |
48 |
|
|
* Common to store SINGLET info |
49 |
|
|
* (clusters not associated with any track) |
50 |
|
|
* ----------------------------------------------------------- |
51 |
|
|
integer nclsx !# unassociated clusters per plane X views |
52 |
|
|
integer nclsy ! " " " " Y views |
53 |
|
|
|
54 |
|
|
common/trklev2/good2,nev2, |
55 |
|
|
$ pkt_type,pkt_num,obt,which_calib, |
56 |
|
|
$ ntrk |
57 |
|
|
$ ,xm(nplanes,NTRKMAX) |
58 |
|
|
$ ,ym(nplanes,NTRKMAX) |
59 |
|
|
$ ,zm(nplanes,NTRKMAX) |
60 |
|
|
$ ,resx(nplanes,NTRKMAX) |
61 |
|
|
$ ,resy(nplanes,NTRKMAX) |
62 |
|
|
$ ,al(5,NTRKMAX) |
63 |
|
|
$ ,chi2(NTRKMAX) |
64 |
|
|
$ ,xgood(nplanes,NTRKMAX) |
65 |
|
|
$ ,ygood(nplanes,NTRKMAX) |
66 |
|
|
$ ,xv(nplanes,NTRKMAX) |
67 |
|
|
$ ,yv(nplanes,NTRKMAX) |
68 |
|
|
$ ,zv(nplanes,NTRKMAX) |
69 |
|
|
$ ,axv(nplanes,NTRKMAX) |
70 |
|
|
$ ,ayv(nplanes,NTRKMAX) |
71 |
|
|
$ ,nclsx(nplanes),nclsy(nplanes) |
72 |
|
|
SAVE /trklev2/ |
73 |
|
|
|