diff --git a/DQM/Integration/python/clients/ecal_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/ecal_dqm_sourceclient-live_cfg.py index 73564f1de5d7c..9b9d1cdb91d7f 100644 --- a/DQM/Integration/python/clients/ecal_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/ecal_dqm_sourceclient-live_cfg.py @@ -196,8 +196,7 @@ process.ecalDigisCPU.InputLabel = 'rawDataRepacker' elif runTypeName == 'hpu_run': if not unitTest: - process.source.SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('*')) - + process.source.SelectEvents = cms.untracked.vstring("*") ### process customizations included here from DQM.Integration.config.online_customizations_cfi import * diff --git a/DQM/Integration/python/clients/hltrates_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/hltrates_dqm_sourceclient-live_cfg.py index 21d1fe758f506..a12d75e50c5c5 100644 --- a/DQM/Integration/python/clients/hltrates_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/hltrates_dqm_sourceclient-live_cfg.py @@ -91,26 +91,18 @@ prescales = cms.vuint32(6) ), ) - ) - - -process.load("DQM.HLTEvF.TrigResRateMon_cfi") - -# run on 1 out of 8 SM, LSSize 23 -> 23/8 = 2.875 -# stream is prescaled by 10, to correct change LSSize 23 -> 23/10 = 2.3 -process.trRateMon.LuminositySegmentSize = 2.3 +) +process.load("DQM.HLTEvF.triggerRatesMonitor_cfi") # Add RawToDigi -process.rateMon = cms.EndPath(process.hltPreTrigResRateMon *process.trRateMon) - +process.rateMon = cms.EndPath(process.hltPreTrigResRateMon *process.triggerRatesMonitor) process.pp = cms.Path(process.dqmEnv+process.dqmSaver+process.dqmSaverPB) process.dqmEnv.subSystemFolder = 'HLT/TrigResults' #process.hltResults.plotAll = True - ### process customizations included here from DQM.Integration.config.online_customizations_cfi import * process = customise(process) diff --git a/DQM/Integration/python/clients/l1t_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/l1t_dqm_sourceclient-live_cfg.py index b356b80900fa9..7bc0d8da8e6de 100644 --- a/DQM/Integration/python/clients/l1t_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/l1t_dqm_sourceclient-live_cfg.py @@ -146,7 +146,6 @@ process.l1tMonitorOnline.remove(process.l1tGmt) #process.l1tMonitorOnline.remove(process.l1tGt) -process.l1tGt.HistFolder = "L1T/L1TGTTestCrate" #process.l1tMonitorOnline.remove(process.l1ExtraDqmSeq) diff --git a/DQM/Integration/python/clients/l1tstage1emulator_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/l1tstage1emulator_dqm_sourceclient-live_cfg.py index 5b8559bc502d5..e905aada1a7e1 100644 --- a/DQM/Integration/python/clients/l1tstage1emulator_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/l1tstage1emulator_dqm_sourceclient-live_cfg.py @@ -87,8 +87,6 @@ #process.valRctDigis.getFedsFromOmds = cms.bool(True) process.stage1UnpackerPath = cms.Path(process.caloStage1Digis+process.caloStage1LegacyFormatDigis) -process.caloStage1LegacyFormatDigis.bxMin = -2 -process.caloStage1LegacyFormatDigis.bxMax = 2 # process.l1EmulatorMonitorClientPath = cms.Path(process.l1EmulatorMonitorClient) 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 bda74ece1e81d..66e159fcdd9e6 100644 --- a/DQM/Integration/python/clients/physics_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/physics_dqm_sourceclient-live_cfg.py @@ -1,4 +1,5 @@ from __future__ import print_function +import sys # $Id: physics_dqm_sourceclient-live_cfg.py,v 1.11 2012/02/13 15:09:30 lilopera Exp $ import FWCore.ParameterSet.Config as cms 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 a784c2d35e345..a163378a36e39 100644 --- a/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py @@ -474,10 +474,7 @@ process.load('RecoTracker.FinalTrackSelectors.MergeTrackCollections_cff') import RecoTracker.FinalTrackSelectors.earlyGeneralTracks_cfi process.load('RecoTracker.FinalTrackSelectors.earlyGeneralTracks_cfi') - process.earlyGeneralTracks.TrackProducers = ( - cms.InputTag('initialStepTracks'), - ) - + process.earlyGeneralTracks.TrackProducers = cms.VInputTag(cms.InputTag('initialStepTracks')) process.earlyGeneralTracks.hasSelector=cms.vint32(1) process.earlyGeneralTracks.selectedTrackQuals = cms.VInputTag( # cms.InputTag("initialStepSelector","initialStep"), diff --git a/DQM/Integration/test/BuildFile.xml b/DQM/Integration/test/BuildFile.xml index 4b07db5b5bcdc..fd7f63fbb208c 100644 --- a/DQM/Integration/test/BuildFile.xml +++ b/DQM/Integration/test/BuildFile.xml @@ -34,3 +34,11 @@ + + + + + + + + diff --git a/DQM/Integration/test/runCompilationTest.sh b/DQM/Integration/test/runCompilationTest.sh new file mode 100755 index 0000000000000..7fb9d3f9f2423 --- /dev/null +++ b/DQM/Integration/test/runCompilationTest.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +# Check if the key argument is provided +if [ $# -eq 0 ]; then + echo "Usage: $0 " + exit 1 +fi + +# Extract the key from the command line argument +key="$1" + +# Define a function to run the python command +run_python_command() { + function die { echo $1: status $2 ; exit $2; } + + entry="$1" + key="$2" + + # Check conditions to skip certain combinations + if [[ "$entry" == *visualization-live_cfg.py* && ( "$key" == "pp_run_stage1" || "$key" == "cosmic_run_stage1" || "$key" == "hpu_run" ) ]]; then + echo "===== Skipping Test \"python3 $entry runkey=$key\" ====" + return + fi + + # Otherwise, proceed with the test + echo "===== Test \"python3 $entry runkey=$key\" ====" + (python3 "$entry" runkey="$key" > /dev/null) 2>&1 || die "Failure using python3 $entry" $? +} + +# Run the tests for the specified key +echo "Running tests for key: $key" +for entry in "${CMSSW_BASE}/src/DQM/Integration/python/clients/"*"-live_cfg.py"; do + run_python_command "$entry" "$key" +done + +# All tests passed +echo "All tests passed!" diff --git a/DQM/Physics/python/qcdLowPtDQM_cfi.py b/DQM/Physics/python/qcdLowPtDQM_cfi.py index c77a780bb9725..ead851164104b 100644 --- a/DQM/Physics/python/qcdLowPtDQM_cfi.py +++ b/DQM/Physics/python/qcdLowPtDQM_cfi.py @@ -7,7 +7,7 @@ from RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi import * from RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff import * -siPixelDigis.InputLabel = cms.InputTag("source") +siPixelDigis.cpu.InputLabel = cms.InputTag("source") myRecoSeq1 = cms.Sequence( siPixelDigis *