2 #Purpose: The macro file for the Qtor Scan study
8 /control/execute myQweakConfiguration.mac
9 #/control/execute macros/peiqing_2011.mac
10 #/control/execute macros/noTracking.mac
12 /random/setSavingFlag 1
13 /random/setDirectoryName random/%name%_%jobid%
14 /random/setSeeds %seedA% %seedB%
17 /TrackingAction/TrackingFlag 3
19 #set generation limits
20 /EventGen/SetBeamEnergy 3.35 GeV
21 /EventGen/SetThetaMin 5.5 degree
22 /EventGen/SetThetaMax 12 degree
23 /EventGen/SetEPrimeMin %eprime_min% MeV
24 /EventGen/SetEPrimeMax %eprime_max% MeV
26 #set reaction region and type
27 /EventGen/SelectReactionRegion 1
28 /EventGen/SelectReactionType 7
29 /EventGen/SelectOctant 7
31 /Trigger/PrintHits
false
37 /MagneticField/SetActualCurrent %current%
39 #set the rootfile name
40 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root