forked from BristolTopGroup/AnalysisSoftware
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstartTest.sh
More file actions
executable file
·24 lines (20 loc) · 779 Bytes
/
startTest.sh
File metadata and controls
executable file
·24 lines (20 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#setup the machine you are using
machine="soolin"
exe=BAT
toolsFolder=BristolAnalysis/Tools/
#private machine
machine="stardust"
if [ ${machine} == "stardust" ]
then
toolsFolder=/storage/Workspace/Analysis/AnalysisSoftware/
exe=${toolsFolder}Release/AnalysisSoftware
TQAFPath="--TQAFPath=../"
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/storage/Workspace/Analysis/TopQuarkAnalysis/Release
fi
MAX_EVENTS=5000
export toolsFolder=${toolsFolder}
export exe=${exe}
export TQAFPath=${TQAFPath}
sample="ElectronHad" analysisMode="Test" nohup ${exe} ${toolsFolder}python/master_cfg.py ${TQAFPath} --maxEvents=${MAX_EVENTS} &> test_data.log &
#sample="TTJet" analysisMode="Test" nohup ${exe} ${toolsFolder}python/master_cfg.py ${TQAFPath} --maxEvents=${MAX_EVENTS} &> test_mc.log &