/[PAMELA software]/PamVMC/trk/include/f77/gpgeo.inc
ViewVC logotype

Contents of /PamVMC/trk/include/f77/gpgeo.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jun 12 18:39:53 2009 UTC (15 years, 5 months ago) by pam-rm2
Branch: MAIN
CVS Tags: v1r0, HEAD
Changes since 1.1: +4 -1 lines
- Introduced user-defined names of output files and random seeds number.
Users can do it use options of PamVMCApplication constructor:
PamVMCApplication(const char* name,  const char *title, const char*
filename="pamtest", Int_t seed=0).
The Random object that I use is TRandom3 object which has astronomical
large period (in case of default initialization 0). All random generators
in the code use this object by calling of gRandom singleton which keeps
it.

- Corrected TOF digitization routine. No problems with TDC hits due to
hadronic interactions anymore.

- Some small changes was done to compile code under Root 5.23. +
geant4_vmc v. 2.6 without any warnings

- Some classes of PamG4RunConfiguartion was changed for geant4_vmc v.
2.6.Some obsolete classes was deleted as soon as developers implemented
regions.

- Navigation was changed from "geomRootToGeant4" to "geomRoot", because on
VMC web page written that as soon as Geant4 has no option ONLY/MANY
translation of overlapped geometry to Geant4 through VGM could be wrong.
I'd like to stay with Root navigation:
http://root.cern.ch/root/vmc/Geant4VMC.html. This should be default
option.

- New Tracker digitization routine written by Sergio was implemented

- PamVMC again became compatible with geant4_vmc v.2.5 and ROOT 5.20.
 The problem was that ROOT developers introduced in TVirtualMC class a new
method SetMagField and new base class:TVirtualMagField from which
user-defined classes shoukd be derived

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

  ViewVC Help
Powered by ViewVC 1.1.23