QwGeant4
MD9.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.mac
10 /control/execute macros/peiqing_2011.mac
11 
12 #set the randomness of the rootfile
13 /random/setSavingFlag 0
14 /random/setDirectoryName random/%name%_%jobid%
15 /random/setSeeds %seedA% %seedB%
16 
17 #tracke everything
18 /TrackingAction/TrackingFlag 3
19 
20 #choose what reaction type and region we want
21 /EventGen/SelectReactionRegion 1
22 /EventGen/SelectReactionType 1
23 
24 /Trigger/Disable all
25 /Trigger/Enable cer
26 /Trigger/Show
27 
28 #set an alias for the octant that will be active in the simultaion
29 #hehe - don't use
30 #/control/alias oct %octant%
31 
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
36 
37 #change the position of MD9 in one axis
38 /Cerenkov/Cerenkov9/SetCenterPositionIn%axis% %position% cm
39 
40 #set the rootfile name
41 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root
42 
43 #number of events simulated
44 /run/beamOn %nevents%
45