/[PAMELA software]/tracker/ground/utilities/template/trk_level2.f
ViewVC logotype

Annotation of /tracker/ground/utilities/template/trk_level2.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Mar 8 15:00:49 2006 UTC (18 years, 9 months ago) by pam-fi
Branch: MAIN, trk-ground
CVS Tags: R3v02, HEAD
Changes since 1.1: +0 -0 lines
First CVS release of tracker ground software (R3v02) 

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

  ViewVC Help
Powered by ViewVC 1.1.23