1 |
* |
* |
2 |
* $Id: gpgeo.inc,v 3.3 2005/06/21 02:42:13 cafagna Exp $ |
* $Id: gpgeo.inc,v 3.19 2006/11/28 10:26:14 pam-ba Exp $ |
3 |
* |
* |
4 |
* $Log: gpgeo.inc,v $ |
* $Log: gpgeo.inc,v $ |
5 |
|
* Revision 3.19 2006/11/28 10:26:14 pam-ba |
6 |
|
* S3 positioning completed |
7 |
|
* |
8 |
|
* Revision 3.18 2006/11/16 18:45:29 pam-ba |
9 |
|
* Simulated an aluminum container for S4 |
10 |
|
* |
11 |
|
* Revision 3.17 2006/11/10 11:39:34 pam-ba |
12 |
|
* S2 and S1 z-positions corrected, He3 and plystyrene mixture added, Top Plate geometry simulated and titanium mixture added. |
13 |
|
* |
14 |
|
* Revision 3.16 2006/10/12 11:11:21 pam-ba |
15 |
|
* ND geometry updated. |
16 |
|
* |
17 |
|
* Revision 3.15 2006/06/30 15:38:16 pam-ba |
18 |
|
* S22 and S12 heights positioned in GPAMELA at the nominal heights in PAMELA (see document: Main geometrical parameters of the PAMELA sub-detectors, 20 December 2005) |
19 |
|
* |
20 |
|
* Revision 3.14 2006/05/18 10:52:32 pam-ba |
21 |
|
* TOF geometry completed and a new material, the polystyrene (density 35 g/l), added |
22 |
|
* |
23 |
|
* Revision 3.13 2006/05/02 15:23:14 cafagna |
24 |
|
* Few mispelled command in gpgeo.inc and gpgeo.F |
25 |
|
* |
26 |
|
* Revision 3.12 2006/05/02 10:58:35 pam-ba |
27 |
|
* TOF geometry and position updated and a new material, the mylar, added |
28 |
|
* |
29 |
|
* Revision 3.11 2006/04/10 11:07:43 cafagna |
30 |
|
* GEN data card updated, ZDGEN added |
31 |
|
* |
32 |
|
* Revision 3.10 2006/04/09 23:28:57 cafagna |
33 |
|
* Several new things, among this: ND and CARD |
34 |
|
* |
35 |
|
* Revision 3.9 2005/12/20 12:21:04 cafagna |
36 |
|
* gpnd directory added along with ND files |
37 |
|
* |
38 |
|
* Revision 3.8 2005/12/16 10:20:14 cafagna |
39 |
|
* Bug fixed in the new update |
40 |
|
* |
41 |
|
* Revision 3.7 2005/12/16 09:13:52 cafagna |
42 |
|
* New small valume added to the tracker frame |
43 |
|
* |
44 |
|
* Revision 3.6 2005/12/13 10:31:29 pam-ba |
45 |
|
* added a new volume, TPGI, in the spectrometer |
46 |
|
* |
47 |
|
* Revision 3.5 2005/12/05 12:15:20 pam-ba |
48 |
|
* new spectrometer geometry and internal magnetic field |
49 |
|
* |
50 |
|
* Revision 3.4 2005/07/25 11:53:21 cafagna |
51 |
|
* Several updates. See history for details |
52 |
|
* |
53 |
* Revision 3.3 2005/06/21 02:42:13 cafagna |
* Revision 3.3 2005/06/21 02:42:13 cafagna |
54 |
* Major modification to the geometry and to the random number chain |
* Major modification to the geometry and to the random number chain |
55 |
* |
* |
75 |
C |
C |
76 |
C Common with the volumes parameters for PAMELA |
C Common with the volumes parameters for PAMELA |
77 |
C |
C |
78 |
c ml: 28/10/04: |
REAL PAME,SHEL,TFLA,SHEI,TSPH,S1,S2,S1A,S2A,S3,S11M, |
79 |
C REAL PAME,SHEL,TFLA,SHEI,TSPH,S11,S12,S21,S22,S31, |
+ S12M,S21M,S22M,S31M,S32M,POL1,POL2,POLY,S11Y,S12X,S21X, |
80 |
REAL PAME,SHEL,TFLA,SHEI,TSPH,S11,S12,S21,S22,TPLA,S31, |
+ S22Y,S31Y,S32X,TPLA,TPTU,TPTM,TPTL,TPCV,S4,S4AL,CATB, |
81 |
c end ml. |
+ CATL,CATT,CASX,CASY, |
|
c ml: 27/10/04: |
|
|
c + S32,S4,S11X,SC11,S12Y,SC12,S21X,SC21,S22Y,SC22, |
|
|
c ml:20/12/04: |
|
|
c da commentare: |
|
|
+ S32,S4,S11Y,SC11,S12X,SC12,S21X,SC21,S22Y,SC22, |
|
|
C DA SCOMMENTARE: |
|
|
C + S32,S4,STOF,SGLU,SPV1,SMYL,S11Y,S12X,SPV2,S21X,S22Y, |
|
|
C OK: |
|
|
c end ml. |
|
|
+ S31Y,SC31,S32X,SC32,CATB,CATL,CATT,CASX,CASY, |
|
82 |
*AB: |
*AB: |
83 |
+ MSHE,BSPH, |
+ MSHE,BSPH, |
84 |
*END: AB. |
*END: AB. |
85 |
*EM: |
*EM: |
86 |
+ CSSX,CSSY,CASXD,CASYD,CATH,CATF,CATO,CATP, |
+ CSSX,CSSY,CASXD,CASYD,CATH,CATF,CATO,CATP, |
87 |
*END: EM. |
*END: EM. |
88 |
*JeL: |
*JeL: |
89 |
+ CASA, CATA, |
+ CASA, CATA, |
90 |
*END: JeL. |
*END: JeL. |
91 |
|
+ CARDB,CAR,CARA,CARB, |
92 |
|
+ ATY,ATZ,PT, |
93 |
|
+ LEGB,LEG1,LEG2,LEG3,LEG4,LEG5,LEG6, |
94 |
|
+ LEG7,LEG8,LEG9,TOHO,TOPT, |
95 |
|
+ TPLT,TOPC,TH11,TH12,TH21,TH22, |
96 |
|
+ MGSC,MGSH, |
97 |
*ml: 10/11/04: |
*ml: 10/11/04: |
98 |
c + TRDS,TRDT,TRDB,TRFR,TRFI,TRBS,TRSO,TRSI,TRRA, |
+ TRDS,TRDT,TRDB,TRFR,TRBS,TRAL,TRSO,TRSI,TRRA, |
99 |
C + TRDS,TRDT,TRDB,TRFR,TRFI,TRBS,TRAL,TRSO,TRSI,TRRA, |
+ TRFU,TRFD,TRFM,TRFL,TRR2,TRR0,TRI0,TRRF,TRRI, |
|
+ TRDS,TRDT,TRDB,TRFR,TRBS,TRAL,TRSO,TRSI,TRRA, |
|
|
+ TRFU,TRFD,TRFM,TRFL,TRR2,TRR0,TRI0,TRRF,TRRI, |
|
100 |
*end ml. |
*end ml. |
101 |
+ TRAN,TRAI,SPEB,MGPL,MGPI,MGFR, |
+ TRAN,TRAI,SPEB,MGFR,MGPL,MGPA,MGPI,TPGA,TPGU,TPGD,TPGI |
|
*F.V.&ML: |
|
|
C + TRPB,TRPL,TRSL,TSPA,TRCP,CALB,CALS,CAPL, |
|
|
c ml: 26/11/04: |
|
|
c + TRPB,TRPL,TRSL,TSPA,TRCP,CALB,CALS,CAPL,CANS, |
|
102 |
c ml: 20/04/05: |
c ml: 20/04/05: |
103 |
c + TRPB,TRPL,TRSL,TSPA,THBP,TRCP,CALB,CALS,CAPL,CANS, |
c + TRPB,TRPL,TRSL,TSPA,THBP,TRCP,CALB,CALS,CAPL,CANS, |
104 |
+ TRPB,TPAI,TPAS,TRSL,TSPA,THBP,TRCP,CALB,CALS, |
+ TRPB,TPAS,TPAI,TRSL,TSPA,THBP,TRCP,TBAL,CALB,CALS, |
105 |
+ CAPL,CANS, |
+ CAPL,CANS, |
106 |
c end ml. |
c end ml. |
107 |
*END F.V.&ML. |
*END F.V.&ML. |
108 |
+ CASI,CG10,CAAB,XYZPOR,XYZSOR,ZSHEL, |
+ CASI,CG10,CAAB,XYZPOR,XYZSOR,ZSHEL, |
109 |
*AB: |
*AB: |
110 |
+ ZMSHE,ZBSPH, |
+ ZMSHE,ZBSPH, |
111 |
*END: AB. |
*END: AB. |
112 |
+ ZTFLA,ZSHEI,ZTSPH,ZS11,ZS12,ZTRD,ZS21,ZS22, |
+ ZTFLA,ZSHEI,ZTSPH,ZS1,ZS2A,ZS3,HMYLTOF,HGLUTOF,HPVCMAX, |
113 |
+ ZCAT,ZCAS, |
+ HPVCMIN,HALTOF,HAIRS3,HTABLE,DTABLEAL,XTPLA,YTPLA,ZTRD, |
114 |
|
+ ZCAT,ZCAS, |
115 |
c ml: 28/10/04: |
c ml: 28/10/04: |
116 |
C + ZSPEC,ZS31,ZS32,ZCAL,ZS4,DCASIX,DCASIY,DCASIZ, |
+ ZCARDB,ZTPLA,ZSPEBP,ZSPEC,ZORMG,HORMG,XGLUE,DTPS3, |
117 |
+ ZTPLA,ZSPEC,ZS31,ZS32,ZCAL,ZS4,DCASIX,DCASIY,DCASIZ, |
+ ZCAL, |
118 |
|
+ ZS4,ZND,DCASIX,DCASIY,DCASIZ, |
119 |
c end ml. |
c end ml. |
120 |
+ SCTIC,GAPTOP, |
+ SCTIC,GAPTOP, |
121 |
+ GAPTRD,CASIOFF,CALSTWID,XGEN,YGEN,ZGEN,XDGEN,YDGEN, |
+ GAPTRD,CASIOFF,CALSTWID,XGEN,YGEN,ZGEN,XDGEN,YDGEN, |
122 |
*EM: |
*EM: |
123 |
+ CAGL,CAKP,CAKA,C10C,CAAD,CAPD, |
+ ZDGEN,CAGL,CAKP,CAKA,C10C,CAAD,CAPD, |
124 |
*END EM. |
*END EM. |
125 |
* MA |
* MA |
126 |
+ DZM0, DZST |
+ DZM0, DZST, |
127 |
|
*** Neutron detector definition |
128 |
|
+ NDBO,NDBX, NDBI, NDTU, NDTI, NDPB, NDCD,NDCO,NDBS,NDSS, |
129 |
|
+ NDCI,NDCM,NDCE,NDSI,NDSM,NDSE,TNDBX,TNDCD,GNDTU |
130 |
C |
C |
131 |
C Some usefull quantities to calculate volumes dimentions |
C Some usefull quantities to calculate volumes dimentions |
132 |
C |
C |
138 |
C |
C |
139 |
*AB: |
*AB: |
140 |
COMMON /GPCGEO/PAME( 3),SHEL( 5),TFLA( 3),SHEI( 3), |
COMMON /GPCGEO/PAME( 3),SHEL( 5),TFLA( 3),SHEI( 3), |
141 |
+ MSHE( 3),BSPH(6),TSPH( 6),TPLA( 3), |
+ MSHE( 3),BSPH(6),TSPH( 6),TPLA( 3), |
142 |
*END: AB. |
*END: AB. |
143 |
|
+ TPTU( 3),TPTM( 3),TPTL( 3),TPCV( 3), |
144 |
c ml: 28/10/04: |
c ml: 28/10/04: |
145 |
+ S11( 3),S12( 3),S21( 3),S22( 3),S31( 3), |
+ S1( 3),S2( 3),S1A( 3),S2A( 3),S3( 3), |
146 |
c end ml. |
c end ml. |
147 |
c ml: 27/10/04: |
+ S4( 3),S4AL( 3),S11M( 3),S12M( 3),S21M( 3), |
148 |
c + S32( 3),S4( 3),S11X( 3),SC11( 3), |
+ S22M( 3),S31M( 3),S32M( 3),POL1(3),POL2(3), |
149 |
C DA COMMENTARE: |
+ POLY(3),S11Y( 3),S12X( 3),S21X( 3),S22Y( 3), |
150 |
+ S32( 3),S4( 3),S11Y( 3),SC11( 3), |
+ S31Y(3),S32X( 3), |
|
C DA SCOMMENTARE: |
|
|
C + S32( 3),S4( 3),STOF( 3),SGLU( 3),SPV1( 3), |
|
|
C + SMYL( 3),S11Y( 3),S12X( 3)SPV2( 3),S21X( 3), |
|
|
C + S22Y( 3),S31Y( 3),SC31( 3),S32X( 3),SC32( 3), |
|
|
C OK: |
|
|
c + S12Y( 3),SC12( 3),S21X( 3),SC21( 3),S22Y( 3), |
|
|
C DA COMMENTARE: |
|
|
+ S12X( 3),SC12( 3),S21X( 3),SC21( 3),S22Y( 3), |
|
|
+ SC22( 3),S31Y( 3),SC31( 3),S32X( 3),SC32( 3), |
|
|
C OK: |
|
151 |
+ CATB( 3),CATL( 3),CATT( 3),CASX( 3),CASY( 3), |
+ CATB( 3),CATL( 3),CATT( 3),CASX( 3),CASY( 3), |
|
C end ml. |
|
152 |
*EM: |
*EM: |
153 |
+ CSSX( 3),CSSY( 3),CATH( 3),CATF( 3), |
+ CSSX( 3),CSSY( 3),CATH( 3),CATF( 3), |
154 |
+ CATO( 3),CATP( 3), |
+ CATO( 3),CATP( 3), |
155 |
*END: EM. |
*END: EM. |
156 |
*JeL: |
*JeL: |
157 |
+ CASA( 3),CATA( 3), |
+ CASA( 3),CATA( 3), |
158 |
*END: JeL. |
*END: JeL. |
159 |
|
+ CARDB(3),CAR(8),CARA(7),CARB(7), |
160 |
|
+ ATY,ATZ,PT, |
161 |
|
+ LEGB(3),LEG1(11),LEG2(3),LEG3(3),LEG4(3), |
162 |
|
+ LEG5(3),LEG6(3),LEG7(3),LEG8(3),LEG9(3), |
163 |
|
+ MGSC(3),MGSH(3),TOHO(3),TOPT(11), |
164 |
|
+ TPLT(3),TOPC(3),TH11(3),TH12(3),TH21(3),TH22(3), |
165 |
|
|
166 |
*ml: 10/11/04: |
*ml: 10/11/04: |
167 |
C + TRDS( 3),TRDT( 3),TRDB( 3),TRFR( 3),TRFI( 3), |
C + TRDS( 3),TRDT( 3),TRDB( 3),TRFR( 3),TRFI( 3), |
168 |
+ TRDS( 3),TRDT( 3),TRDB( 3),TRFR( 3), |
+ TRDS( 3),TRDT( 3),TRDB( 3),TRFR( 3), |
173 |
+ TRR0( 3),TRI0( 3),TRRF( 3),TRRI( 3),TRAN( 3), |
+ TRR0( 3),TRI0( 3),TRRF( 3),TRRI( 3),TRAN( 3), |
174 |
+ TRAI( 3), |
+ TRAI( 3), |
175 |
*end ml. |
*end ml. |
176 |
+ SPEB( 3),MGPL( 3),MGPI( 3),MGFR(3), |
+ SPEB( 3),MGFR( 3),MGPL( 3),MGPA( 3),MGPI( 3), |
|
c ml: 26/11/04: |
|
|
c + TRPB( 3),TRPL( 3),TRSL( 3),TSPA( 3), |
|
177 |
c ml:20/04/05: |
c ml:20/04/05: |
178 |
c + TRPB( 3),TRPL( 3),TRSL( 3),TSPA( 3),THBP( 3), |
c + TRPB( 3),TRPL( 3),TRSL( 3),TSPA( 3),THBP( 3), |
179 |
+ TRPB( 3),TPAI( 3),TPAS( 3),TRSL( 3), |
+ TPGA( 3),TPGU( 3),TPGD( 3),TPGI( 3),TRPB( 3), |
180 |
+ TSPA( 3),THBP( 3), |
+ TPAS( 3),TPAI( 3),TRSL( 3),TSPA( 3),THBP( 3), |
181 |
|
+ TRCP( 3),TBAL( 3), |
182 |
c end ml. |
c end ml. |
183 |
+ TRCP( 3),CALB( 3),CALS( 3), |
+ CALB( 3),CALS( 3), |
184 |
* F.C.&ML: |
* F.C.&ML: |
185 |
C + CAPL( 3),CASI( 3),CAAD( 3),CAPD( 3), |
C + CAPL( 3),CASI( 3),CAAD( 3),CAPD( 3), |
186 |
+ CAPL( 3),CASI( 3),CAAD( 3),CAPD( 3),CANS( 3), |
+ CAPL( 3),CASI( 3),CAAD( 3),CAPD( 3),CANS( 3), |
193 |
*MA |
*MA |
194 |
+ DZM0, DZST, |
+ DZM0, DZST, |
195 |
* end MA |
* end MA |
196 |
+ SCTIC,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