From 094ff487f5e770d0441745530e2a11613c77fc47 Mon Sep 17 00:00:00 2001 From: caruta <42809546+caruta@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:03:18 +0200 Subject: [PATCH] Adding eta min cut, fixing missing config file --- .../python/HLTMuonOfflineAnalyzer_cff.py | 8 ++++--- .../python/HLTMuonOfflineAnalyzer_cfi.py | 12 ++++++---- .../HLTMuonOfflineAnalyzer_cosmics_cff.py | 22 +++++++++++++------ 3 files changed, 28 insertions(+), 14 deletions(-) diff --git a/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cff.py b/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cff.py index 76c5667e35ced..6dcb08dca8fbc 100644 --- a/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cff.py +++ b/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cff.py @@ -5,9 +5,11 @@ globalMuonParams = cms.PSet( d0Cut = cms.untracked.double(2.0), z0Cut = cms.untracked.double(25.0), - recoEtaCut = cms.untracked.double(2.4), - recoGlbMuCut = cms.untracked.bool(True), - hltEtaCut = cms.untracked.double(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 fa0cd66ff8824..1da43b8c5ef59 100644 --- a/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cfi.py +++ b/DQMOffline/Trigger/python/HLTMuonOfflineAnalyzer_cfi.py @@ -94,9 +94,11 @@ d0Cut = cms.untracked.double(2.0), z0Cut = cms.untracked.double(25.0), ## cuts - recoEtaCut = cms.untracked.double(2.4), + recoMaxEtaCut = cms.untracked.double(2.4), + recoMinEtaCut = cms.untracked.double(0.0), recoGlbMuCut = cms.untracked.bool(True), - hltEtaCut = cms.untracked.double(2.4), + 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; @@ -107,9 +109,11 @@ d0Cut = cms.untracked.double(2.0), z0Cut = cms.untracked.double(25.0), ## cuts - recoEtaCut = cms.untracked.double(2.4), + recoMaxEtaCut = cms.untracked.double(2.4), + recoMinEtaCut = cms.untracked.double(0.0), recoGlbMuCut = cms.untracked.bool(True), - hltEtaCut = cms.untracked.double(2.4), + 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(