Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("hlxdqmlive")
0004 process.load("DQMServices.Components.MessageLogger_cfi")
0005 
0006 process.load("DQM.HLXMonitor.hlx_dqm_sourceclient_vme22_cfi")
0007 
0008 ## For private server vme22 use an empty source
0009 process.source = cms.Source("EmptySource")
0010 
0011 ## For testing dqmEnv ... for online
0012 ##process.load("DQM.Integration.test.inputsource_cfi")
0013 ##process.EventStreamHttpReader.consumerName = 'HLX DQM Consumer'
0014 ##process.EventStreamHttpReader.sourceURL = cms.string('http://srv-c2d05-05:50082/urn:xdaq-application:lid=29')
0015 
0016 process.load("DQM.Integration.test.environment_cfi")
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(-1)
0020 )
0021 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0022 process.hlxQualityTester = DQMQualityTester(
0023     # default is 1
0024     prescaleFactor = cms.untracked.int32(10000),
0025     # use eventloop for testing only ! default is false
0026     # untracked bool testInEventloop = false
0027     # use qtest on endRun or endJob
0028     # untracked bool qtestOnEndRun = false
0029     # untracked bool qtestOnEndJob = false
0030     qtList = cms.untracked.FileInPath('DQM/HLXMonitor/test/HLXQualityTests.xml')
0031 )
0032 
0033 ##process.p = cms.Path(process.hlxdqmsource*process.hlxQualityTester*process.dqmSaver)
0034 ##process.p = cms.Path(process.hlxdqmsource*process.hlxQualityTester*process.dqmEnv*process.dqmSaver)
0035 process.p = cms.Path(process.hlxdqmsource*process.hlxQualityTester)
0036 process.hlxdqmsource.outputDir = '/opt/dqm/data/live'
0037 process.hlxdqmsource.PrimaryHLXDAQIP = 'vmepcs2f17-22'
0038 process.hlxdqmsource.SecondaryHLXDAQIP = 'vmepcs2f17-19'
0039 process.hlxdqmsource.SourcePort = 51007
0040 process.DQM.collectorHost = 'localhost'
0041 process.DQM.collectorPort = 9190
0042 process.DQMStore.verbose = 0
0043 process.dqmEnv.subSystemFolder = 'HLX'
0044 process.dqmSaver.dirName = '/opt/dqm/data/tmp'
0045 ##process.dqmSaver.saveByRun = 1
0046 process.dqmSaver.saveAtJobEnd = True
0047 process.dqmSaver.saveByTime = 4
0048 process.dqmSaver.saveByMinute = 8
0049 
0050