Warning, /geant4/examples/extended/exoticphysics/channeling/ch5/macros/beam.mac is written in an unsupported language. File is not indexed.
0001 #Set of GPS commands that can be used to define a beam impinging on
0002 #the crystal (provided that /gun/UseGPS true).
0003 #this macro can be also called from a dedicated menu of the GUI.
0004
0005 #beam
0006 /gps/particle e-
0007 #coordinate distribution
0008 /gps/pos/centre 0 0 -30 mm
0009 /gps/pos/type Beam
0010 /gps/pos/sigma_x 1.0 mm
0011 /gps/pos/sigma_y 1.0 mm
0012 #angular distribution
0013 /gps/ang/type beam2d
0014 /gps/ang/rot1 1 0 0
0015 /gps/ang/rot2 0 -1 0
0016 /gps/ang/sigma_x 1.E-6 rad
0017 /gps/ang/sigma_y 1.E-6 rad
0018 #energy distribution
0019 /gps/ene/mono 2.86 GeV