From 2b94df420720af93d160209d69c130f95631c0aa Mon Sep 17 00:00:00 2001 From: francescobrivio Date: Fri, 4 Nov 2022 16:05:08 +0100 Subject: [PATCH 1/2] Use Era Run3_pp_on_PbPb_approxSiStripClusters in DQM clients with tracking --- .../python/clients/beam_dqm_sourceclient-live_cfg.py | 8 ++++++-- .../python/clients/beamfake_dqm_sourceclient-live_cfg.py | 8 ++++++-- .../python/clients/beamhlt_dqm_sourceclient-live_cfg.py | 9 +++++++-- .../clients/beamhltfake_dqm_sourceclient-live_cfg.py | 8 ++++++-- .../clients/beampixel_dqm_sourceclient-live_cfg.py | 8 ++++++-- .../python/clients/physics_dqm_sourceclient-live_cfg.py | 8 ++++++-- .../python/clients/pixel_dqm_sourceclient-live_cfg.py | 8 ++++++-- .../clients/pixellumi_dqm_sourceclient-live_cfg.py | 8 ++++++-- .../python/clients/sistrip_dqm_sourceclient-live_cfg.py | 8 ++++++-- .../clients/sistriplas_dqm_sourceclient-live_cfg.py | 9 +++++++-- 10 files changed, 62 insertions(+), 20 deletions(-) diff --git a/DQM/Integration/python/clients/beam_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/beam_dqm_sourceclient-live_cfg.py index e22dae0f3c8a5..ec1795c5260a9 100644 --- a/DQM/Integration/python/clients/beam_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/beam_dqm_sourceclient-live_cfg.py @@ -10,8 +10,12 @@ useLockRecords = True import sys -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process("BeamMonitor", Run3) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) process.MessageLogger = cms.Service("MessageLogger", debugModules = cms.untracked.vstring('*'), diff --git a/DQM/Integration/python/clients/beamfake_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/beamfake_dqm_sourceclient-live_cfg.py index 74bac95898350..d5b5287cb9826 100644 --- a/DQM/Integration/python/clients/beamfake_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/beamfake_dqm_sourceclient-live_cfg.py @@ -10,8 +10,12 @@ BSOnlineOmsServiceUrl = 'http://cmsoms-services.cms:9949/urn:xdaq-application:lid=100/getRunAndLumiSection' useLockRecords = True import sys -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process("FakeBeamMonitor", Run3) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) process.MessageLogger = cms.Service("MessageLogger", debugModules = cms.untracked.vstring('*'), diff --git a/DQM/Integration/python/clients/beamhlt_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/beamhlt_dqm_sourceclient-live_cfg.py index cf79b63885cac..5e8ef54b5e849 100644 --- a/DQM/Integration/python/clients/beamhlt_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/beamhlt_dqm_sourceclient-live_cfg.py @@ -10,8 +10,13 @@ useLockRecords = True import sys -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process("BeamMonitor", Run3) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) + # Message logger #process.load("FWCore.MessageLogger.MessageLogger_cfi") diff --git a/DQM/Integration/python/clients/beamhltfake_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/beamhltfake_dqm_sourceclient-live_cfg.py index 43ae435c62687..19b0e81f048f8 100644 --- a/DQM/Integration/python/clients/beamhltfake_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/beamhltfake_dqm_sourceclient-live_cfg.py @@ -10,8 +10,12 @@ useLockRecords = True import sys -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process("FakeBeamMonitor", Run3) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) # switch live = True # FIXME diff --git a/DQM/Integration/python/clients/beampixel_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/beampixel_dqm_sourceclient-live_cfg.py index 9c60dc8fd48a3..fd73b2073e0ce 100644 --- a/DQM/Integration/python/clients/beampixel_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/beampixel_dqm_sourceclient-live_cfg.py @@ -2,8 +2,12 @@ import FWCore.ParameterSet.Config as cms import sys -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process("BeamMonitor", Run3) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) unitTest = False if 'unitTest=True' in sys.argv: diff --git a/DQM/Integration/python/clients/physics_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/physics_dqm_sourceclient-live_cfg.py index c767a9d79438d..d6eb245118678 100644 --- a/DQM/Integration/python/clients/physics_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/physics_dqm_sourceclient-live_cfg.py @@ -3,8 +3,12 @@ import FWCore.ParameterSet.Config as cms -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process("Physics", Run3) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) #---------------------------- # Event Source diff --git a/DQM/Integration/python/clients/pixel_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/pixel_dqm_sourceclient-live_cfg.py index 5a46a14216816..cda882ae7e7b7 100644 --- a/DQM/Integration/python/clients/pixel_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/pixel_dqm_sourceclient-live_cfg.py @@ -2,8 +2,12 @@ import FWCore.ParameterSet.Config as cms import sys -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process("PIXELDQMLIVE", Run3) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) live=True unitTest = False diff --git a/DQM/Integration/python/clients/pixellumi_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/pixellumi_dqm_sourceclient-live_cfg.py index a4247b73c4a54..97d809f839ed9 100644 --- a/DQM/Integration/python/clients/pixellumi_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/pixellumi_dqm_sourceclient-live_cfg.py @@ -2,8 +2,12 @@ import FWCore.ParameterSet.Config as cms import sys -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process("PixelLumiDQM", Run3) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) unitTest=False if 'unitTest=True' in sys.argv: diff --git a/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py index 962a5a453d5d6..8432ebdaf68fd 100644 --- a/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py @@ -2,8 +2,12 @@ import FWCore.ParameterSet.Config as cms import sys -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process("SiStrpDQMLive", Run3) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) process.MessageLogger = cms.Service("MessageLogger", debugModules = cms.untracked.vstring('siStripDigis', diff --git a/DQM/Integration/python/clients/sistriplas_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/sistriplas_dqm_sourceclient-live_cfg.py index e9c8bfba47e88..8a9af882c6440 100644 --- a/DQM/Integration/python/clients/sistriplas_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/sistriplas_dqm_sourceclient-live_cfg.py @@ -1,8 +1,13 @@ from __future__ import print_function import FWCore.ParameterSet.Config as cms -from Configuration.Eras.Era_Run3_cff import Run3 -process = cms.Process( "sistriplaserDQMLive", Run3 ) +if 'runkey=hi_run' in sys.argv: + from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters + process = cms.Process("BeamMonitor", Run3_pp_on_PbPb_approxSiStripClusters) +else: + from Configuration.Eras.Era_Run3_cff import Run3 + process = cms.Process("BeamMonitor", Run3) + process.MessageLogger = cms.Service( "MessageLogger", cout = cms.untracked.PSet(threshold = cms.untracked.string( 'ERROR' )), destinations = cms.untracked.vstring( 'cout') From 33c8378dbb6f4c3be0eabf763bd1e7ab03ce8127 Mon Sep 17 00:00:00 2001 From: francescobrivio Date: Fri, 4 Nov 2022 18:52:16 +0100 Subject: [PATCH 2/2] add onlineMetaDataInputTag in beamhlt DQM client for HI running --- .../python/clients/beamhlt_dqm_sourceclient-live_cfg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/DQM/Integration/python/clients/beamhlt_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/beamhlt_dqm_sourceclient-live_cfg.py index 5e8ef54b5e849..daec5d062cea3 100644 --- a/DQM/Integration/python/clients/beamhlt_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/beamhlt_dqm_sourceclient-live_cfg.py @@ -135,6 +135,7 @@ # Set rawDataRepacker (HI and live) or hltFEDSelectorTCDS+hltFEDSelectorOnlineMetaData (for all the rest) if (process.runType.getRunType() == process.runType.hi_run and live): rawDataInputTag = "rawDataRepacker" + onlineMetaDataInputTag = "hltFEDSelectorOnlineMetaData" else: # Use raw data from selected TCDS FEDs (1024, 1025) and OnlineMetaData FED (1022) rawDataInputTag = "hltFEDSelectorTCDS"