/[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.3 - (hide annotations) (download)
Mon Oct 2 13:12:39 2006 UTC (18 years, 2 months ago) by pam-fi
Branch: MAIN
Changes since 1.2: +5 -3 lines
modified charge correlation

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     parameter (id_hi_bad=100) !badstrip histo identifier
17     parameter (id_hi_ped=200) !pedestal histo identifier
18     parameter (id_hi_sig=300) !sigma histo identifier
19    
20     real pedestal(nviews,nva1_view,nstrips_va1) !pedestal value
21     real pedestal_t(nviews,nva1_view,nstrips_va1) !pedestal truncated value
22    
23     real sigma(nviews,nva1_view,nstrips_va1) !sigma value
24     real sigma_t(nviews,nva1_view,nstrips_va1) !sigma truncated value
25    
26     integer bad(nviews,nva1_view,nstrips_va1) !bad strip flag matrix
27     ! (bad=0 --> good strip, bad=1 --> bad strip)
28     ! NB this is different in 2003 test with respect
29     ! to previous analysis
30    
31     common/pedsigbad/pedestal,pedestal_t,sigma,sigma_t,bad
32     save/pedsigbad/
33    
34    
35     parameter (clcutx=7.) !cluster seed cut
36 pam-fi 1.3 parameter (clcuty=6.)
37 mocchiut 1.1 parameter (incutx=4.) !cut to include strips in cluster definition
38     parameter (incuty=4.)
39    
40    
41     parameter (id_hi_mask=400) !mask histo identifier
42    
43     integer mask(nviews,nva1_view,nstrips_va1)
44     integer mask_vk(nviews,nva1_view)
45    
46     common/mask/mask,mask_vk
47     save/mask/
48    
49     c------------------------------------------------------------------------
50     c
51     c eta2, eta3, eta4 pfa correction parameters
52     c
53     c------------------------------------------------------------------------
54     * angular binning
55     * NB the angular binning is defined in common_preanalysis.f
56     * here are defined variables to retrieve calibration info
57     * (for processing levels next to 1)
58     parameter (nangmax=21) !maximum number of angular bins
59     integer nangbin
60     real angL(nangmax),angR(nangmax) !Left and Right bin limits
61    
62     parameter (netavalmax=150) !eta2 points
63     integer netaval
64     real eta2(netavalmax,nangmax)
65     real feta2(netavalmax,nviews,nladders_view,nangmax)
66     real eta3(netavalmax,nangmax)
67     real feta3(netavalmax,nviews,nladders_view,nangmax)
68     real eta4(netavalmax,nangmax)
69     real feta4(netavalmax,nviews,nladders_view,nangmax)
70    
71     common/angbinning/nangbin,angL,angR
72     save/angbinning/
73     common/pfa/netaval,eta2,feta2,eta3,feta3,eta4,feta4
74     save/pfa/
75     c------------------------------------------------------------------------
76     c
77     c CHARGE CORRELATION
78     c
79     c------------------------------------------------------------------------
80    
81     c parameter (chcut=3.) !cut to associate two clusters
82 pam-fi 1.2 c parameter (chcut=4.) !cut to associate two clusters
83 pam-fi 1.3 parameter (chcut=50.) !cut to associate two clusters
84     parameter (chsatx=1700.) !saturation limit
85 pam-fi 1.2 parameter (chsaty=2500.) !saturation limit
86 pam-fi 1.3 parameter (chmipx=200.) !mip limit
87     parameter (chmipy=200.) !mip limit
88 pam-fi 1.2 * above saturation limit correlation conditions are not applied
89 mocchiut 1.1 real kch(nplanes,nladders_view) !angular coeff
90     real cch(nplanes,nladders_view) !const
91     real sch(nplanes,nladders_view) !sigma
92     common/chargeco/kch,cch,sch
93     save/chargeco/
94     c------------------------------------------------------------------------
95     c
96     c MIP
97     c
98     c (mip signal, scaled to 300 micron, in ADC channels)
99     c
100     c------------------------------------------------------------------------
101     real mip(nviews,nladders_view)
102     common/adc2mip/mip
103     save/adc2mip/

  ViewVC Help
Powered by ViewVC 1.1.23