Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VBF: Update setup to UL #354

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
dfd2337
Update XY corrections to UL
alpakpinar Jun 19, 2021
3dd01d6
Update MET trigger SF to UL, add HF mask scale factors for VBF and HF…
alpakpinar Jun 19, 2021
a117e73
Update VBF config to UL: Lepton/photon SF, b-tag. Add ROOT file for H…
alpakpinar Jun 19, 2021
6ad188c
Update VBF processor: Implement HF cuts, fill histograms of HF variables
alpakpinar Jun 19, 2021
f6fc836
Fixups, comment out EOY selections as we run out of possible selectio…
alpakpinar Jun 19, 2021
3526ff8
Point to the new UL skim
alpakpinar Jun 19, 2021
4e9827b
Revert: Point to 03Sep20v7 for submission and run_quick
alpakpinar Jun 19, 2021
99e615d
Updates on VBF limit script: Use dipole recoil VBF by default with UL
alpakpinar Jun 19, 2021
4575158
Update photon trigger SF to UL
alpakpinar Jun 19, 2021
f1cc3c6
Fixup in muon and electron weights
alpakpinar Jun 19, 2021
d90248d
Implement GEN checking on electrons and muons
alpakpinar Jun 21, 2021
e0e5a8c
Fixup in lepton weights + GEN-check
alpakpinar Jun 21, 2021
a19d39c
Include QCD W templates in Z CRs
alpakpinar Jun 21, 2021
2b1bcd5
Fixup MET filters
alpakpinar Jun 21, 2021
87598aa
UL update in dataset naming
alpakpinar Jun 22, 2021
758f440
Fixup in muon veto weight calculation
alpakpinar Jun 22, 2021
eb0a359
Update run_quick.py: UL testing samples for VBF
alpakpinar Jun 22, 2021
c70c774
Fixup: No GEN check in monojet
alpakpinar Jun 22, 2021
5e557de
Cleanup
alpakpinar Jun 22, 2021
3978b05
Fixup in muon weights
alpakpinar Jun 22, 2021
517c5e4
Update 1/5th unblinding mask, EWK corr to signal
alpakpinar Jun 22, 2021
dd847a9
Add XS for new samples
alpakpinar Jun 23, 2021
544098f
Use unsmeared jet pt while calculating b-veto weights
alpakpinar Jun 24, 2021
f6b3b39
Fixup: Remove the second loose ID filtering for jets
alpakpinar Jun 24, 2021
8d0bcc2
VBF: Update EWK correction to latest
alpakpinar Jun 25, 2021
35175f3
Electron ID and RECO SF variations
alpakpinar Jun 28, 2021
dec5672
Muon ID and ISO SF with variations
alpakpinar Jun 28, 2021
0d7c6ea
Update electron trigger SF + variations
alpakpinar Jul 1, 2021
ea85d2e
Cleanup, add ttH to the limit input file SR
alpakpinar Jul 1, 2021
6a893d0
Add ttH XS
alpakpinar Jul 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bucoffea/config/monojet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ default:

run:
sync: False
ulegacyv8: False
save:
passing: False
prescale: 1
Expand Down
168 changes: 105 additions & 63 deletions bucoffea/config/vbfhinv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ default:
pt : 10
eta : 2.4
iso : 0.25
gencheck: True
electron:
cuts:
tight:
Expand All @@ -90,6 +91,7 @@ default:
endcap: 0.20
branch:
id: Electron_cutBased
gencheck: True
btag:
pt: 20
eta: 2.5
Expand Down Expand Up @@ -220,6 +222,17 @@ default:

run:
sync: False
ulegacyv8: True
one_fifth_unblind: False
qcd_estimation: True
rebsmear_check: False
apply_cleaning_cuts: False
regionregex: .*
apply_hf_cuts: True
hf_pt_thresh: 80
apply_weights:
hfmask: False
endcap: False
save:
passing: False
tree: False
Expand All @@ -234,7 +247,11 @@ default:
- 51393664
trigger_study: False
btag_study: False
prefire_study: False
hemcheck: False
hfstudy_v2: False
apply_categorized_sf: True
apply_ewk_corr_to_signal: False
triggers:
ht:
gammaeff:
Expand Down Expand Up @@ -312,17 +329,17 @@ era2016:
file: data/sf/egamma/CSEV_ScaleFactors_2017.root

muon_id_loose:
histogram: NUM_LooseID_DEN_genTracks_pt_abseta
file: data/sf/muon/2017_RunBCDEF_SF_ID.root
histogram: NUM_LooseID_DEN_TrackerMuons_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2017_UL_ID.root
muon_id_tight:
histogram: NUM_TightID_DEN_genTracks_pt_abseta
file: data/sf/muon/2017_RunBCDEF_SF_ID.root
histogram: NUM_TightID_DEN_TrackerMuons_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2017_UL_ID.root
muon_iso_tight:
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_pt_abseta
file: data/sf/muon/2017_RunBCDEF_SF_ISO.root
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2017_UL_ISO.root
muon_iso_loose:
histogram: NUM_LooseRelIso_DEN_LooseID_pt_abseta
file: data/sf/muon/2017_RunBCDEF_SF_ISO.root
histogram: NUM_LooseRelIso_DEN_LooseID_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2017_UL_ISO.root
tau_id:
histogram: tau_sf_VLoose_2016_cent
file: data/sf/tau/tau_sf.root
Expand Down Expand Up @@ -400,15 +417,15 @@ era2017:
- Flag_EcalDeadCellTriggerPrimitiveFilter
- Flag_BadPFMuonFilter
- Flag_eeBadScFilter
- Flag_ecalBadCalibFilterV2
- Flag_ecalBadCalibFilter
mc:
- Flag_goodVertices
- Flag_globalSuperTightHalo2016Filter
- Flag_HBHENoiseFilter
- Flag_HBHENoiseIsoFilter
- Flag_EcalDeadCellTriggerPrimitiveFilter
- Flag_BadPFMuonFilter
- Flag_ecalBadCalibFilterV2
- Flag_ecalBadCalibFilter

btag:
algo: deepcsv
Expand All @@ -419,33 +436,33 @@ era2017:
medium : 0.8838
tight : 0.9693
deepcsv: # https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation94X
loose : 0.1522
medium: 0.4941
tight: 0.8001
loose : 0.1355
medium: 0.4506
tight: 0.7738
sf:
deepcsv:
file: data/sf/btag/DeepCSV_94XSF_WP_V4_B_F.csv
file: data/sf/btag/DeepCSV_106XUL17SF.csv
ele_reco:
histogram: EGamma_SF2D
file: data/sf/egamma/2017_egammaEffi_txt_EGM2D_runBCDEF_passingRECO.root
file: data/sf/egamma/ul/egammaEffi_ptAbove20_txt_EGM2D_UL2017.root

ele_reco_pt_lt_20:
histogram: EGamma_SF2D
file: data/sf/egamma/2017_egammaEffi_txt_EGM2D_runBCDEF_passingRECO_lowEt.root
file: data/sf/egamma/ul/egammaEffi_ptBelow20_txt_EGM2D_UL2017.root

ele_id_loose:
histogram: EGamma_SF2D
file: data/sf/egamma/2017_ElectronWPVeto_Fall17V2_BU.root
file: data/sf/egamma/ul/egammaEffi_txt_EGM2D_Veto_UL17.root

ele_id_tight:
histogram: EGamma_SF2D
file: data/sf/egamma/2017_ElectronTight_Fall17V2_BU.root
file: data/sf/egamma/ul/egammaEffi_txt_EGM2D_Tight_UL17.root

photon:
usetnp: True
usetnp: False
photon_id_tight:
histogram: EGamma_SF2D
file: data/sf/egamma/2017_PhotonsMedium_capped.root
file: data/sf/egamma/ul/egammaEffi_txt_EGM2D_PHO_Tight_UL17.root
photon_id_tight_tnp:
histogram: photon_medium_id_sf_2017
file: data/sf/egamma/photon_medium_id_sf_v0.root
Expand All @@ -457,17 +474,17 @@ era2017:
file: data/sf/egamma/CSEV_ScaleFactors_2017.root

muon_id_loose:
histogram: NUM_LooseID_DEN_genTracks_pt_abseta
file: data/sf/muon/2017_RunBCDEF_SF_ID.root
histogram: NUM_LooseID_DEN_TrackerMuons_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2017_UL_ID.root
muon_id_tight:
histogram: NUM_TightID_DEN_genTracks_pt_abseta
file: data/sf/muon/2017_RunBCDEF_SF_ID.root
histogram: NUM_TightID_DEN_TrackerMuons_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2017_UL_ID.root
muon_iso_tight:
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_pt_abseta
file: data/sf/muon/2017_RunBCDEF_SF_ISO.root
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2017_UL_ISO.root
muon_iso_loose:
histogram: NUM_LooseRelIso_DEN_LooseID_pt_abseta
file: data/sf/muon/2017_RunBCDEF_SF_ISO.root
histogram: NUM_LooseRelIso_DEN_LooseID_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2017_UL_ISO.root
tau_id:
histogram: tau_sf_2017_central
file: data/sf/tau/tau_sf_deepTau.root
Expand Down Expand Up @@ -508,6 +525,16 @@ era2017:
histogram: sf_neg_endcap_2017
file: data/sf/ak4/jet_id_sf_for_endcaps.root

hf_mask_efficiency_mc:
histogram: Efficiency_Data_2017
file: data/sf/hfmask/EffcySFandNoisePassRate.root
hf_mask_noise_passing_rate:
histogram: NoisePassingRate_2017
file: data/sf/hfmask/EffcySFandNoisePassRate.root
hf_cuts_sf:
histogram: EfficiencySF_2017
file: data/sf/hfmask/EffcySFandNoisePassRate.root

era2018:
triggers:
met:
Expand All @@ -534,45 +561,49 @@ era2018:
- Flag_EcalDeadCellTriggerPrimitiveFilter
- Flag_BadPFMuonFilter
- Flag_eeBadScFilter
- Flag_ecalBadCalibFilterV2
- Flag_ecalBadCalibFilter
mc:
- Flag_goodVertices
- Flag_globalSuperTightHalo2016Filter
- Flag_HBHENoiseFilter
- Flag_HBHENoiseIsoFilter
- Flag_EcalDeadCellTriggerPrimitiveFilter
- Flag_BadPFMuonFilter
- Flag_ecalBadCalibFilterV2
- Flag_ecalBadCalibFilter

btag:
algo: deepcsv
wp: medium
cuts:
deepcsv: # https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation102X
loose : 0.1241
medium: 0.4184
tight: 0.7527
loose : 0.1208
medium: 0.4168
tight: 0.7665
sf:
deepcsv:
file: data/sf/btag/DeepCSV_102XSF_WP_V1.csv
file: data/sf/btag/DeepCSV_106XUL18SF.csv

ele_reco:
histogram: EGamma_SF2D
file: data/sf/egamma/2018_egammaEffi_txt_EGM2D_updatedAll.root
file: data/sf/egamma/ul/egammaEffi_ptAbove20_txt_EGM2D_UL2018.root

ele_reco_pt_lt_20:
histogram: EGamma_SF2D
file: data/sf/egamma/ul/egammaEffi_ptBelow20_txt_EGM2D_UL2018.root

ele_id_loose:
histogram: EGamma_SF2D
file: data/sf/egamma/2018_ElectronWPVeto_Fall17V2_BU.root
file: data/sf/egamma/ul/egammaEffi_txt_Ele_Veto_EGM2D_UL18.root

ele_id_tight:
histogram: EGamma_SF2D
file: data/sf/egamma/2018_ElectronTight_Fall17V2_BU.root
file: data/sf/egamma/ul/egammaEffi_txt_Ele_Tight_EGM2D_UL18.root

photon:
usetnp: True
usetnp: False
photon_id_tight:
histogram: EGamma_SF2D
file: data/sf/egamma/2018_PhotonsMedium_capped.root
file: data/sf/egamma/ul/egammaEffi_txt_EGM2D_Pho_Tight_UL18.root
photon_id_tight_tnp:
histogram: photon_medium_id_sf_2018
file: data/sf/egamma/photon_medium_id_sf_v0.root
Expand All @@ -584,41 +615,42 @@ era2018:
file: data/sf/egamma/CSEV_ScaleFactors_2017.root # TODO: Update to 2018 when available!

muon_id_loose:
histogram: NUM_LooseID_DEN_TrackerMuons_pt_abseta
file: data/sf/muon/2018_RunABCD_SF_ID.root
histogram: NUM_LooseID_DEN_TrackerMuons_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ID.root
muon_id_loose_stat:
histogram: NUM_LooseID_DEN_TrackerMuons_pt_abseta_stat
file: data/sf/muon/2018_RunABCD_SF_ID.root
histogram: NUM_LooseID_DEN_TrackerMuons_abseta_pt_stat
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ID.root
muon_id_loose_syst:
histogram: NUM_LooseID_DEN_TrackerMuons_pt_abseta_syst
file: data/sf/muon/2018_RunABCD_SF_ID.root
histogram: NUM_LooseID_DEN_TrackerMuons_abseta_pt_syst
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ID.root
muon_id_tight:
histogram: NUM_TightID_DEN_TrackerMuons_pt_abseta
file: data/sf/muon/2018_RunABCD_SF_ID.root
histogram: NUM_TightID_DEN_TrackerMuons_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ID.root
muon_id_tight_stat:
histogram: NUM_TightID_DEN_TrackerMuons_pt_abseta_stat
file: data/sf/muon/2018_RunABCD_SF_ID.root
histogram: NUM_TightID_DEN_TrackerMuons_abseta_pt_stat
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ID.root
muon_id_tight_syst:
histogram: NUM_TightID_DEN_TrackerMuons_pt_abseta_syst
file: data/sf/muon/2018_RunABCD_SF_ID.root
histogram: NUM_TightID_DEN_TrackerMuons_abseta_pt_syst
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ID.root

muon_iso_tight:
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_pt_abseta
file: data/sf/muon/2018_RunABCD_SF_ISO.root
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ISO.root
muon_iso_tight_stat:
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_pt_abseta_stat
file: data/sf/muon/2018_RunABCD_SF_ISO.root
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_abseta_pt_stat
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ISO.root
muon_iso_tight_sys:
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_pt_abseta_syst
file: data/sf/muon/2018_RunABCD_SF_ISO.root
histogram: NUM_TightRelIso_DEN_TightIDandIPCut_abseta_pt_syst
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ISO.root
muon_iso_loose:
histogram: NUM_LooseRelIso_DEN_LooseID_pt_abseta
file: data/sf/muon/2018_RunABCD_SF_ISO.root
histogram: NUM_LooseRelIso_DEN_LooseID_abseta_pt
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ISO.root
muon_iso_loose_stat:
histogram: NUM_LooseRelIso_DEN_LooseID_pt_abseta_stat
file: data/sf/muon/2018_RunABCD_SF_ISO.root
histogram: NUM_LooseRelIso_DEN_LooseID_abseta_pt_stat
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ISO.root
muon_iso_loose_sys:
histogram: NUM_LooseRelIso_DEN_LooseID_pt_abseta_syst
file: data/sf/muon/2018_RunABCD_SF_ISO.root
histogram: NUM_LooseRelIso_DEN_LooseID_abseta_pt_syst
file: data/sf/muon/Efficiencies_muon_generalTracks_Z_Run2018_UL_ISO.root
tau_id:
histogram: tau_sf_2018_central
file: data/sf/tau/tau_sf_deepTau.root
Expand Down Expand Up @@ -657,3 +689,13 @@ era2018:
ak4_em_frac_sf_neg_endcap:
histogram: sf_neg_endcap_2018
file: data/sf/ak4/jet_id_sf_for_endcaps.root

hf_mask_efficiency_mc:
histogram: Efficiency_Data_2018
file: data/sf/hfmask/EffcySFandNoisePassRate.root
hf_mask_noise_passing_rate:
histogram: NoisePassingRate_2018
file: data/sf/hfmask/EffcySFandNoisePassRate.root
hf_cuts_sf:
histogram: EfficiencySF_2018
file: data/sf/hfmask/EffcySFandNoisePassRate.root
Loading