Geant4 Cross Reference |
1 // Define a parameter for later use 1 // Define a parameter for later use 2 :P POSZ 5. 2 :P POSZ 5. 3 3 4 // Define materials 4 // Define materials 5 :ELEM Hydrogen H 1. 1. 5 :ELEM Hydrogen H 1. 1. 6 :ELEM Oxygen O 8 16. 6 :ELEM Oxygen O 8 16. 7 :ELEM Nitrogen N 7 14. 7 :ELEM Nitrogen N 7 14. 8 :MIXT Air 1.214E-03 2 8 :MIXT Air 1.214E-03 2 9 Nitrogen 0.75 9 Nitrogen 0.75 10 Oxygen 0.25 10 Oxygen 0.25 11 11 12 // Define rotation matrix 12 // Define rotation matrix 13 :ROTM R00 90. 0. 90. 90. 0. 0. // unit matrix 13 :ROTM R00 90. 0. 90. 90. 0. 0. // unit matrix 14 14 15 // Define volumes and place them 15 // Define volumes and place them 16 :VOLU world BOX 30. 30. 50. Air 16 :VOLU world BOX 30. 30. 50. Air 17 17 18 :VOLU "my tube" TUBS 0. 10. 20. 0. 360. G4_WAT 18 :VOLU "my tube" TUBS 0. 10. 20. 0. 360. G4_WATER 19 :PLACE "my tube" 1 world R00 0. 0. $POSZ 19 :PLACE "my tube" 1 world R00 0. 0. $POSZ 20 20 21 :VOLU sphere ORB 5. G4_AIR 21 :VOLU sphere ORB 5. G4_AIR 22 :PLACE sphere 1 "my tube" R00 0. 1. 10. 22 :PLACE sphere 1 "my tube" R00 0. 1. 10. 23 23 24 :VOLU chamber ELLIPTICALTUBE 3. 5. 10. G4_WATE 24 :VOLU chamber ELLIPTICALTUBE 3. 5. 10. G4_WATER 25 :PLACE chamber 1 world R00 0. 0. 40. 25 :PLACE chamber 1 world R00 0. 0. 40. 26 26 27 :REGION tubeReg "my tube" 27 :REGION tubeReg "my tube" 28 :REGION chamberReg chamber 28 :REGION chamberReg chamber 29 29 30 :CUTS tubeReg 10. 1. 30 :CUTS tubeReg 10. 1. 31 :CUTS chamberReg 0.1 0.1 0.1 31 :CUTS chamberReg 0.1 0.1 0.1 32 32