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

Contents of /tracker/ground/source/common/calib.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed Mar 8 15:00:38 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 *************************************************************************
2 *
3 * Common calib.f
4 *
5 * contains CALIB variables definitions
6 *
7 * to be included in:
8 * - ../readraw/readraw.F
9 * - ../reduction/reduction.f
10 * - ../align/prealign.f
11 *
12 *************************************************************************
13
14 c------------------------------------------------------------------------
15 c
16 c pedestal, sigma and badstrip variables
17 c
18 c------------------------------------------------------------------------
19
20 parameter (id_hi_bad=100) !badstrip histo identifier
21 parameter (id_hi_ped=200) !pedestal histo identifier
22 parameter (id_hi_sig=300) !sigma histo identifier
23
24 real pedestal(nviews,nva1_view,nstrips_va1) !pedestal value
25 real pedestal_t(nviews,nva1_view,nstrips_va1) !pedestal truncated value
26
27 real sigma(nviews,nva1_view,nstrips_va1) !sigma value
28 real sigma_t(nviews,nva1_view,nstrips_va1) !sigma truncated value
29
30 integer bad(nviews,nva1_view,nstrips_va1) !bad strip flag matrix
31 ! (bad=0 --> good strip, bad=1 --> bad strip)
32 ! NB this is different in 2003 test with respect
33 ! to previous analysis
34
35 common/pedsigbad/pedestal,pedestal_t,sigma,sigma_t,bad
36
37 parameter (clcutx=7.) !cluster seed cut
38 parameter (clcuty=7.)
39 parameter (incutx=4.) !cut to include strips in cluster definition
40 parameter (incuty=4.)
41
42
43 parameter (id_hi_mask=400) !mask histo identifier
44
45 integer mask(nviews,nva1_view,nstrips_va1)
46 integer mask_vk(nviews,nva1_view)
47
48 common/mask/mask,mask_vk
49
50
51 c------------------------------------------------------------------------
52 c
53 c eta2, eta3, eta4 pfa correction parameters
54 c
55 c------------------------------------------------------------------------
56 * angular binning
57 * NB the angular binning is defined in common_preanalysis.f
58 * here are defined variables to retrieve calibration info
59 * (for processing levels next to 1)
60 parameter (nangmax=21) !maximum number of angular bins
61 integer nangbin
62 real angL(nangmax),angR(nangmax) !Left and Right bin limits
63
64 parameter (netavalmax=150) !eta2 points
65 integer netaval
66 real eta2(netavalmax,nangmax)
67 real feta2(netavalmax,nviews,nladders_view,nangmax)
68 real eta3(netavalmax,nangmax)
69 real feta3(netavalmax,nviews,nladders_view,nangmax)
70 real eta4(netavalmax,nangmax)
71 real feta4(netavalmax,nviews,nladders_view,nangmax)
72
73 common/angbinning/nangbin,angL,angR
74 common/pfa/netaval,eta2,feta2,eta3,feta3,eta4,feta4
75
76 c------------------------------------------------------------------------
77 c
78 c CHARGE CORRELATION
79 c
80 c------------------------------------------------------------------------
81
82 c parameter (chcut=3.) !cut to associate two clusters
83 parameter (chcut=4.) !cut to associate two clusters
84 real kch(nplanes,nladders_view) !angular coeff
85 real cch(nplanes,nladders_view) !const
86 real sch(nplanes,nladders_view) !sigma
87 common/chargeco/kch,cch,sch
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

  ViewVC Help
Powered by ViewVC 1.1.23