QwGeant4
MD9_Run2.in
Go to the documentation of this file.
1 #Programmer: Valerie Gray
2 #Purpose: The macro file for the MD9 background study
3 #
4 #Date: 11-22-2012
5 #Modified:
6 #Assisted By:
7 #
8 
9 /control/execute myQweakConfiguration_run2.mac
10 
11 #set the randomness of the rootfile
12 /random/setSavingFlag 0
13 /random/setDirectoryName random/%name%_%jobid%
14 /random/setSeeds %seedA% %seedB%
15 
16 #tracke everything
17 /TrackingAction/TrackingFlag 3
18 
19 #choose what reaction type and region we want
20 /EventGen/SelectReactionRegion 1
21 /EventGen/SelectReactionType 1
22 
23 /Trigger/Disable all
24 /Trigger/Enable cer
25 /Trigger/Show
26 
27 #set an alias for the octant that will be active in the simultaion
28 #hehe - don't use
29 #/control/alias oct %octant%
30 
31 #set the standard positions on MD9
32 /Cerenkov/Cerenkov9/SetCenterPositionInX -72.86 cm
33 /Cerenkov/Cerenkov9/SetCenterPositionInY 368.84 cm
34 /Cerenkov/Cerenkov9/SetCenterPositionInZ 736.86 cm
35 
36 #change the position of MD9 in one axis
37 /Cerenkov/Cerenkov9/SetCenterPositionIn%axis% %position% cm
38 
39 #set the rootfile name
40 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root
41 
42 #number of events simulated
43 /run/beamOn %nevents%
44