Geant4_10
ugeom.F
Go to the documentation of this file.
1 
2  SUBROUTINE ugeom
3 
4 * *** Define user geometry set up
5 *
6 #include "calor.inc"
7 *
8  dimension par(3)
9 *
10  dimension aair(2),zair(2),wair(2)
11  dimension ah2o(2),zh2o(2),wh2o(2)
12 *
13 * *** Air compound parameters
14  DATA aair/14.01, 16.00/
15  DATA zair/ 7. , 8. /
16  DATA wair/ 0.7 , 0.3 /
17 *
18 * *** Air compound parameters
19  DATA ah2o/ 1.01, 16.00/
20  DATA zh2o/ 1. , 8. /
21  DATA wh2o/ 2. , 1. /
22 *
23 * *** Defines USER perticular materials
24  CALL gsmixt( 1,'Air' , aair ,zair, 1.29e-3, 2 , wair)
25  CALL gsmate( 2,'H2 Liquid', 1.01, 1., 0.0708 , 865., 790., 0,0)
26  CALL gsmixt( 3,'Water' , ah2o ,zh2o, 1.0 ,-2 , wh2o)
27  CALL gsmate( 4,'Liquid Ar', 39.95, 18., 1.39 , 14.0, 84.0, 0,0)
28  CALL gsmate( 5,'Aluminium', 26.98, 13., 2.7 , 8.9, 37.2, 0,0)
29  CALL gsmate( 6,'Iron' , 55.85, 26., 7.87 , 1.76, 17.1, 0,0)
30  CALL gsmate( 7,'Tungsten' ,183.85, 74., 19.30 , 0.35, 18.5, 0,0)
31  CALL gsmate( 8,'Lead' ,207.19, 82., 11.35 , 0.56, 18.5, 0,0)
32  CALL gsmate( 9,'Uranium' ,238.03, 92., 18.95 , 0.32, 12. , 0,0)
33 *
34  CALL gsmate(10,'Silicon' , 28.09, 14., 2.33 , 9.36, 45.5, 0,0)
35  CALL gsmate(11,'Germanium', 72.61, 32., 5.323 , 2.30, 16.6, 0,0)
36 *
37 * *** Defines USER tracking media parameters
38  ifield = 0
39  IF (field.GT.0.) ifield = 3
40  fieldm = 10*field
41  tmaxfd = 10.0
42  stemax = 1000.
43  if (stepmax.gt.0.) stemax = stepmax
44  deemax = 0.20
45  epsil = 0.001
46  stmin = 0.010
47 *
48  CALL gstmed( 1,'Container',imat, 0 ,ifield,fieldm,tmaxfd,
49  * stemax,deemax,epsil,stmin, 0 , 0 )
50 *
51 *
52 * *** Geometry
53  par(1) = sizex /2.
54  par(2) = sizeyz/2.
55  par(3) = sizeyz/2.
56  CALL gsvolu('aBox','BOX ',1,par,3,ivol)
57 *
58  if (nlayers.gt.1) CALL gsdvn('layr','aBox',nlayers,1)
59 *
60 * *** Close geometry banks. (obligatory system routine)
61  CALL ggclos
62 *
63 *
64 * *** dessin
65  CALL gsatt('*','SEEN',1)
66 *
67  DO ix = 1,3
68  CALL gdopen(ix)
69  scale = 18./sizex
70  paxis = 0.
71  saxis = 0.1*sizex
72  CALL gdrawc('aBox',ix,0.,10.,9.3,scale,scale)
73  CALL gdaxis(paxis,paxis,paxis,saxis)
74  CALL gdscal(10. , 0.3)
75  CALL gdclos
76  END DO
77 *
78 
79  END
subroutine ugeom
Definition: ugeom.F:2
Double_t scale
Definition: plot.C:11