/[PAMELA software]/tracker/ground/source/common/level2.f
ViewVC logotype

Annotation of /tracker/ground/source/common/level2.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Mar 8 15:00:38 2006 UTC (18 years, 9 months ago) by pam-fi
Branch point for: MAIN, trk-ground
Initial revision

1 pam-fi 1.1 *************************************************************************
2     *
3     * Common level2.f
4     *
5     * contains LEVEL2 ntuple variables definitions
6     *
7     *
8     * 11/09/2005 modified by david fedele to include general variables
9     * 07/10/2005 modified by elena vannuccini --> (2)
10     *
11     *************************************************************************
12    
13     PARAMETER (NTRKMAX=50) !ncloyz_max*ncloxz_max)
14     c*****************************************************
15     cccccc 11/9/2005 modified by david fedele
16     PARAMETER (NSINGMAX=500)
17     ccc EVENT block*********
18     c GENERAL block:
19     c***************************************************
20     * -----------------------------------------------------------
21     logical good2 !flag to mark good or noise events
22     integer nev2 !level2 event number
23     c*****************************************************
24     cccccc 11/9/2005 modified by david fedele
25     integer which_calib !calibration file identifier. see DW_DATE_NUM_calib.txt file
26     integer swcode !version of the software
27     logical crc(12) !DSP crc controll
28     c common/level2/good2,nev2
29     cccccc 06/10/2005 modified by elena vannuccini
30     c common/level2/good2,nev2,which_calib,swcode
31     common/level2/good2,nev2,which_calib,swcode,crc
32     c*****************************************************
33    
34    
35    
36     c CPU block (only for ground data):
37     * -----------------------------------------------------------
38     integer pkt_type !CPU packet type identifier. see http://people.roma2.infn.it/~cpu/HB_list.txt
39     c 0x12 --> calibration board 0
40     c 0x13 --> calibration board 1
41     c 0x10 --> event
42     c 0x30 --> full event for calib special
43     c 0x83 --> tracker ALARM (control register)
44     integer pkt_num !CPU packet number
45     integer obt !CPU on-board time
46     c*****************************************************
47     cccccc 11/9/2005 modified by david fedele
48     c integer which_calib !calibration file identifier. see DW_DATE_NUM_calib.txt file
49     c common/level2_cpu/pkt_type,pkt_num,obt,which_calib
50     logical cpu_crc !CPU crc controll
51     common/level2_cpu/pkt_type,pkt_num,obt,cpu_crc
52     c****************************************************
53    
54     * -----------------------------------------------------------
55     * Common to store TRACK info
56     * All the variables have a dimention equal to the number of
57     * found tracks
58     * -----------------------------------------------------------
59     c TRACK PARAMETERS
60     integer ntrk !# identified tracks
61     integer image !flag to tag track-images
62     real al_nt !track state vector
63     real coval !covariance matrix
64     integer xgood_nt !mask of used planes
65     integer ygood_nt !*
66     real xm_nt !measured points
67     real ym_nt !*
68     real zm_nt !*
69     real resx_nt !spatial resolution
70     real resy_nt !*
71     real chi2_nt !chi2
72     real xv_nt !calculated points
73     real yv_nt !*
74     real zv_nt !*
75     real axv_nt !calculated angles (deg)
76     real ayv_nt !*
77     c*****************************************************
78     cccccc 11/9/2005 modified by david fedele
79     c real dedxp !signal in MIP scaled to 300 micrometer
80     real dedx_x !signal in MIP scaled to 300 micrometer
81     real dedx_y !signal in MIP scaled to 300 micrometer
82     cccccc 06/10/2005 add by elena vannuccini
83     real bdl
84     c****************************************************
85    
86     common/level2_tracks/
87     $ ntrk
88     $ ,image(NTRKMAX)
89     $ ,xm_nt(nplanes,NTRKMAX)
90     $ ,ym_nt(nplanes,NTRKMAX)
91     $ ,zm_nt(nplanes,NTRKMAX)
92     $ ,resx_nt(nplanes,NTRKMAX)
93     $ ,resy_nt(nplanes,NTRKMAX)
94     $ ,al_nt(5,NTRKMAX)
95     $ ,coval(5,5,NTRKMAX)
96     $ ,chi2_nt(NTRKMAX)
97     $ ,xgood_nt(nplanes,NTRKMAX)
98     $ ,ygood_nt(nplanes,NTRKMAX)
99     $ ,xv_nt(nplanes,NTRKMAX)
100     $ ,yv_nt(nplanes,NTRKMAX)
101     $ ,zv_nt(nplanes,NTRKMAX)
102     $ ,axv_nt(nplanes,NTRKMAX)
103     $ ,ayv_nt(nplanes,NTRKMAX)
104     c*****************************************************
105     cccccc 27/9/2005 modified by david fedele
106     c $ ,dedxp(nplanes,NTRKMAX)
107     $ ,dedx_x(nplanes,NTRKMAX)
108     $ ,dedx_y(nplanes,NTRKMAX)
109     c*****************************************************
110     cccccc 06/10/2005 modified by elena vannuccini
111     c $ ,crc(12)
112     $ ,bdl(NTRKMAX)
113    
114     * -----------------------------------------------------------
115     * Common to store SINGLET info
116     * (clusters not associated with any track)
117     * -----------------------------------------------------------
118    
119     integer nclsx !# unassociated clusters X views
120     c*****************************************************
121     cccccc 11/9/2005 modified by david fedele
122     integer planex !plane of single x
123     real xs !center coord of single x
124     real sgnlxs !signal in MIP of single x
125     common/level2_singletsx/
126     c $ nclsx,planex(NSINGMAX),xs(NSINGMAX),sgnlxs(NSINGMAX) !(2)
127     $ nclsx,planex(NSINGMAX),xs(2,NSINGMAX),sgnlxs(NSINGMAX) !(2)
128    
129     integer nclsy ! " " Y views
130     integer planey !plane of single y
131     real ys !center coord of single y
132     real sgnlys !signal in MIP of single y
133    
134     common/level2_singletsy/
135     c $ nclsy,planey(NSINGMAX),ys(NSINGMAX),sgnlys(NSINGMAX) !(2)
136     $ nclsy,planey(NSINGMAX),ys(2,NSINGMAX),sgnlys(NSINGMAX) !(2)
137     *********************************************************
138    

  ViewVC Help
Powered by ViewVC 1.1.23