/[PAMELA software]/DarthVader/TrackerLevel2/inc/F77/calib.f
ViewVC logotype

Annotation of /DarthVader/TrackerLevel2/inc/F77/calib.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Fri Apr 27 10:39:57 2007 UTC (17 years, 7 months ago) by pam-fi
Branch: MAIN
CVS Tags: v3r04, v3r03
Changes since 1.6: +17 -0 lines
v3r00: new hough parameters, new variables, and other things...

1 mocchiut 1.1 *************************************************************************
2     *
3     * Common calib.f
4     *
5     * contains CALIB variables definitions
6     *
7     *
8     *************************************************************************
9    
10     c------------------------------------------------------------------------
11     c
12     c pedestal, sigma and badstrip variables
13     c
14     c------------------------------------------------------------------------
15    
16     real pedestal(nviews,nva1_view,nstrips_va1) !pedestal value
17     real pedestal_t(nviews,nva1_view,nstrips_va1) !pedestal truncated value
18    
19     real sigma(nviews,nva1_view,nstrips_va1) !sigma value
20     real sigma_t(nviews,nva1_view,nstrips_va1) !sigma truncated value
21    
22     integer bad(nviews,nva1_view,nstrips_va1) !bad strip flag matrix
23     ! (bad=0 --> good strip, bad=1 --> bad strip)
24     ! NB this is different in 2003 test with respect
25     ! to previous analysis
26    
27     common/pedsigbad/pedestal,pedestal_t,sigma,sigma_t,bad
28     save/pedsigbad/
29    
30    
31     parameter (clcutx=7.) !cluster seed cut
32 pam-fi 1.3 parameter (clcuty=6.)
33 mocchiut 1.1 parameter (incutx=4.) !cut to include strips in cluster definition
34     parameter (incuty=4.)
35    
36 pam-fi 1.4 c------------------------------------------------------------------------
37     c
38     c VA1-mask
39     c
40     c------------------------------------------------------------------------
41     c VA1 mask, from the DB
42     c 0 = force mask
43     c 1 = ---> run-by-run mask ---> event-by-event mask
44     c -1 = ---> event-by-event mask
45     c -------------------------------------
46     integer mask_vk(nviews,nva1_view)
47     c -------------------------------------
48     c VA1 mask run-by-run (set to 0 if <SIG> < SIG_min)
49     c 0 = force mask
50     c 1 = ---> event-by-event mask
51     c -------------------------------------
52     integer mask_vk_run(nviews,nva1_view)
53     c -------------------------------------
54     c VA1 mask event-by-event (set to 0 if CN computation fails)
55     c 0 = force mask
56     c 1 = search clusters
57     c -------------------------------------
58     integer mask_vk_ev(nviews,nva1_view)
59 mocchiut 1.1
60 pam-fi 1.4 integer mask(nviews,nva1_view,nstrips_va1) !effective mask
61 mocchiut 1.1
62 pam-fi 1.4 * set from outside F77 routines
63     common/mask/mask_vk,mask_vk_run
64 mocchiut 1.1 save/mask/
65 pam-fi 1.4 * set event-by-event
66     common/maskev/mask_vk_ev,mask
67 mocchiut 1.1
68     c------------------------------------------------------------------------
69     c
70     c eta2, eta3, eta4 pfa correction parameters
71     c
72     c------------------------------------------------------------------------
73     * angular binning
74     * NB the angular binning is defined in common_preanalysis.f
75 pam-fi 1.4 * here are defned variables to retrieve calibration info
76 mocchiut 1.1 * (for processing levels next to 1)
77     parameter (nangmax=21) !maximum number of angular bins
78     integer nangbin
79     real angL(nangmax),angR(nangmax) !Left and Right bin limits
80    
81 pam-fi 1.6 parameter (netavalmax=500) !eta2 points
82 mocchiut 1.1 integer netaval
83     real eta2(netavalmax,nangmax)
84     real feta2(netavalmax,nviews,nladders_view,nangmax)
85     real eta3(netavalmax,nangmax)
86     real feta3(netavalmax,nviews,nladders_view,nangmax)
87     real eta4(netavalmax,nangmax)
88     real feta4(netavalmax,nviews,nladders_view,nangmax)
89    
90 pam-fi 1.5 c$$$ common/angbinning/nangbin,angL,angR
91     c$$$ save/angbinning/
92     c$$$ common/pfa/netaval,eta2,feta2,eta3,feta3,eta4,feta4
93     c$$$ save/pfa/
94 pam-fi 1.7
95 pam-fi 1.5 common/pfa/nangbin,angL,angR
96     $ ,netaval,eta2,feta2,eta3,feta3,eta4,feta4
97 mocchiut 1.1 save/pfa/
98 pam-fi 1.7
99     * limit of application of pfa
100     parameter (e2fax=0.)
101     parameter (e2tax=10.)
102     parameter (e3fax=10.)
103     parameter (e3tax=15.)
104     parameter (e4fax=90.)
105     parameter (e4tax=90.)
106    
107     parameter (e2fay=0.)
108     parameter (e2tay=20.)
109     parameter (e3fay=90.)
110     parameter (e3tay=90.)
111     parameter (e4fay=90.)
112     parameter (e4tay=90.)
113    
114 mocchiut 1.1 c------------------------------------------------------------------------
115     c
116     c CHARGE CORRELATION
117     c
118     c------------------------------------------------------------------------
119    
120     c parameter (chcut=3.) !cut to associate two clusters
121 pam-fi 1.2 c parameter (chcut=4.) !cut to associate two clusters
122 pam-fi 1.3 parameter (chcut=50.) !cut to associate two clusters
123     parameter (chsatx=1700.) !saturation limit
124 pam-fi 1.2 parameter (chsaty=2500.) !saturation limit
125 pam-fi 1.3 parameter (chmipx=200.) !mip limit
126     parameter (chmipy=200.) !mip limit
127 pam-fi 1.2 * above saturation limit correlation conditions are not applied
128 mocchiut 1.1 real kch(nplanes,nladders_view) !angular coeff
129     real cch(nplanes,nladders_view) !const
130     real sch(nplanes,nladders_view) !sigma
131     common/chargeco/kch,cch,sch
132     save/chargeco/
133     c------------------------------------------------------------------------
134     c
135     c MIP
136     c
137     c (mip signal, scaled to 300 micron, in ADC channels)
138     c
139     c------------------------------------------------------------------------
140     real mip(nviews,nladders_view)
141     common/adc2mip/mip
142     save/adc2mip/

  ViewVC Help
Powered by ViewVC 1.1.23