From 71268173cc5cc18e930aa5a63efb829cfcb49ff1 Mon Sep 17 00:00:00 2001 From: Cristina Date: Thu, 14 Jan 2021 16:30:30 -0600 Subject: [PATCH] fix --- bs_select.py | 2 +- condor/run_bstar.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bs_select.py b/bs_select.py index 73f350e..86bce05 100644 --- a/bs_select.py +++ b/bs_select.py @@ -75,7 +75,7 @@ def run(args): # Determine normalization weight if not a.isData: - norm = (xsec*lumi)/config['NEVENTS'][args.year][setname.split('_')[0]] + norm = (xsec*lumi)/config['NEVENTS'][args.year]['_'.join(setname.split('_')[:-1])] else: norm = 1. diff --git a/condor/run_bstar.sh b/condor/run_bstar.sh index 5aef559..273f499 100644 --- a/condor/run_bstar.sh +++ b/condor/run_bstar.sh @@ -23,4 +23,4 @@ cd ../BstarToTW_CMSDAS2021 echo python bs_select.py $* python bs_select.py $* -xrdcp Presel_*.root root://cmseos.fnal.gov//store/user/$USER/bstar_select_tau21/ +xrdcp Presel_*.root root://cmseos.fnal.gov//store/user/cmantill/bstar_select_tau21_18/