/[PAMELA software]/root2paw/inc/COMMON2.TXT
ViewVC logotype

Contents of /root2paw/inc/COMMON2.TXT

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Mar 9 15:46:24 2006 UTC (18 years, 8 months ago) by mocchiut
Branch: MAIN
CVS Tags: v4r00, HEAD
Changes since 1.1: +35 -3 lines
File MIME type: text/plain
Convert tracker output from software v3r02. Some small bugs fixed

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

  ViewVC Help
Powered by ViewVC 1.1.23