Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Define rotation matrix
0002 :ROTM RM0 0. 0. 0.
0003 :ROTM RM90X 90. 0. 0.
0004 :ROTM RM90Y 0. 90. 0.
0005 
0006 // Define volumes and place them
0007 :VOLU world BOX 5000. 5000. 5000. G4_AIR
0008 
0009 :VOLU subworld1 BOX 1000. 1000. 1000. G4_AIR
0010 :PLACE subworld1 1 world RM0 0. 2000. 0. 
0011 :VOLU subworld2 BOX 1000. 1000. 1000. G4_AIR
0012 :PLACE subworld2 1 world RM0 0. -2000. 0. 
0013 :VOLU subworld3 BOX 1000. 1000. 1000. G4_AIR
0014 :PLACE subworld3 1 world RM0 0. 0. 2000.  
0015 :VOLU subworld4 BOX 1000. 1000. 1000. G4_AIR
0016 :PLACE subworld4 1 world RM0 0. 0. -2000.  
0017 
0018 :VOLU "my box" TUBE 0. 50. 50. G4_AIR
0019 :PLACE_PARAM "my box" 1 subworld1 SQUARE_XY RM0 6 6 100. 100. -300. 200.
0020 :PLACE_PARAM "my box" 2 subworld2 SQUARE_XZ RM90X 5 5 150. 100.  0. 0.
0021 :PLACE_PARAM "my box" 3 subworld3 SQUARE_YZ RM90Y 4 4 200. 300. -500. -500. 
0022 :PLACE_PARAM "my box" 4 subworld4 SQUARE RM0 3 3 100.*sqrt(3.) 100.*sqrt(2.) 0. 0. 1. 1. 0.  -1. 1. 0. 
0023 
0024 :VOLU small_box BOX 10. 10. 10. G4_AIR
0025 :PLACE small_box 1 "my box" RM0 0. 0. 0. 
0026 :PLACE small_box 2 "my box" RM0 10. 0. 0. 
0027 :COLOUR small_box 1. 0. 0.
0028 
0029 :VIS world OFF
0030 :VIS subworld1 OFF
0031 :VIS subworld2 OFF
0032 :VIS subworld3 OFF
0033 :VIS subworld4 OFF