From 610e3fe3dfb3c64b5ebb7bb2778d45d72962f116 Mon Sep 17 00:00:00 2001 From: Artur Lobanov Date: Fri, 25 Oct 2024 16:16:26 +0200 Subject: [PATCH] Use >= for pt thresholds in step1 menu v44 --- configs/V44nano/rate_table/step1_menu_cfg.yml | 54 +++++++++---------- configs/V44nano/rate_table/tau_only.yml | 4 ++ configs/V44nano/rate_table/tau_only_menu.yml | 23 ++++++++ configs/V44nano/rate_table/test_for_p2gt.yml | 4 ++ 4 files changed, 58 insertions(+), 27 deletions(-) create mode 100644 configs/V44nano/rate_table/tau_only.yml create mode 100644 configs/V44nano/rate_table/tau_only_menu.yml create mode 100644 configs/V44nano/rate_table/test_for_p2gt.yml diff --git a/configs/V44nano/rate_table/step1_menu_cfg.yml b/configs/V44nano/rate_table/step1_menu_cfg.yml index c3428fe7..fe921935 100644 --- a/configs/V44nano/rate_table/step1_menu_cfg.yml +++ b/configs/V44nano/rate_table/step1_menu_cfg.yml @@ -25,10 +25,10 @@ L1_DoubleTkMu4p5er2p0_SQ_OS_Mass7to18: - ((leg1.charge*leg2.charge < 0.0) & (leg1.deltaR(leg2) > 0)) - ((abs(leg2.z0-leg1.z0) < 1) & (leg1.deltaR(leg2) > 0)) leg1: - threshold_cut: pt > 4.4 + threshold_cut: pt >= 4.4 obj: L1gmtTkMuon:default leg2: - threshold_cut: pt > 4.4 + threshold_cut: pt >= 4.4 obj: L1gmtTkMuon:default L1_TkMu_PfJet_dRMax_DoubleJet_dEtaMax: cross_masks: @@ -60,10 +60,10 @@ L1_DoubleTkMu0er1p5_SQ_OS_dR_Max1p4: - ((abs(leg2.z0-leg1.z0) < 1)) - ((leg1.deltaR(leg2) > 0)) leg1: - threshold_cut: pt > 0 + threshold_cut: pt >= 0 obj: L1gmtTkMuon:default leg2: - threshold_cut: pt > 0 + threshold_cut: pt >= 0 obj: L1gmtTkMuon:default L1_SingleTkPhoIso: cross_masks: [] @@ -178,7 +178,7 @@ L1_TkMu_DoubleTkEle: - abs(leg2.z0-leg1.z0) < 1 - abs(leg3.z0-leg1.z0) < 1 leg1: - threshold_cut: pt > 6 + threshold_cut: pt >= 6 obj: L1gmtTkMuon:default leg2: threshold_cut: offline_pt >= 17.0 @@ -193,7 +193,7 @@ L1_TkMu_PfHTT: threshold_cut: null obj: L1PV:default leg2: - threshold_cut: pt > 6 + threshold_cut: pt >= 6 obj: L1gmtTkMuon:default leg3: threshold_cut: offline_pt >= 320.0 @@ -205,7 +205,7 @@ L1_TkMu_PfJet_PfMet: threshold_cut: null obj: L1PV:default leg2: - threshold_cut: pt > 3 + threshold_cut: pt >= 3 obj: L1gmtTkMuon:default leg3: threshold_cut: offline_pt >= 110.0 @@ -217,7 +217,7 @@ L1_TkMu_TkEle: cross_masks: - abs(leg2.z0-leg1.z0) < 1 leg1: - threshold_cut: pt > 7 + threshold_cut: pt >= 7 obj: L1gmtTkMuon:default leg2: threshold_cut: offline_pt >= 23.0 @@ -226,7 +226,7 @@ L1_TkMu_TkEleIso: cross_masks: - abs(leg2.z0-leg1.z0) < 1 leg1: - threshold_cut: pt > 7 + threshold_cut: pt >= 7 obj: L1gmtTkMuon:default leg2: threshold_cut: offline_pt >= 20.0 @@ -236,13 +236,13 @@ L1_TripleTkMu: - abs(leg2.z0-leg1.z0) < 1 - abs(leg3.z0-leg1.z0) < 1 leg1: - threshold_cut: pt > 5 + threshold_cut: pt >= 5 obj: L1gmtTkMuon:default leg2: - threshold_cut: pt > 3 + threshold_cut: pt >= 3 obj: L1gmtTkMuon:default leg3: - threshold_cut: pt > 3 + threshold_cut: pt >= 3 obj: L1gmtTkMuon:default L1_TripleTkMu_5SQ_3SQ_0OQ_DoubleMu_5_3_SQ_OS_Mass_Max9: cross_masks: @@ -251,13 +251,13 @@ L1_TripleTkMu_5SQ_3SQ_0OQ_DoubleMu_5_3_SQ_OS_Mass_Max9: - abs(leg2.z0-leg1.z0) < 1 - abs(leg3.z0-leg1.z0) < 1 leg1: - threshold_cut: pt > 5 + threshold_cut: pt >= 5 obj: L1gmtTkMuon:default leg2: - threshold_cut: pt > 3 + threshold_cut: pt >= 3 obj: L1gmtTkMuon:default leg3: - threshold_cut: pt > 0 + threshold_cut: pt >= 0 obj: L1gmtTkMuon:default L1_TripleTkMu_5_3p5_2p5_OS_Mass_5to17: cross_masks: @@ -267,13 +267,13 @@ L1_TripleTkMu_5_3p5_2p5_OS_Mass_5to17: - (leg1+leg3).mass < 17.0 - abs(leg3.z0-leg1.z0) < 1 leg1: - threshold_cut: pt > 5 + threshold_cut: pt >= 5 obj: L1gmtTkMuon:default leg2: - threshold_cut: pt > 3.5 + threshold_cut: pt >= 3.5 obj: L1gmtTkMuon:default leg3: - threshold_cut: pt > 2.5 + threshold_cut: pt >= 2.5 obj: L1gmtTkMuon:default L1_DoubleTkEle_PFHTT: cross_masks: @@ -335,7 +335,7 @@ L1_DoubleTkMu: threshold_cut: offline_pt > 15.0 obj: L1gmtTkMuon:default leg2: - threshold_cut: pt > 7 + threshold_cut: pt >= 7 obj: L1gmtTkMuon:default L1_DoubleTkMu4_SQ_OS_dR_Max1p2: cross_masks: @@ -343,10 +343,10 @@ L1_DoubleTkMu4_SQ_OS_dR_Max1p2: - ((leg1.charge*leg2.charge < 0.0) & (leg1.deltaR(leg2) > 0)) - ((abs(leg2.z0-leg1.z0) < 1) & (leg1.deltaR(leg2) > 0)) leg1: - threshold_cut: pt > 4 + threshold_cut: pt >= 4 obj: L1gmtTkMuon:default leg2: - threshold_cut: pt > 4 + threshold_cut: pt >= 4 obj: L1gmtTkMuon:default L1_DoubleTkMu_PfHTT: cross_masks: @@ -357,10 +357,10 @@ L1_DoubleTkMu_PfHTT: threshold_cut: null obj: L1PV:default leg2: - threshold_cut: pt > 3 + threshold_cut: pt >= 3 obj: L1gmtTkMuon:default leg3: - threshold_cut: pt > 3 + threshold_cut: pt >= 3 obj: L1gmtTkMuon:default leg4: threshold_cut: offline_pt >= 300.0 @@ -373,10 +373,10 @@ L1_DoubleTkMu_PfJet_PfMet: threshold_cut: null obj: L1PV:default leg2: - threshold_cut: pt > 3 + threshold_cut: pt >= 3 obj: L1gmtTkMuon:default leg3: - threshold_cut: pt > 3 + threshold_cut: pt >= 3 obj: L1gmtTkMuon:default leg4: threshold_cut: offline_pt >= 60.0 @@ -389,10 +389,10 @@ L1_DoubleTkMu_TkEle: - abs(leg2.z0-leg1.z0) < 1 - abs(leg3.z0-leg1.z0) < 1 leg1: - threshold_cut: pt > 5 + threshold_cut: pt >= 5 obj: L1gmtTkMuon:default leg2: - threshold_cut: pt > 5 + threshold_cut: pt >= 5 obj: L1gmtTkMuon:default leg3: threshold_cut: offline_pt >= 9.0 diff --git a/configs/V44nano/rate_table/tau_only.yml b/configs/V44nano/rate_table/tau_only.yml new file mode 100644 index 00000000..ac0a3fdd --- /dev/null +++ b/configs/V44nano/rate_table/tau_only.yml @@ -0,0 +1,4 @@ +version: "V44nano" +sample: "MinBias" +menu_config: "configs/V44nano/rate_table/tau_only_menu.yml" +table_fname: "tau_only_menu" diff --git a/configs/V44nano/rate_table/tau_only_menu.yml b/configs/V44nano/rate_table/tau_only_menu.yml new file mode 100644 index 00000000..2562302a --- /dev/null +++ b/configs/V44nano/rate_table/tau_only_menu.yml @@ -0,0 +1,23 @@ +L1_PFIsoTau_PFIsoTau: + cross_masks: + - leg1.deltaR(leg2) > 0.5 + leg1: + threshold_cut: offline_pt >= 52.0 + obj: L1nnPuppiTau:default + leg2: + threshold_cut: offline_pt >= 52.0 + obj: L1nnPuppiTau:default +L1_SinglePFTau: + cross_masks: [] + leg1: + threshold_cut: offline_pt > 150.0 + obj: L1caloTau:default +L1_PFTau_PFTau: + cross_masks: + - leg1.deltaR(leg2) > 0.5 + leg1: + threshold_cut: offline_pt > 90.0 + obj: L1caloTau:default + leg2: + threshold_cut: offline_pt > 90.0 + obj: L1caloTau:default \ No newline at end of file diff --git a/configs/V44nano/rate_table/test_for_p2gt.yml b/configs/V44nano/rate_table/test_for_p2gt.yml new file mode 100644 index 00000000..9586fb88 --- /dev/null +++ b/configs/V44nano/rate_table/test_for_p2gt.yml @@ -0,0 +1,4 @@ +version: "V44nano" +sample: "TTtestP2GT" +menu_config: "configs/V44nano/rate_table/step1_menu_cfg.yml" +table_fname: "v44_Step1Menu_TTtestP2GT_fixGeQ" \ No newline at end of file