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.source = cms.Source("NewEventStreamFileReader",
0009     fileNames = cms.untracked.vstring('file:/localdata/data/GlobalCruzet2.00047042.0001.A.storageManager.0.0000.dat')
0010 )
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(3)
0014 )
0015 process.dqmSource = cms.EDFilter("DQMSourceExample",
0016     monitorName = cms.untracked.string('YourSubsystemName')
0017 )
0018 
0019 process.qTester = cms.EDFilter("QualityTester",
0020     prescaleFactor = cms.untracked.int32(100000),
0021     qtList = cms.untracked.FileInPath('DQMServices/Examples/test/QualityTests.xml')
0022 )
0023 
0024 process.dqmClient = cms.EDFilter("DQMClientExample",
0025     prescaleLS = cms.untracked.int32(1),
0026     monitorName = cms.untracked.string('YourSubsystemName'),
0027     prescaleEvt = cms.untracked.int32(1000)
0028 )
0029 
0030 process.p = cms.Path(process.dqmSource+process.qTester+process.dqmClient+process.dqmEnv+process.dqmSaver)
0031 process.DQMStore.verbose = 0
0032 process.DQM.collectorHost = ''
0033 process.dqmSaver.convention = 'Online'
0034 process.dqmSaver.producer = 'DQM'
0035 process.dqmEnv.subSystemFolder = 'YourSubsystemName'
0036