40 lines
962 B
Plaintext
40 lines
962 B
Plaintext
#
|
|
# Macro file for "TestEm16.cc"
|
|
# (can be run in batch, without graphic)
|
|
#
|
|
#
|
|
/control/verbose 2
|
|
/run/verbose 2
|
|
#
|
|
/testem/det/setMat Vacuum
|
|
#
|
|
/run/initialize
|
|
#
|
|
# /process/activate SynchrotronRadiation
|
|
#
|
|
# inactivate other processes to make SynchrotronRadiation more visible
|
|
/process/inactivate msc
|
|
/process/inactivate eIoni
|
|
/process/inactivate eBrem
|
|
/process/inactivate annihil
|
|
/process/inactivate phot
|
|
/process/inactivate compt
|
|
/process/inactivate conv
|
|
/process/inactivate Rayl
|
|
#
|
|
/globalField/setValue 0 0 1 tesla
|
|
#
|
|
/gun/particle e-
|
|
/gun/energy 9.9994890009 GeV
|
|
#
|
|
# set up histos. A reasonable choice for the upper limits is about 5*Ecr and 10*MeanFreePath
|
|
/analysis/setFileName run01
|
|
/analysis/h1/set 1 100 0 400 keV #SynRad Energy
|
|
/analysis/h1/set 2 100 0 400 keV #SynRad Power
|
|
/analysis/h1/set 3 100 0 1.6 m #Path Length
|
|
#
|
|
# next would be 30 degree angle sin 30deg = 0.5 cos 30 deg = 0.866025403
|
|
#/gun/direction 0.5 0 0.866025403
|
|
#
|
|
/run/beamOn 1000
|