Skip to content

Commit 61a2d6a

Browse files
Merge pull request cms-analysis#16 from raeubaen/vbfac-dev
fixed bug in run_sequence
2 parents 44fcb31 + 0c6aacf commit 61a2d6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Signal/run_sequence.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
YEAR=-753
4-
STEP=0
3+
YEAR=all
4+
STEP=calcPhotonSyst
55

66
usage(){
77
echo "The script runs background scripts:"
@@ -61,7 +61,7 @@ if [[ $STEP == "fTest" ]] || [[ $STEP == "calcPhotonSyst" ]] || [[ $STEP == 'sig
6161
fi
6262
done
6363
elif [[ $STEP == 'packager' ]]; then
64-
python RunPackager.py --cats "auto" --inputWSDir cards/signal_2016preVFP --outputExt packaged --exts 2023-02-13_year2016preVFP,2023-02-13_year2016postVFP,2023-02-13_year2017,2023-02-13_year2018 --mergeYears --batch Rome --queue cmsan ${DROPT}
64+
python RunPackager.py --cats "auto" --inputWSDir /pnfs/roma1.infn.it/data/cms/store/user/emanuele/vbfhgg/WS_2023_02_13/signal_2016preVFP/ --outputExt packaged --exts 2023-02-13_year2016preVFP,2023-02-13_year2016postVFP,2023-02-13_year2017,2023-02-13_year2018 --mergeYears --batch Rome --queue cmsan ${DROPT}
6565
elif [[ $STEP == 'plotter' ]]; then
6666
smprocs=("GG2H" "VBF" "TTH" "WMINUSH2HQQ" "WPLUSH2HQQ" "QQ2HLL")
6767
smprocs_csv=$(IFS=, ; echo "${smprocs[*]}")
@@ -74,7 +74,7 @@ elif [[ $STEP == 'plotter' ]]; then
7474
for cat in ${significantCats[*]}
7575
do
7676
echo "=> Now plotting all processes together for cat: $cat"
77-
python RunPlotter.py --procs $smprocs_csv --cats cat --year 2016preVFP,2016postVFP,2017,2018 --outdir plots --ext packaged --outdir plots --translateCats ../Plots/cats.json
77+
python RunPlotter.py --procs $smprocs_csv --cats $cat --year 2016preVFP,2016postVFP,2017,2018 --outdir plots --ext packaged --outdir plots --translateCats ../Plots/cats.json
7878
done
7979
# split by process, all the categories together (the SM + some alternatives)
8080
for proc in ${smprocs[*]}

0 commit comments

Comments
 (0)