QwGeant4
macros/my3passHighStatPionWall4_v2.in
Go to the documentation of this file.
1 #Programmer:
2 #Purpose: The macro file for the Qtor Scan study
3 #
4 #Date: 11-22-2012
5 #Modified: James Dowd
6 #Assisted By:
7 #
8 /control/execute myQweakConfiguration.mac
9 #/control/execute macros/peiqing_2011.mac
10 #/control/execute macros/noTracking.mac
11 
12 /random/setSavingFlag 1
13 /random/setDirectoryName random/%name%_%jobid%
14 /random/setSeeds %seedA% %seedB%
15 
16 #track everything
17 /TrackingAction/TrackingFlag 3
18 
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-
26 
27 #set reaction region and type
28 /EventGen/SelectReactionRegion 1
29 /EventGen/SelectReactionType 88
30 /EventGen/SelectOctant 7
31 
32 #/PionWall/Enable
33 #/PionWall/SetThicknessInZ 5.08 cm
34 
35 /Trigger/PrintHits false
36 /Trigger/Disable cer
37 /Trigger/Enable all
38 /Trigger/Show
39 
40 #set QTOR current
41 /MagneticField/SetActualCurrent %current%
42 
43 #set the rootfile name
44 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root
45 
46 /PionWall/Enable
47 
48 #number of events
49 /run/beamOn %nevents%
50