Skip to content

Commit

Permalink
Add Muon TF plots for V36
Browse files Browse the repository at this point in the history
  • Loading branch information
artlbv committed Apr 4, 2024
1 parent bc4eb8f commit f1b774c
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 23 deletions.
32 changes: 16 additions & 16 deletions configs/V32nano/object_performance/jets_matching_wBTag.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
JetMatching_Eta_pt40To100_ExtendedVsRegular:
JetMatching_Eta_Pt40To100_ExtendedVsRegular:
sample: TT
version: V32nano
match_test_to_ref: True
reference_object:
object: "GenJet"
x_arg: "Eta"
x_arg: "eta"
label: "Gen Jets"
cuts:
event:
Expand All @@ -13,45 +13,45 @@ JetMatching_Eta_pt40To100_ExtendedVsRegular:
object:
- "abs({eta}) < 5"
test_objects:
L1puppiJetSC4:default: "Eta"
L1puppiExtJetSC4:default: "Eta"
L1puppiJetSC4:default: "eta"
L1puppiExtJetSC4:default: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency (40-100 GeV)"
binning:
min: -5
max: 5
step: 0.25

JetMatching_Eta_pt100ToInf_ExtendedVsRegular:
JetMatching_Eta_Pt100ToInf_ExtendedVsRegular:
sample: TT
version: V32nano
match_test_to_ref: True
reference_object:
object: "GenJet"
x_arg: "Eta"
x_arg: "eta"
label: "Gen Jets"
cuts:
event:
- "{pt} > 100"
object:
- "abs({eta}) < 5"
test_objects:
L1puppiJetSC4:default: "Eta"
L1puppiExtJetSC4:default: "Eta"
L1puppiJetSC4:default: "eta"
L1puppiExtJetSC4:default: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency (>100 GeV)"
binning:
min: -5
max: 5
step: 0.25

JetMatching_Eta_pt30ToInf_genBJets:
JetMatching_Eta_Pt30ToInf_genBJets:
sample: TT
version: V32nano
match_test_to_ref: True
reference_object:
object: "GenJet"
x_arg: "Eta"
x_arg: "eta"
label: "Gen Jets"
cuts:
event:
Expand All @@ -60,21 +60,21 @@ JetMatching_Eta_pt30ToInf_genBJets:
object:
- "abs({eta}) < 2.4"
test_objects:
L1puppiExtJetSC4:bjetnn: "Eta"
L1puppiExtJetSC4:bjetnn: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency (>30 GeV)"
binning:
min: -2.4
max: 2.4
step: 0.25

JetMatching_Eta_pt30ToInf_genNotBJets:
JetMatching_Eta_Pt30ToInf_genNotBJets:
sample: TT
version: V32nano
match_test_to_ref: True
reference_object:
object: "GenJet"
x_arg: "Eta"
x_arg: "eta"
label: "Gen Jets"
cuts:
event:
Expand All @@ -83,15 +83,15 @@ JetMatching_Eta_pt30ToInf_genNotBJets:
object:
- "abs({eta}) < 2.4"
test_objects:
L1puppiExtJetSC4:bjetnn: "Eta"
L1puppiExtJetSC4:bjetnn: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency (>30 GeV)"
binning:
min: -2.4
max: 2.4
step: 0.25

JetMatching_pt_pt30ToInf_genBJets:
JetMatching_Pt_Pt30ToInf_genBJets:
sample: TT
version: V32nano
match_test_to_ref: True
Expand All @@ -113,7 +113,7 @@ JetMatching_pt_pt30ToInf_genBJets:
max: 200
step: 10

JetMatching_pt_pt30ToInf_genNotBJets:
JetMatching_Pt_Pt30ToInf_genNotBJets:
sample: TT
version: V32nano
match_test_to_ref: True
Expand Down
82 changes: 82 additions & 0 deletions configs/V36nano_noTT/object_performance/muonTF_matching.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
MuonTFsMatchingBarrel:
sample: DYLL_M50
version: V36nano_noTT
match_test_to_ref: True
reference_object:
object: "GenPart"
x_arg: "pt"
label: "Gen Muons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
object:
- "abs({eta}) < 0.83"
test_objects:
L1gmtMuon:default:barrel: "pt"
L1MuonKMTF:default:barrel: "pt"
L1MuonOMTF:default:barrel: "pt"
L1MuonEMTF:default:barrel: "pt"
L1gmtTkMuon:default:barrel: "pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (barrel)"
binning:
min: 0
max: 100
step: 3

MuonTFsMatchingOverlap:
sample: DYLL_M50
version: V36nano_noTT
match_test_to_ref: True
reference_object:
object: "GenPart"
x_arg: "pt"
label: "Gen Muons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
object:
- "abs({eta}) > 0.83"
- "abs({eta}) < 1.24"
test_objects:
L1gmtMuon:default:overlap: "pt"
L1MuonKMTF:default:overlap: "pt"
L1MuonOMTF:default:overlap: "pt"
L1MuonEMTF:default:overlap: "pt"
L1gmtTkMuon:default:overlap: "pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (overlap)"
binning:
min: 0
max: 100
step: 3

MuonTFsMatchingEndcap:
sample: DYLL_M50
version: V36nano_noTT
match_test_to_ref: True
reference_object:
object: "GenPart"
x_arg: "pt"
label: "Gen Muons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
object:
- "abs({eta}) > 1.24"
- "abs({eta}) < 2.4"
test_objects:
L1gmtMuon:default:endcap: "pt"
L1MuonKMTF:default:endcap: "pt"
L1MuonOMTF:default:endcap: "pt"
L1MuonEMTF:default:endcap: "pt"
L1gmtTkMuon:default:endcap: "pt"
xlabel: "Gen. $p_T$ (GeV)"
ylabel: "Matching Efficiency (endcap)"
binning:
min: 0
max: 100
step: 3
56 changes: 56 additions & 0 deletions configs/V36nano_noTT/object_performance/muonTF_matching_eta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
MuonTFsMatching_Eta_Pt2to5:
sample: DYLL_M50
version: V36nano_noTT
match_test_to_ref: True
reference_object:
object: "GenPart"
x_arg: "eta"
label: "Gen Muons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
- "{pt} > 2"
- "{pt} < 5"
object:
- "abs({eta}) < 2.4"
test_objects:
L1gmtMuon:default: "eta"
L1MuonKMTF:default: "eta"
L1MuonOMTF:default: "eta"
L1MuonEMTF:default: "eta"
L1gmtTkMuon:default: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency (2-5 GeV)"
binning:
min: -3
max: 3
step: 0.2

MuonTFsMatching_Eta_Pt15toInf:
sample: DYLL_M50
version: V36nano_noTT
match_test_to_ref: True
reference_object:
object: "GenPart"
x_arg: "eta"
label: "Gen Muons"
cuts:
event:
- "(({statusFlags}>>7)&1) == 1"
- "abs({pdgId}) == 13"
- "{pt} > 15"
object:
- "abs({eta}) < 2.4"
test_objects:
L1gmtMuon:default: "eta"
L1MuonKMTF:default: "eta"
L1MuonOMTF:default: "eta"
L1MuonEMTF:default: "eta"
L1gmtTkMuon:default: "eta"
xlabel: "Gen. $\\eta$"
ylabel: "Matching Efficiency (>15 GeV)"
binning:
min: -3
max: 3
step: 0.2
48 changes: 41 additions & 7 deletions configs/V36nano_noTT/objects/muons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ GenPart:
inclusive:
- "(({statusFlags}>>7)&1) == 1"

L1gmtTkMuon:
label: "GMT TkMuon"
match_dR: 0.1
eta_ranges:
inclusive: [0, 7]
barrel: [0, 0.83]
overlap: [0.83, 1.24]
endcap: [1.24, 2.4]
ids:
default:
cuts:
inclusive:
- "({hwQual} > 0) | ({pt} > 8)" # quality criterion only to be appied for p_T < 8 GeV


L1gmtMuon:
label: "GMT Muon"
Expand All @@ -20,16 +34,36 @@ L1gmtMuon:
ids:
default: {}

L1gmtTkMuon:
label: "GMT TkMuon"
match_dR: 0.1
L1MuonKMTF:
label: "KMTF Muon"
match_dR: 0.3
eta_ranges:
inclusive: [0, 7]
barrel: [0, 0.83]
overlap: [0.83, 1.24]
endcap: [1.24, 2.4]
ids:
default:
cuts:
inclusive:
- "({hwQual} > 0) | ({pt} > 8)" # quality criterion only to be appied for p_T < 8 GeV
default: {}

L1MuonOMTF:
label: "OMTF Muon"
match_dR: 0.3
eta_ranges:
inclusive: [0, 7]
barrel: [0, 0.83]
overlap: [0.83, 1.24]
endcap: [1.24, 2.4]
ids:
default: {}

L1MuonEMTF:
label: "EMTF Muon"
match_dR: 0.3
eta_ranges:
inclusive: [0, 7]
barrel: [0, 0.83]
overlap: [0.83, 1.24]
endcap: [1.24, 2.4]
ids:
default: {}

0 comments on commit f1b774c

Please sign in to comment.