Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("test")
0004 process.load("DQMServices.Core.DQM_cfg")
0005 
0006 process.load("DQMServices.Components.DQMEnvironment_cfi")
0007 
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(10000)
0010 )
0011 process.source = cms.Source("EventStreamHttpReader",
0012     sourceURL = cms.string('http://cmsmondev:50082/urn:xdaq-application:lid=29'),
0013     consumerPriority = cms.untracked.string('normal'),
0014     max_event_size = cms.int32(7000000),
0015     consumerName = cms.untracked.string('Test Consumer'),
0016     max_queue_depth = cms.int32(5),
0017     maxEventRequestRate = cms.untracked.double(10.0),
0018     SelectEvents = cms.untracked.PSet(
0019         SelectEvents = cms.vstring('*')
0020     ),
0021     headerRetryInterval = cms.untracked.int32(3)
0022 )
0023 
0024 process.dqmSource = cms.EDFilter("DQMSourceExample",
0025     monitorName = cms.untracked.string('YourSubsystemName')
0026 )
0027 
0028 process.qTester = cms.EDFilter("QualityTester",
0029     prescaleFactor = cms.untracked.int32(100000),
0030     qtList = cms.untracked.FileInPath('DQMServices/Examples/test/QualityTests.xml')
0031 )
0032 
0033 process.dqmClient = cms.EDFilter("DQMClientExample",
0034     prescaleLS = cms.untracked.int32(1),
0035     monitorName = cms.untracked.string('YourSubsystemName'),
0036     prescaleEvt = cms.untracked.int32(1000)
0037 )
0038 
0039 process.p = cms.Path(process.dqmSource+process.qTester+process.dqmClient+process.dqmEnv+process.dqmSaver)
0040 process.DQMStore.verbose = 0
0041 process.DQM.collectorHost = ''
0042 process.dqmSaver.convention = 'Online'
0043 process.dqmSaver.producer = 'DQM'
0044 process.dqmEnv.subSystemFolder = 'YourSubsystemName'
0045