/[PAMELA software]/DarthVader/ToFLevel2/inc/tofcomm.txt
ViewVC logotype

Annotation of /DarthVader/ToFLevel2/inc/tofcomm.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Aug 11 12:58:23 2009 UTC (15 years, 3 months ago) by mocchiut
Branch: MAIN
CVS Tags: v10RED, v9r00, v9r01, v10REDr01, HEAD
Changes since 1.1: +20 -20 lines
File MIME type: text/plain
Compilation warnings with gcc >= 4.3 fixed

1 mocchiut 1.1 * DATA ZTOF/55.,25.,-23/
2     *
3     * TOF data
4     * first index : 1 = A, 2 = B
5     * second index : 1.. number of paddle
6     * third index : 1 = TDC, 2 = ADC
7    
8     REAL tof11(2,8,2),tof12(2,6,2)
9     REAL tof21(2,2,2),tof22(2,2,2)
10     REAL tof31(2,3,2),tof32(2,3,2)
11    
12    
13     c USEFUL TO CALCULATE POSITION WITH HIT JUST IN ONE PLANE
14     c middle y (or x) position of the upper and middle ToF-Paddle
15     c to calculate theta-angle without track information
16     REAL tof11_x(8), tof21_y(2), tof31_x(3)
17     REAL tof12_y(6), tof22_x(2), tof32_y(3)
18    
19     DATA tof11_x/ -17.85,-12.75,-7.65,-2.55,2.55,7.65,12.75,17.85/
20     DATA tof12_y/ -13.75,-8.25,-2.75,2.75,8.25,13.75/
21     c DATA tof21_y/ -3.75,3.75/
22     DATA tof21_y/ 3.75,-3.75/ ! paddles in different order
23     DATA tof22_x/ -4.5,4.5/
24     DATA tof31_x/ -6.0,0.,6.0/
25     DATA tof32_y/ -5.0,0.0,5.0/
26    
27     C----
28     INTEGER left,right,itdc,iadc
29     INTEGER tdc_ev, adc_ev, none_ev, none_find
30     INTEGER offset, slope
31     INTEGER tof11_i,tof21_i,tof31_i
32     INTEGER tof12_i,tof22_i,tof32_i
33    
34     INTEGER i
35    
36     * S11 8 paddles 33.0 x 5.1 cm
37     * S12 6 paddles 40.8 x 5.5 cm
38     * S21 2 paddles 18.0 x 7.5 cm
39     * S22 2 paddles 15.0 x 9.0 cm
40     * S31 3 paddles 15.0 x 6.0 cm
41     * S32 3 paddles 18.0 x 5.0 cm
42    
43     integer ch11a(8),hb11a(8),ch11b(8),hb11b(8)
44     integer ch12a(6),hb12a(6),ch12b(6),hb12b(6)
45     integer ch21a(2),hb21a(2),ch21b(2),hb21b(2)
46     integer ch22a(2),hb22a(2),ch22b(2),hb22b(2)
47     integer ch31a(3),hb31a(3),ch31b(3),hb31b(3)
48     integer ch32a(3),hb32a(3),ch32b(3),hb32b(3)
49    
50    
51     data ch11a / 4, 4, 4, 4, 1, 1, 2, 2/
52     data hb11a / 1, 3, 5, 7, 10, 12, 2, 4/
53     data ch11b / 2, 2, 2, 2, 1, 1, 1, 1/
54     data hb11b / 6, 8, 12, 10, 8, 6, 4, 2/
55    
56     data ch12a / 3, 3, 3, 3, 3, 3/
57 mocchiut 1.2 data hb12a / 2, 4, 6, 8, 10, 12/
58     data ch12b / 4, 4, 4, 4, 4, 4/
59     data hb12b / 12, 10, 8, 6, 4, 2/
60    
61     data ch21a / 1, 1/
62     data hb21a / 1, 5/
63     data ch21b / 2, 1/
64     data hb21b / 9, 7/
65    
66     data ch22a / 1, 1/
67     data hb22a / 3, 9/
68     data ch22b / 2, 1/
69     data hb22b / 11, 11/
70    
71     data ch31a / 2, 3, 3/
72     data hb31a / 7, 9, 11/
73     data ch31b / 2, 2, 2/
74     data hb31b / 5, 3, 1/
75    
76 mocchiut 1.1 data ch32a / 3, 3, 4/
77     data hb32a / 1, 5, 9/
78     data ch32b / 3, 3, 4/
79     data hb32b / 3, 7, 11/
80 mocchiut 1.2
81 mocchiut 1.1 COMMON / tofcomm /tof11,tof12,tof21,tof22,tof31,tof32

  ViewVC Help
Powered by ViewVC 1.1.23