File indexing completed on 2024-11-19 23:19:58
0001 import FWCore.ParameterSet.Config as cms
0002 import sys
0003
0004 subsystem = "Ramdisk"
0005 from Configuration.Eras.Era_Run3_cff import Run3
0006 process = cms.Process(subsystem, Run3)
0007
0008 import FWCore.ParameterSet.Config as cms
0009 import FWCore.ParameterSet.VarParsing as VarParsing
0010
0011 process.load('DQM.Integration.config.inputsource_cfi')
0012 from DQM.Integration.config.inputsource_cfi import options
0013 process.load('DQMServices.Components.DQMEnvironment_cfi')
0014 process.load('DQM.Integration.config.environment_cfi')
0015
0016 process.dqmEnv.subSystemFolder = subsystem
0017 process.dqmSaver.tag = subsystem
0018 process.dqmSaver.runNumber = options.runNumber
0019
0020
0021
0022 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0023 process.analyzer = DQMEDAnalyzer('RamdiskMonitor',
0024 runNumber = process.source.runNumber,
0025 runInputDir = process.source.runInputDir,
0026 streamLabels = cms.untracked.vstring(
0027 "streamDQM",
0028 "streamDQMHistograms",
0029 "streamDQMCalibration",
0030 )
0031 )
0032
0033
0034 if process.runType.getRunType() == process.runType.hi_run:
0035 process.analyzer.streamLabels[0] = "streamHIDQM"
0036
0037 process.p = cms.Path(process.analyzer)
0038 process.dqmsave_step = cms.Path(process.dqmEnv * process.dqmSaver)
0039
0040 process.schedule = cms.Schedule(
0041 process.p,
0042 process.dqmsave_step
0043 )