Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/runAndEvent/RE02/run2.mac is written in an unsupported language. File is not indexed.

0001 #
0002 # Macro file for "exampleRE02.cc"
0003 # 
0004 # can be run in batch, without graphic
0005 # or interactively: Idle> /control/execute run2.mac
0006 #
0007 /control/verbose 2
0008 /run/verbose 2
0009 #/event/verbose 0
0010 #/tracking/verbose 1
0011 # 
0012 ## Open a viewer
0013 #/vis/open
0014 ## This opens the default viewer - see examples/basic/B1/vis.mac for a
0015 ## more comprehensive overview of options. Also the documentation.
0016 #
0017 # viewer settings
0018 #/vis/viewer/set/viewpointThetaPhi 90 180 deg
0019 #/vis/viewer/zoom 1.4
0020 #
0021 # Store trajectory
0022 #/tracking/storeTrajectory 1
0023 #/vis/scene/add/trajectories
0024 #/vis/scene/endOfEventAction accumulate
0025 #
0026 #
0027 #  Beam Parameters
0028 #  for carbon ion.
0029 #   UIcommands from G4ParticleGun.
0030 # 
0031 /gun/particle ion
0032 /gun/ion 6 12  
0033 #
0034 # Kinetic Energy.
0035 # 195.MeV/u * 12(AtomicMass) = 2340. MeV
0036 #
0037 /gun/energy 2340. MeV
0038 #
0039 /gun/position 0 0 -100 cm
0040 /gun/direction 0 0 1
0041 #  
0042 /run/beamOn 10000
0043 #