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