QwGeant4
myLightWeightScan_MagRot90deg_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_Mag90.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 #rotate a magnetic field
26 #/MagneticField/SetRotation 90.0 degree
27 
28 /EventGen/SelectReactionRegion 1
29 /EventGen/SelectReactionType 1
30 
31 /Trigger/Disable all
32 /Trigger/Enable cer
33 /Trigger/Show
34 
35 #choose name out outpted rootfile
36 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root
37 
38 /run/beamOn %nevents%
39