From b3a3517391476ce6d0b71198fd7805d337454d75 Mon Sep 17 00:00:00 2001 From: francescobrivio Date: Wed, 15 Jul 2020 17:12:54 +0200 Subject: [PATCH] fix fake beamspot clients --- .../beamfake_dqm_sourceclient-live_cfg.py | 18 ++++++------------ .../beamhltfake_dqm_sourceclient-live_cfg.py | 9 +++------ 2 files changed, 9 insertions(+), 18 deletions(-) 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 15054b67342b1..5cc6468f4a22c 100644 --- a/DQM/Integration/python/clients/beamfake_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/beamfake_dqm_sourceclient-live_cfg.py @@ -363,8 +363,8 @@ preLoadConnectionString = cms.untracked.string('frontier://FrontierProd/CMS_CONDITIONS'), runNumber = cms.untracked.uint64(options.runNumber), - #lastLumiFile = cms.untracked.string('last_lumi.txt'), - lastLumiUrl = cms.untracked.string('http://ru-c2e14-11-01.cms:11100/urn:xdaq-application:lid=52/getLatestLumiSection'), + lastLumiFile = cms.untracked.string('last_lumi.txt'), + #lastLumiUrl = cms.untracked.string('http://ru-c2e14-11-01.cms:11100/urn:xdaq-application:lid=52/getLatestLumiSection'), writeTransactionDelay = cms.untracked.uint32(options.transDelay), latency = cms.untracked.uint32(2), autoCommit = cms.untracked.bool(True), @@ -381,16 +381,10 @@ process.OnlineDBOutputService.connect = cms.string('sqlite_file:BeamSpotOnlineLegacy.db') process.OnlineDBOutputService.preLoadConnectionString = cms.untracked.string('sqlite_file:BeamSpotOnlineLegacy.db') -import pdb; pdb.set_trace() +#import pdb; pdb.set_trace() #--------- # Final path -if (not process.runType.getRunType() == process.runType.hi_run): - process.p = cms.Path(process.dqmcommon - * process.monitor - ) -else: - process.p = cms.Path(process.dqmcommon - * process.monitor - ) - +process.p = cms.Path(process.dqmcommon + * process.monitor + ) 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 29638a037a08b..783e91b8fadb9 100644 --- a/DQM/Integration/python/clients/beamhltfake_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/beamhltfake_dqm_sourceclient-live_cfg.py @@ -165,8 +165,8 @@ preLoadConnectionString = cms.untracked.string('frontier://FrontierProd/CMS_CONDITIONS'), runNumber = cms.untracked.uint64(options.runNumber), - #lastLumiFile = cms.untracked.string('last_lumi.txt'), - lastLumiUrl = cms.untracked.string('http://ru-c2e14-11-01.cms:11100/urn:xdaq-application:lid=52/getLatestLumiSection'), + lastLumiFile = cms.untracked.string('last_lumi.txt'), + #lastLumiUrl = cms.untracked.string('http://ru-c2e14-11-01.cms:11100/urn:xdaq-application:lid=52/getLatestLumiSection'), writeTransactionDelay = cms.untracked.uint32(options.transDelay), autoCommit = cms.untracked.bool(True), toPut = cms.VPSet(cms.PSet( @@ -182,8 +182,5 @@ process.OnlineDBOutputService.connect = cms.string('sqlite_file:BeamSpotOnlineHLT.db') process.OnlineDBOutputService.preLoadConnectionString = cms.untracked.string('sqlite_file:BeamSpotOnlineHLT.db') - process.p = cms.Path( #process.hltTriggerTypeFilter - process.dqmcommon - #* process.offlineBeamSpot + process.p = cms.Path(process.dqmcommon * process.monitor ) -