QwGeant4
myLightWeightScan_MagRot45deg_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_Mag45.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 45.0 degree
27 
28 #select the reaction type and region
29 /EventGen/SelectReactionRegion 1
30 /EventGen/SelectReactionType 1
31 
32 /Trigger/Disable all
33 /Trigger/Enable cer
34 /Trigger/Show
35 
36 #choose name out outpted rootfile
37 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root
38 
39 /run/beamOn %nevents%
40