/[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.1 - (hide annotations) (download)
Fri May 19 13:15:52 2006 UTC (18 years, 6 months ago) by mocchiut
Branch: MAIN
Branch point for: DarthVader
Initial revision

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     parameter (clcuty=7.)
37     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     parameter (chcut=4.) !cut to associate two clusters
83     real kch(nplanes,nladders_view) !angular coeff
84     real cch(nplanes,nladders_view) !const
85     real sch(nplanes,nladders_view) !sigma
86     common/chargeco/kch,cch,sch
87     save/chargeco/
88     c------------------------------------------------------------------------
89     c
90     c MIP
91     c
92     c (mip signal, scaled to 300 micron, in ADC channels)
93     c
94     c------------------------------------------------------------------------
95     real mip(nviews,nladders_view)
96     common/adc2mip/mip
97     save/adc2mip/

  ViewVC Help
Powered by ViewVC 1.1.23