diff --git a/configs/V38nano/object_performance/electron_purity.yaml b/configs/V38nano/object_performance/electron_purity.yaml new file mode 100644 index 0000000..f53cb35 --- /dev/null +++ b/configs/V38nano/object_performance/electron_purity.yaml @@ -0,0 +1,26 @@ +Purity_ElectronsBarrel: + sample: DYLL_M50 + version: V38nano + match_test_to_ref: True + reference_object: + object: "L1tkElectron" + x_arg: "pt" + label: "L1tkElectron" + cuts: + event: + - "{eleId} == 1" + - "abs({eta}) < 1.5" + object: + - "abs({eta}) < 2.4" + test_objects: + GenPart:Electron: "pt" + # L1EG:default: "pt" + # L1tkElectron:NoIso: "pt" + # L1tkElectron:NoIsoNoLowPtID: "pt" + # L1tkElectron:Iso: "pt" + xlabel: "L1 TkEle. $p_T$ (GeV)" + ylabel: "Matching Efficiency (Barrel)" + binning: + min: 0 + max: 100 + step: 3 diff --git a/configs/V44nano/object_performance/tau_purity.yaml b/configs/V44nano/object_performance/tau_purity.yaml new file mode 100644 index 0000000..98246ff --- /dev/null +++ b/configs/V44nano/object_performance/tau_purity.yaml @@ -0,0 +1,96 @@ +Purity_Tau_Barrel: + sample: VBFHToTauTau + version: V44nano + match_test_to_ref: True + reference_object: + object: "L1nnPuppiTau" + x_arg: "pt" + label: "L1nnPuppiTau" + cuts: + event: + - "{passLooseNN} == 1" + - "abs({eta}) < 1.5" + object: + - "abs({eta}) < 2.4" + test_objects: + GenVisTau:default: "pt" + L1caloTau:default: "pt" + xlabel: "L1 nnPuppiTau $p_T$ (GeV)" + ylabel: "Purity (Barrel)" + binning: + min: 0 + max: 100 + step: 3 + +Purity_Tau_Endcap: + sample: VBFHToTauTau + version: V44nano + match_test_to_ref: True + reference_object: + object: "L1nnPuppiTau" + x_arg: "pt" + label: "L1nnPuppiTau" + cuts: + event: + - "{passLooseNN} == 1" + - "abs({eta}) > 1.5" + object: + - "abs({eta}) < 2.4" + test_objects: + GenVisTau:default: "pt" + L1caloTau:default: "pt" + xlabel: "L1 nnPuppiTau $p_T$ (GeV)" + ylabel: "Purity (Barrel)" + binning: + min: 0 + max: 100 + step: 3 + +Purity_Tau_Eta_Pt40: + sample: VBFHToTauTau + version: V44nano + match_test_to_ref: True + reference_object: + object: "L1nnPuppiTau" + x_arg: "eta" + label: "L1nnPuppiTau" + cuts: + event: + - "{passLooseNN} == 1" + - "{pt} > 40" + object: + - "abs({eta}) < 2.4" + test_objects: + GenVisTau:default: "eta" + L1caloTau:default: "eta" + xlabel: "L1 nnPuppiTau $\\eta$" + ylabel: "Purity (L1 $p_T$ > 40 GeV)" + binning: + min: -2.5 + max: 2.5 + step: 0.1 + +Purity_Tau_Eta_Pt100: + sample: VBFHToTauTau + version: V44nano + match_test_to_ref: True + reference_object: + object: "L1nnPuppiTau" + x_arg: "eta" + label: "L1nnPuppiTau" + cuts: + event: + - "{passLooseNN} == 1" + - "{pt} > 100" + object: + - "abs({eta}) < 2.4" + test_objects: + GenVisTau:default: "eta" + L1caloTau:default: "eta" + xlabel: "L1 nnPuppiTau $\\eta$" + ylabel: "Purity (L1 $p_T$ > 100 GeV)" + binning: + min: -2.5 + max: 2.5 + step: 0.1 + diff --git a/configs/V44nano/objects/GenPart.yaml b/configs/V44nano/objects/GenPart.yaml index 20b93d9..e70d612 100644 --- a/configs/V44nano/objects/GenPart.yaml +++ b/configs/V44nano/objects/GenPart.yaml @@ -18,4 +18,17 @@ GenPart: inclusive: - "abs({eta}) < 3" - "(({statusFlags}>>7)&1) == 1" - - "abs({pdgId}) == 13" \ No newline at end of file + - "abs({pdgId}) == 13" + +GenVisTau: + match_dR: 0.3 + eta_ranges: + inclusive: [0, 7] + barrel: [0, 1.5] + endcap: [1.5, 5] + label: "GenVisTau" + ids: + default: + cuts: + inclusive: + - "abs({eta}) < 2.4" \ No newline at end of file