QwGeant4
myLightWeightScan_noDC_noMD9.in
Go to the documentation of this file.
1 #Programmer: Valerie Gray
2 #Purpose: The macro file for the LightWeight study on LH2
3 #
4 #Date: 11-22-2012
5 #Modified: 1-25-2013
6 #Assisted By:
7 #
8 
9 /control/execute myQweakConfiguration.mac
10 /control/execute macros/peiqing_2011.mac
11 /control/execute macros/noTracking.mac
12 
13 /Target/SetCenterPositionInZ -652.67 cm
14 /EventGen/SetBeamEnergy 1159.65 MeV
15 /MagneticField/SetActualCurrent 8920.10 A
16 
17 /Cerenkov/SetNumberOfDetectors 8
18 
19 /random/setSavingFlag 0
20 /random/setDirectoryName random/%name%_%jobid%
21 /random/setSeeds %seedA% %seedB%
22 
23 /TrackingAction/TrackingFlag 3
24 
25 #set reaction region and type
26 /EventGen/SelectReactionRegion 1
27 /EventGen/SelectReactionType 1
28 
29 /Trigger/Disable all
30 /Trigger/Enable cer
31 /Trigger/Show
32 
33 #set the rootfile name
34 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root
35 
36 #number of events
37 /run/beamOn %nevents%
38