1 #Programmer: Valerie Gray
2 #Purpose: The macro file for the MD9 background study
9 /control/execute myQweakConfiguration.mac
10 /control/execute macros/peiqing_2011.mac
12 #set the randomness of the rootfile
13 /random/setSavingFlag 0
14 /random/setDirectoryName random/%name%_%jobid%
15 /random/setSeeds %seedA% %seedB%
18 /TrackingAction/TrackingFlag 3
20 #choose what reaction type and region we want
21 /EventGen/SelectReactionRegion 1
22 /EventGen/SelectReactionType 1
28 #set an alias for the octant that will be active in the simultaion
30 #/control/alias oct %octant%
32 #set the standard positions on MD9
33 /Cerenkov/Cerenkov9/SetCenterPositionInX -72.86 cm
34 /Cerenkov/Cerenkov9/SetCenterPositionInY 368.84 cm
35 /Cerenkov/Cerenkov9/SetCenterPositionInZ 736.86 cm
37 #change the position of MD9 in one axis
38 /Cerenkov/Cerenkov9/SetCenterPositionIn%axis% %position% cm
40 #set the rootfile name
41 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root
43 #number of events simulated