From c15f8601a5c5317732281730e301492505af24b5 Mon Sep 17 00:00:00 2001 From: Artur Lobanov Date: Mon, 22 Apr 2024 12:55:48 +0200 Subject: [PATCH] Use explicit bits for tkMuon ID --- configs/V38nano_DT12x/objects/muons.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configs/V38nano_DT12x/objects/muons.yaml b/configs/V38nano_DT12x/objects/muons.yaml index 64aa441..290ea88 100644 --- a/configs/V38nano_DT12x/objects/muons.yaml +++ b/configs/V38nano_DT12x/objects/muons.yaml @@ -6,7 +6,7 @@ GenPart: gen_electron_default: cuts: inclusive: - - "(({statusFlags}>>7)&1) == 1" + - "({statusFlags}>>7)&1 == 1" L1gmtTkMuon: label: "GMT TkMuon" @@ -21,27 +21,27 @@ L1gmtTkMuon: label: "GMT TkMuon" cuts: inclusive: - - "({hwQual} >=3) | (({pt} > 8) & ({hwQual} >= 1))" # Loose(>=3) for pt < 8 VLoose(>=1) for pt > 8 + - "(({hwQual}>>1)&1 == 1) | (({pt} > 8) & (({hwQual}>>0)&1 == 1))" # Loose (bit 2) for pt < 8 VLoose (bit 1) for pt > 8 VLoose: # x.numberOfMatches() > 0 label: "GMT TkMuon, VLoose ID" cuts: inclusive: - - "{hwQual} >= 1" + - "({hwQual}>>0)&1 == 1" Loose: # x.numberOfMatches() >1 label: "GMT TkMuon, Loose ID" cuts: inclusive: - - "{hwQual} >= 3" + - "({hwQual}>>1)&1 == 1" Medium: # x.stubs().size()>1 label: "GMT TkMuon, Medium ID" cuts: inclusive: - - "{hwQual} >= 7" + - "({hwQual}>>2)&1 == 1" Tight: # x.numberOfMatches()>2 label: "GMT TkMuon, Tight ID" cuts: inclusive: - - "{hwQual} >= 15" + - "({hwQual}>>3)&1 == 1" L1gmtMuon: label: "GMT Muon"