ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/run.sh
Revision: 1.1
Committed: Thu Sep 22 18:04:34 2011 UTC (13 years, 7 months ago) by dkralph
Content type: application/x-sh
Branch: MAIN
CVS Tags: synced_FSR_2, synced_FSR, synched2, synched, AN490
Log Message:
command line example in run.sh

File Contents

# Content
1 #
2 # kinematics: "tight" is ele pt > 7, mZ2 > 20; "loose" is ele pt > 5, mZ2 > 12
3 # lik_cut: "default" is the WW working point. "loose" and "veryloose" are arbitrarily loosening them by subtracting a constant from the cut values
4 #
5 pref=
6 if [[ $1 == "1" ]]; then
7 ./Selection/bin/applySelection.exe --inputfile ./data/datafiles-higgs200.txt --mc --kinematics tight --lik_cut veryloose
8 # ./Selection/bin/applySelection.exe --inputfile ./data/datafiles-higgs200.txt --output root/${pref}higgs200-cic.root --mc --cic &> /tmp/signalout-cic &
9 # ./Selection/bin/applySelection.exe --inputfile ./data/datafiles-higgs200.txt --output root/${pref}higgs200-lik.root --mc &> /tmp/signalout-lik &
10 # ./Selection/bin/applySelection.exe --inputfile ./data/datafiles-ZZ-pythia.txt --output root/${pref}zz-pythia-cic.root --mc --cic &> /tmp/zz-pythia-cic &
11 # ./Selection/bin/applySelection.exe --inputfile ./data/datafiles-ZZ-pythia.txt --output root/${pref}zz-pythia-lik.root --mc &> /tmp/zz-pythia-lik &
12 else
13 root -b -l -q macros/failTable.C\(\"tmp.root\"\)
14 #echo " s b s/b s/sqrt(b)"
15 #for pref in pt5- pt5-mz12- pt5-mz12-nexp-partner- pt5-mz12-isconv-; do
16 # cicsig=`root -b -l -q macros/failTable.C\(\"root/${pref}higgs200-cic.root\"\) | grep 'kine' | awk -F: '{print $2}'`
17 # liksig=`root -b -l -q macros/failTable.C\(\"root/${pref}higgs200-lik.root\"\) | grep 'kine' | awk -F: '{print $2}'`
18 # cicbkg=`root -b -l -q macros/failTable.C\(\"root/${pref}zz-pythia-cic.root\"\) | grep 'kine' | awk -F: '{print $2}'`
19 # likbkg=`root -b -l -q macros/failTable.C\(\"root/${pref}zz-pythia-lik.root\"\) | grep 'kine' | awk -F: '{print $2}'`
20 #
21 # echo "$pref: " | sed 's/-/ /g'
22 # echo -ne "CiC: $cicsig $cicbkg "` echo "$cicsig / $cicbkg" | bc -l`" "` echo "$cicsig / sqrt($cicbkg)" | bc -l`"\n" | sed 's/\.\([0-9][0-9][0-9]\)[0-9][0-9]*/.\1/g'
23 # echo -ne "Lik: $liksig $likbkg "` echo "$liksig / $likbkg" | bc -l`" "` echo "$liksig / sqrt($likbkg)" | bc -l`"\n" | sed 's/\.\([0-9][0-9][0-9]\)[0-9][0-9]*/.\1/g'
24 #done
25 fi
26