1 |
* |
2 |
* $Id: gpgeo.inc,v 1.5 2009-06-12 18:39:53 pam-rm2 Exp $ |
3 |
* |
4 |
* $Log: gpgeo.inc,v $ |
5 |
* Revision 1.5 2009-06-12 18:39:53 pam-rm2 |
6 |
* - Introduced user-defined names of output files and random seeds number. |
7 |
* Users can do it use options of PamVMCApplication constructor: |
8 |
* PamVMCApplication(const char* name, const char *title, const char* |
9 |
* filename="pamtest", Int_t seed=0). |
10 |
* The Random object that I use is TRandom3 object which has astronomical |
11 |
* large period (in case of default initialization 0). All random generators |
12 |
* in the code use this object by calling of gRandom singleton which keeps |
13 |
* it. |
14 |
* |
15 |
* - Corrected TOF digitization routine. No problems with TDC hits due to |
16 |
* hadronic interactions anymore. |
17 |
* |
18 |
* - Some small changes was done to compile code under Root 5.23. + |
19 |
* geant4_vmc v. 2.6 without any warnings |
20 |
* |
21 |
* - Some classes of PamG4RunConfiguartion was changed for geant4_vmc v. |
22 |
* 2.6.Some obsolete classes was deleted as soon as developers implemented |
23 |
* regions. |
24 |
* |
25 |
* - Navigation was changed from "geomRootToGeant4" to "geomRoot", because on |
26 |
* VMC web page written that as soon as Geant4 has no option ONLY/MANY |
27 |
* translation of overlapped geometry to Geant4 through VGM could be wrong. |
28 |
* I'd like to stay with Root navigation: |
29 |
* http://root.cern.ch/root/vmc/Geant4VMC.html. This should be default |
30 |
* option. |
31 |
* |
32 |
* - New Tracker digitization routine written by Sergio was implemented |
33 |
* |
34 |
* - PamVMC again became compatible with geant4_vmc v.2.5 and ROOT 5.20. |
35 |
* The problem was that ROOT developers introduced in TVirtualMC class a new |
36 |
* method SetMagField and new base class:TVirtualMagField from which |
37 |
* user-defined classes shoukd be derived |
38 |
* |
39 |
* Revision 1.1 2009-02-19 17:46:24 nikolas |
40 |
* Cleaning up before releasing |
41 |
* |
42 |
* Revision 3.22 2008/01/29 18:25:16 pamela |
43 |
* Review of the shell and TOF geometries. New materials around the shell |
44 |
* added to simulate the insulation. |
45 |
* |
46 |
* Revision 3.21 2006/12/17 14:53:13 cafagna |
47 |
* Full review of the CARD geometry. S1 table added |
48 |
* |
49 |
* Revision 3.20 2006/11/30 12:29:14 cafagna |
50 |
* CARD geometry updated. New S1 "table", legs included, added. Top magnetic screen has been added as well. |
51 |
* |
52 |
* Revision 3.19 2006/11/28 10:26:14 pam-ba |
53 |
* S3 positioning completed |
54 |
* |
55 |
* Revision 3.18 2006/11/16 18:45:29 pam-ba |
56 |
* Simulated an aluminum container for S4 |
57 |
* |
58 |
* Revision 3.17 2006/11/10 11:39:34 pam-ba |
59 |
* S2 and S1 z-positions corrected, He3 and plystyrene mixture added, Top Plate geometry simulated and titanium mixture added. |
60 |
* |
61 |
* Revision 3.16 2006/10/12 11:11:21 pam-ba |
62 |
* ND geometry updated. |
63 |
* |
64 |
* Revision 3.15 2006/06/30 15:38:16 pam-ba |
65 |
* 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) |
66 |
* |
67 |
* Revision 3.14 2006/05/18 10:52:32 pam-ba |
68 |
* TOF geometry completed and a new material, the polystyrene (density 35 g/l), added |
69 |
* |
70 |
* Revision 3.13 2006/05/02 15:23:14 cafagna |
71 |
* Few mispelled command in gpgeo.inc and gpgeo.F |
72 |
* |
73 |
* Revision 3.12 2006/05/02 10:58:35 pam-ba |
74 |
* TOF geometry and position updated and a new material, the mylar, added |
75 |
* |
76 |
* Revision 3.11 2006/04/10 11:07:43 cafagna |
77 |
* GEN data card updated, ZDGEN added |
78 |
* |
79 |
* Revision 3.10 2006/04/09 23:28:57 cafagna |
80 |
* Several new things, among this: ND and CARD |
81 |
* |
82 |
* Revision 3.9 2005/12/20 12:21:04 cafagna |
83 |
* gpnd directory added along with ND files |
84 |
* |
85 |
* Revision 3.8 2005/12/16 10:20:14 cafagna |
86 |
* Bug fixed in the new update |
87 |
* |
88 |
* Revision 3.7 2005/12/16 09:13:52 cafagna |
89 |
* New small valume added to the tracker frame |
90 |
* |
91 |
* Revision 3.6 2005/12/13 10:31:29 pam-ba |
92 |
* added a new volume, TPGI, in the spectrometer |
93 |
* |
94 |
* Revision 3.5 2005/12/05 12:15:20 pam-ba |
95 |
* new spectrometer geometry and internal magnetic field |
96 |
* |
97 |
* Revision 3.4 2005/07/25 11:53:21 cafagna |
98 |
* Several updates. See history for details |
99 |
* |
100 |
* Revision 3.3 2005/06/21 02:42:13 cafagna |
101 |
* Major modification to the geometry and to the random number chain |
102 |
* |
103 |
* Revision 3.2 2002/12/05 10:17:42 pamela |
104 |
* Update CAS and CALO geometries and positions. Makefile updated as well |
105 |
* |
106 |
* Revision 3.1.1.1 2002/07/11 16:01:59 cafagna |
107 |
* First GPAMELA release on CVS |
108 |
* |
109 |
* |
110 |
* |
111 |
* gpgeo.inc |
112 |
* |
113 |
* 16/07/2004 16.44.06 by Alexey Bakaldin |
114 |
* 27/08/2002 15.28.12 by Jens Lund |
115 |
*CMZ : 3.00/00 14/11/2000 09.13.05 by Emiliano Mocchiutti |
116 |
*CMZ : 2.02/00 12/10/2000 17.59.14 by Francesco Cafagna |
117 |
*CMZ : 2.01/00 05/04/2000 14.35.17 by Marialuigia Ambriola |
118 |
*CMZ : 2.00/00 03/03/2000 15.39.05 by Francesco Cafagna |
119 |
*CMZ : 1.02/00 08/11/99 11.10.27 by Francesco Cafagna |
120 |
*CMZ : 1.00/02 02/04/96 16.44.16 by Francesco Cafagna |
121 |
*-- Author : |
122 |
C |
123 |
C Common with the volumes parameters for PAMELA |
124 |
C |
125 |
REAL PAME,SHEL,TFLA,SHEI,TSPH,S1,S2,S1A,S2A,S3,S11M, |
126 |
+ S12M,S21M,S22M,S31M,S32M,POL1,POL2,POLY,S11Y,S12X,S21X, |
127 |
+ S22Y,S31Y,S32X,TPLA,TPTU,TPTM,TPTL,TPCV,S4,S4AL,CATB, |
128 |
+ CATL,CATT,CASX,CASY,COV1,COV2,COV3, |
129 |
*AB: |
130 |
+ MSHE,BSPH, |
131 |
*END: AB. |
132 |
*EM: |
133 |
+ CSSX,CSSY,CASXD,CASYD,CATH,CATF,CATO,CATP, |
134 |
*END: EM. |
135 |
*JeL: |
136 |
+ CASA, CATA, |
137 |
*END: JeL. |
138 |
+ CARDB,CAR,CARA,CARB, |
139 |
+ ATY,ATZ,PT, |
140 |
+ LEGB,LEG1,LEG2,LEG3,LEG4,LEG5,LEG6, |
141 |
+ LEG7,LEG8,LEG9,TOHO,TOPT, |
142 |
+ TPLT,TOPC,TH11,TH12,TH21,TH22, |
143 |
+ MGSC,MGSH,LEGP,TOPP, |
144 |
+ CAR1,CAR2,CR1P,CR2P,C1D1,C2D1, |
145 |
+ VSN1,VSN2,VPN1,VPN2,VAN1,VAN2, |
146 |
*ml: 10/11/04: |
147 |
+ TRDS,TRDT,TRDB,TRFR,TRBS,TRAL,TRSO,TRSI,TRRA, |
148 |
+ TRFU,TRFD,TRFM,TRFL,TRR2,TRR0,TRI0,TRRF,TRRI, |
149 |
*end ml. |
150 |
+ TRAN,TRAI,SPEB,MGFR,MGPL,MGPA,MGPI,TPGA,TPGU,TPGD,TPGI |
151 |
c ml: 20/04/05: |
152 |
c + TRPB,TRPL,TRSL,TSPA,THBP,TRCP,CALB,CALS,CAPL,CANS, |
153 |
+ TRPB,TPAS,TPAI,TRSL,TSPA,THBP,TRCP,TBAL,CALB,CALS, |
154 |
+ CAPL,CANS, |
155 |
c end ml. |
156 |
*END F.V.&ML. |
157 |
+ CASI,CG10,CAAB,XYZPOR,XYZSOR,ZSHEL, |
158 |
*AB: |
159 |
+ ZMSHE,ZBSPH, |
160 |
*END: AB. |
161 |
+ ZTFLA,ZSHEI,ZTSPH,ZS1,ZS2A,ZS3,HMYLTOF,HGLUTOF,HPVCMAX, |
162 |
+ HPVCMIN,HALTOF,HAIRS3,HTABLE,DTABLEAL,XTPLA,YTPLA,ZTRD, |
163 |
+ ZCAT,ZCAS, |
164 |
c ml: 28/10/04: |
165 |
+ ZCARDB,ZTPLA,ZSPEBP,ZSPEC,ZORMG,HORMG,XGLUE,DTPS3, |
166 |
+ ZCAL, |
167 |
+ ZS4,ZND,DCASIX,DCASIY,DCASIZ, |
168 |
c end ml. |
169 |
+ SCTIC,GAPTOP, |
170 |
+ GAPTRD,CASIOFF,CALSTWID,XGEN,YGEN,ZGEN,XDGEN,YDGEN, |
171 |
*EM: |
172 |
+ ZDGEN,CAGL,CAKP,CAKA,C10C,CAAD,CAPD, |
173 |
*END EM. |
174 |
* MA |
175 |
+ DZM0, DZST, |
176 |
*** Neutron detector definition |
177 |
+ NDBO,NDBX, NDBI, NDTU, NDTI, NDPB, NDCD,NDCO,NDBS,NDSS, |
178 |
+ NDCI,NDCM,NDCE,NDSI,NDSM,NDSE,TNDBX,TNDCD,GNDTU |
179 |
C |
180 |
C Some usefull quantities to calculate volumes dimentions |
181 |
C |
182 |
c ml: 27/10/04: |
183 |
c INTEGER NTRSL,NCAPL,NCAPLD,NCASTR,NS11X, |
184 |
c + NS12Y,NS21X,NS22Y,NS31Y,NS32X |
185 |
INTEGER NTRSL,NTHBP,NCAPL,NCAPLD,NCASTR,NS11Y, |
186 |
+ NS12X,NS21X,NS22Y,NS31Y,NS32X |
187 |
C |
188 |
*AB: |
189 |
COMMON /GPCGEO/PAME( 3),SHEL( 5),TFLA( 3),SHEI( 3), |
190 |
+ MSHE( 3),BSPH(6),TSPH( 6),TPLA( 3), |
191 |
*END: AB. |
192 |
+ TPTU( 3),TPTM( 3),TPTL( 3),TPCV( 3), |
193 |
c ml: 28/10/04: |
194 |
+ S1( 3),S2( 3),S1A( 3),S2A( 3),S3( 3), |
195 |
c end ml. |
196 |
+ S4( 3),S4AL( 3),S11M( 3),S12M( 3),S21M( 3), |
197 |
+ S22M( 3),S31M( 3),S32M( 3),POL1(3),POL2(3), |
198 |
+ POLY(3),S11Y( 3),S12X( 3),S21X( 3),S22Y( 3), |
199 |
+ S31Y(3),S32X( 3), |
200 |
+ CATB( 3),CATL( 3),CATT( 3),CASX( 3),CASY( 3), |
201 |
*EM: |
202 |
+ CSSX( 3),CSSY( 3),CATH( 3),CATF( 3), |
203 |
+ CATO( 3),CATP( 3),COV1(6),COV2(6),COV3(6), |
204 |
*END: EM. |
205 |
*JeL: |
206 |
+ CASA( 3),CATA( 3), |
207 |
*END: JeL. |
208 |
+ CARDB(3),CAR(8),CARA(7),CARB(7),!positioning parameters |
209 |
+ ATY,ATZ,PT, !aluminium and plastic thickness |
210 |
+ CAR1(11),CR1P(11),C1D1(11),C2D1(11), |
211 |
+ CAR2(11),CR2P(11),VSN1(11),VPN1(11), |
212 |
+ VAN1(11),VSN2(11),VPN2(11),VAN2(11), |
213 |
+ LEGB(3),LEG1(11),LEG2(3),LEG3(3),LEG4(3), |
214 |
+ LEG5(3),LEG6(3),LEG7(3),LEG8(3),LEG9(3), |
215 |
+ LEGP(8),TOPP(9), !positioning parameters |
216 |
+ MGSC(3),MGSH(3),TOHO(3),TOPT(11), |
217 |
+ TPLT(3),TOPC(3),TH11(3),TH12(3),TH21(3),TH22(3), |
218 |
|
219 |
*ml: 10/11/04: |
220 |
C + TRDS( 3),TRDT( 3),TRDB( 3),TRFR( 3),TRFI( 3), |
221 |
+ TRDS( 3),TRDT( 3),TRDB( 3),TRFR( 3), |
222 |
c + TRBS( 3),TRSO( 3),TRSI( 3),TRRA( 3),TRAN( 3), |
223 |
c + TRAI( 3), |
224 |
+ TRBS( 3),TRAL( 3),TRSO( 3),TRSI( 3),TRRA( 3), |
225 |
+ TRFU( 3),TRFD( 3),TRFM( 3),TRFL( 3),TRR2( 3), |
226 |
+ TRR0( 3),TRI0( 3),TRRF( 3),TRRI( 3),TRAN( 3), |
227 |
+ TRAI( 3), |
228 |
*end ml. |
229 |
+ SPEB( 3),MGFR( 3),MGPL( 3),MGPA( 3),MGPI( 3), |
230 |
c ml:20/04/05: |
231 |
c + TRPB( 3),TRPL( 3),TRSL( 3),TSPA( 3),THBP( 3), |
232 |
+ TPGA( 3),TPGU( 3),TPGD( 3),TPGI( 3),TRPB( 3), |
233 |
+ TPAS( 3),TPAI( 3),TRSL( 3),TSPA( 3),THBP( 3), |
234 |
+ TRCP( 3),TBAL( 3), |
235 |
c end ml. |
236 |
+ CALB( 3),CALS( 3), |
237 |
* F.C.&ML: |
238 |
C + CAPL( 3),CASI( 3),CAAD( 3),CAPD( 3), |
239 |
+ CAPL( 3),CASI( 3),CAAD( 3),CAPD( 3),CANS( 3), |
240 |
* END F.C.&ML. |
241 |
+ CG10( 3),CAAB( 3),XYZPOR(3),XYZSOR(3), |
242 |
*EM: |
243 |
+ CAGL( 3),CAKP( 3),CAKA( 3),C10C( 3), |
244 |
+ CASXD,CASYD, |
245 |
*END EM. |
246 |
*MA |
247 |
+ DZM0, DZST, |
248 |
* end MA |
249 |
+ NDBO(3),NDBX(3),NDBI(3),NDTU(3),NDTI(3), |
250 |
+ NDPB(3),NDCD(3),NDCO(3),NDBS(3),NDSS(3), |
251 |
+ NDCI(3),NDCM(3), |
252 |
+ NDCE(3),NDSI(3),NDSM(3),NDSE(3),TNDBX,TNDCD, |
253 |
+ GNDTU,SCTIC,ZSHEL,ZTFLA,ZSHEI,ZTSPH,ZS1,ZS2, |
254 |
+ ZS3,HMYLTOF,HGLUTOF,HPVCMAX,HPVCMIN,HALTOF, |
255 |
+ HAIRS3,HTABLE,DTABLEAL,XTPLA,YTPLA, |
256 |
*AB: |
257 |
+ ZMSHE,ZBSPH, |
258 |
*END: AB. |
259 |
c ml: 28/10/04 |
260 |
c + ZTRD,ZS21,ZS22,ZCAT,ZCAS,ZSPEC, |
261 |
+ ZTRD,ZTPLA,ZCAT,ZCAS,ZCARDB,ZSPEBP,ZSPEC, |
262 |
+ ZORMG,HORMG,XGLUE, |
263 |
c end ml. |
264 |
+ DTPS3,ZCAL,ZS4,ZND,DCASIX, |
265 |
+ DCASIY,DCASIZ,GAPTOP,GAPTRD, |
266 |
+ CASIOFF,CALSTWID,XGEN,YGEN,ZGEN,XDGEN,YDGEN, |
267 |
+ ZDGEN,NTRSL,NTHBP,NCAPL,NCAPLD, |
268 |
c ml: 27/10/04: |
269 |
c + NCASTR,NS11X,NS12Y,NS21X,NS22Y,NS31Y,NS32X |
270 |
+ NCASTR,NS11Y,NS12X,NS21X,NS22Y,NS31Y,NS32X |
271 |
c end ml. |
272 |
C |