~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/map/MapPyBeamlineSimulation/G4bl/run_batch.sh

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
WRKDIR=/afs/phas.gla.ac.uk/user/j/jnugent/private/PhD_Year_1/Coding/MAUS/maus/src/map/MapPyBeamlineSimulation/G4bl
 
4
 
 
5
echo WORKING DIRECTORY: $WRKDIR  
 
6
 
 
7
source /afs/phas.gla.ac.uk/user/j/jnugent/private/PhD_Year_1/Coding/G4beamline/G4beamline-2.12/bin/g4bl-setup.sh
 
8
 
 
9
VERS=v1.0
 
10
 
 
11
Ppi=480
 
12
Pmu=238.0
 
13
q1=1.232291
 
14
q2=-1.539583
 
15
q3=1.070833
 
16
d1=-1.492140
 
17
ds=133.72
 
18
d2=-0.46
 
19
q4=1.0557
 
20
q5=-1.41565
 
21
q6=0.93898
 
22
q7=0.9453
 
23
q8=-1.4306
 
24
q9=1.22245
 
25
KinCut=5
 
26
RANSE=$RANDOM
 
27
# exceptional number of protons
 
28
# 5E10
 
29
###Protons=1E13
 
30
protonNumber=1E12
 
31
#protonWeight=1
 
32
momentumCut=50
 
33
 
 
34
OUTDIR=/afs/phas.gla.ac.uk/user/j/jnugent/private/PhD_Year_1/Coding/MAUS/maus/src/map/MapPyBeamlineSimulation/G4bl/output
 
35
mkdir $OUTDIR
 
36
cd $OUTDIR
 
37
 
 
38
INFILE='MAY09-B1B2-positives-param.in'
 
39
 
 
40
#g4bl $WRKDIR/$INFILE Ppi=$Ppi Pmu=$Pmu momentumCut=$momentumCut kineticEnergyCut=$KinCut RANSE=$RANSE steppingVerbose=0 WRKDIR=$WRKDIR
 
41
 
 
42
g4bl $WRKDIR/$INFILE  Ppi=$Ppi Pmu=$Pmu q1=$q1 q2=$q2 q3=$q3 d1=$d1 ds=$ds d2=$d2 q4=$q4 q5=$q5 q6=$q6 q7=$q7 q8=$q8 q9=$q9 momentumCut=$momentumCut kineticEnergyCut=$KinCut RANSE=$RANSE steppingVerbose=0 WRKDIR=$WRKDIR protonNumber=$protonNumber #viewer=best 
 
43