1 #Programmer: Valerie Gray
2 #Purpose: The macro file for the MD9 background study
9 /control/execute myQweakConfiguration_run1.mac
11 #set the randomness of the rootfile
12 /random/setSavingFlag 0
13 /random/setDirectoryName random/%name%_%jobid%
14 /random/setSeeds %seedA% %seedB%
17 /TrackingAction/TrackingFlag 3
19 #choose what reaction type and region we want
20 /EventGen/SelectReactionRegion 1
21 /EventGen/SelectReactionType 1
27 #set an alias for the octant that will be active in the simultaion
29 #/control/alias oct %octant%
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
36 #change the position of MD9 in one axis
37 /Cerenkov/Cerenkov9/SetCenterPositionIn%axis% %position% cm
39 #set the rootfile name
40 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root
42 #number of events simulated