From 676b61cc132568f9776f3ea8e3d4893831205a36 Mon Sep 17 00:00:00 2001 From: caruta <42809546+caruta@users.noreply.github.com> Date: Thu, 27 Jul 2023 09:59:27 +0200 Subject: [PATCH] Removal of StringCutObjectSelector from Muon trigger DQM --- .../python/HLTMuonOfflineAnalyzer_cff.py | 7 ++++-- .../python/HLTMuonOfflineAnalyzer_cfi.py | 14 ++++++++---- .../HLTMuonOfflineAnalyzer_cosmics_cff.py | 22 +++++++++++++------ 3 files changed, 30 insertions(+), 13 deletions(-) diff --git a/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cff.py b/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cff.py index 58d3dd1386dbd..6dcb08dca8fbc 100644 --- a/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cff.py +++ b/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cff.py @@ -5,8 +5,11 @@ globalMuonParams = cms.PSet( d0Cut = cms.untracked.double(2.0), z0Cut = cms.untracked.double(25.0), - recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.4"), - hltCuts = cms.untracked.string("abs(eta) < 2.4"), + recoMaxEtaCut = cms.untracked.double(2.4), + recoMinEtaCut = cms.untracked.double(0.0), + recoGlbMuCut = cms.untracked.bool(True), + hltMaxEtaCut = cms.untracked.double(2.4), + hltMinEtaCut = cms.untracked.double(0.0), ) globalAnalyzerTnP = hltMuonOfflineAnalyzer.clone() diff --git a/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cfi.py b/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cfi.py index 3e68ba363b5b5..1da43b8c5ef59 100644 --- a/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cfi.py +++ b/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cfi.py @@ -94,8 +94,11 @@ d0Cut = cms.untracked.double(2.0), z0Cut = cms.untracked.double(25.0), ## cuts - recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.4"), - hltCuts = cms.untracked.string("abs(eta) < 2.4"), + recoMaxEtaCut = cms.untracked.double(2.4), + recoMinEtaCut = cms.untracked.double(0.0), + recoGlbMuCut = cms.untracked.bool(True), + hltMaxEtaCut = cms.untracked.double(2.4), + hltMinEtaCut = cms.untracked.double(0.0), ), ## If this PSet is empty, then no "tag and probe" plots are produced; @@ -106,8 +109,11 @@ d0Cut = cms.untracked.double(2.0), z0Cut = cms.untracked.double(25.0), ## cuts - recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.4"), - hltCuts = cms.untracked.string("abs(eta) < 2.4"), + recoMaxEtaCut = cms.untracked.double(2.4), + recoMinEtaCut = cms.untracked.double(0.0), + recoGlbMuCut = cms.untracked.bool(True), + hltMaxEtaCut = cms.untracked.double(2.4), + hltMinEtaCut = cms.untracked.double(0.0), ), ) diff --git a/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cosmics_cff.py b/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cosmics_cff.py index 6e4b2c07a1a13..735d30e94ee6b 100644 --- a/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cosmics_cff.py +++ b/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cosmics_cff.py @@ -5,23 +5,31 @@ barrelMuonParams = cms.PSet( d0Cut = cms.untracked.double(1000.0), z0Cut = cms.untracked.double(1000.0), - recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) < 0.9"), - hltCuts = cms.untracked.string("abs(eta) < 0.9"), + recoMaxEtaCut = cms.untracked.double(0.9), + recoMinEtaCut = cms.untracked.double(0.0), + recoGlbMuCut = cms.untracked.bool(False), #is a SA muon + hltMaxEtaCut = cms.untracked.double(0.9), + hltMinEtaCut = cms.untracked.double(0.0), ) endcapMuonParams = cms.PSet( d0Cut = cms.untracked.double(1000.0), z0Cut = cms.untracked.double(1000.0), - recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) > 1.4 && " - "abs(eta) < 2.0"), - hltCuts = cms.untracked.string("abs(eta) > 1.4 && abs(eta) < 2.0"), + recoMaxEtaCut = cms.untracked.double(2.0), + recoMinEtaCut = cms.untracked.double(1.4), + recoGlbMuCut = cms.untracked.bool(False), #is a SA muon + hltMaxEtaCut = cms.untracked.double(2.0), + hltMinEtaCut = cms.untracked.double(1.4), ) allMuonParams = cms.PSet( d0Cut = cms.untracked.double(1000.0), z0Cut = cms.untracked.double(1000.0), - recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) < 2.0"), - hltCuts = cms.untracked.string("abs(eta) < 2.0"), + recoMaxEtaCut = cms.untracked.double(2.0), + recoMinEtaCut = cms.untracked.double(0.0), + recoGlbMuCut = cms.untracked.bool(False), #is a SA muon + hltMaxEtaCut = cms.untracked.double(2.0), + hltMinEtaCut = cms.untracked.double(0.0), ) barrelAnalyzer = hltMuonOfflineAnalyzer.clone(