1 #Programmer: Valerie Gray
2 #Purpose: The macro file for the LightWeight study on LH2
9 /control/execute myQweakConfiguration_Mag45.mac
10 #/control/execute macros/peiqing_2011.mac
11 /control/execute macros/noTracking.mac
13 /Target/SetCenterPositionInZ -652.67 cm
14 /EventGen/SetBeamEnergy 1159.65 MeV
15 /MagneticField/SetActualCurrent 8920.10 A
17 /Cerenkov/SetNumberOfDetectors 8
19 /random/setSavingFlag 0
20 /random/setDirectoryName random/%name%_%jobid%
21 /random/setSeeds %seedA% %seedB%
23 /TrackingAction/TrackingFlag 3
25 #rotate a magnetic field
26 #/MagneticField/SetRotation 45.0 degree
28 #select the reaction type and region
29 /EventGen/SelectReactionRegion 1
30 /EventGen/SelectReactionType 1
36 #choose name out outpted rootfile
37 /Analysis/RootFileName rootfiles/%name%_%jobid%_workdir/%name%_%jobid%.root