Skip to content
Snippets Groups Projects
run1.mac 897 B
Newer Older
Chad Lantz's avatar
Chad Lantz committed
#
# To be run preferably in batch, without graphics:

# Initialize kernel
/run/initialize


/control/verbose 0
/run/verbose 0
/run/printProgress 0
/tracking/verbose 0
/run/particle/verbose 0
/hits/verbose 0
Chad Lantz's avatar
Chad Lantz committed


#Lightguide selection and properties can be set with geom.mac
/control/execute geom.mac
Chad Lantz's avatar
Chad Lantz committed

Chad Lantz's avatar
Chad Lantz committed

##############################################################
##############################################################
#Uncomment to generate events from ASCII file, set the file path here.
Chad Lantz's avatar
Chad Lantz committed
#make sure /run/beamOn is commented out below
/Input/FileName Out_target1.txt

#Uncomment to use gps style of setting the beam profile
#/control/execute beam.mac
#set number of photons per event
#/gps/number 10
Chad Lantz's avatar
Chad Lantz committed
# number of events
Chad Lantz's avatar
Chad Lantz committed
##############################################################
##############################################################