Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-08 02:27:16

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 process.dqmSaverPB.tag = subsystem
0020 process.dqmSaverPB.runNumber = options.runNumber
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 process.p = cms.Path(process.analyzer)
0034 process.dqmsave_step = cms.Path(process.dqmEnv * process.dqmSaver)
0035 
0036 process.schedule = cms.Schedule(
0037     process.p,
0038     process.dqmsave_step
0039 )