Commit 53fee4ad authored by Chad Lantz's avatar Chad Lantz
Browse files

Set configuration to a running state

parent a4548241
......@@ -24,7 +24,7 @@
#/Detector/ZDC/SetCurrent 1
/Detector/ZDC/Duplicate 1
/Detector/ZDC/Position 0. 0. 153/2. mm
/Detector/ZDC/Position 0. 0. 160. mm
/Detector/RPD/Add
/Detector/RPD/Position 0. 0. 250. mm
......
# Macro file for JZCaPA beam test 2018
#
#
# To be run preferably in batch, without graphics:
#
#
# 31 TeV Pb ion
# Initialize kernel
......@@ -15,8 +15,8 @@
#/gps/particle ion
/gps/ion 82 208 0 0.0
/gps/energy 31.2 TeV
#/gps/ion 82 208 0 0.0
#/gps/energy 31.2 TeV
# using alphas is useful if you would like to visualize the tracks (Pb ions require much more computing time)
#/gps/particle ion
......@@ -24,18 +24,18 @@
#/gps/energy 600 GeV
#/gps/particle proton
#/gps/particle neutron
/gps/particle neutron
# the beam energy is in gaussian profile
#/gps/ene/type Gauss
#/gps/ene/mono 150 GeV
#/gps/ene/sigma 1 MeV
/gps/ene/type Gauss
/gps/ene/mono 150 GeV
/gps/ene/sigma 1 MeV
# General particle source
# General particle source
/gps/pos/type Beam
/gps/pos/shape Circle
/gps/pos/centre 0. 0. -15999. mm
/gps/pos/centre 0. 0. -150. mm
/gps/pos/radius 1. mm
/gps/pos/sigma_r 2. mm
......@@ -46,13 +46,13 @@
/gps/pos/rot2 0 1 0
#
#
# the beam is travelling along the z-axis
# the beam is travelling along the z-axis
/gps/ang/rot1 0 1 0
/gps/ang/rot2 1 0 0
/gps/ang/type beam1d
# the beam angular dispersion
/gps/ang/sigma_r 0.00 deg
# 1.0milliradians = 0.057 deg
/gps/ang/rot2 1 0 0
/gps/ang/type beam1d
# the beam angular dispersion
/gps/ang/sigma_r 0.00 deg
# 1.0milliradians = 0.057 deg
#
#if using these commands in interactive mode to visualize, use this to allow more events to be displayed (do not use in batch mode)
......@@ -63,4 +63,4 @@
# number of events
/run/beamOn 2
##############################################################
##############################################################
\ No newline at end of file
##############################################################
......@@ -140,7 +140,7 @@ int main(int argc,char** argv)
G4UImanager* UImanager = G4UImanager::GetUIpointer();
//Set the output file name
G4String command = "/Analysis/setFileName ";
G4String command = "/analysis/setFileName ";
UImanager->ApplyCommand(command+output);
// Process macro or start UI session
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment