Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/persistency/P03/g4geom.txt is written in an unsupported language. File is not indexed.

0001 // Define a parameter for later use
0002 :P POSZ 5.
0003 
0004 // Define materials
0005 :ELEM Hydrogen H 1. 1.
0006 :ELEM Oxygen O 8 16.
0007 :ELEM Nitrogen N 7 14.
0008 :MIXT Air 1.214E-03 2
0009       Nitrogen   0.75
0010       Oxygen     0.25
0011 
0012 // Define rotation matrix
0013 :ROTM R00 90. 0. 90. 90. 0. 0.  // unit matrix
0014 
0015 // Define volumes and place them
0016 :VOLU world BOX 30. 30. 30. Air
0017 
0018 :VOLU "my tube" TUBS 0. 10. 20. 0. 360. G4_WATER
0019 :PLACE "my tube" 1 world R00 0. 0. $POSZ
0020 
0021 :VOLU sphere ORB 5.  G4_AIR
0022 :PLACE sphere 1 "my tube" R00 0. 1. 10.
0023