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
25 /PrimaryEvent/SetParticleType pi-
27 #set reaction region and type
28 /EventGen/SelectReactionRegion 1
29 /EventGen/SelectReactionType 88
30 /EventGen/SelectOctant 7
33 #/PionWall/SetThicknessInZ 5.08 cm
35 /Trigger/PrintHits
false
41 /MagneticField/SetActualCurrent %current%
43 #set the rootfile name
44 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root