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 
0003 from Configuration.Eras.Era_Run3_cff import Run3
0004 process = cms.Process("hlxdqmlive", Run3)
0005 
0006 from FWCore.MessageLogger.MessageLogger_cfi import *
0007 
0008 ## Input source
0009 # for live online DQM in P5
0010 process.load("DQM.Integration.config.inputsource_cfi")
0011 from DQM.Integration.config.inputsource_cfi import options
0012 
0013 # for testing in lxplus
0014 #process.load("DQM.Integration.config.fileinputsource_cfi")
0015 #from DQM.Integration.config.fileinputsource_cfi import options
0016 
0017 ## HLX configuration
0018 process.load("DQM.HLXMonitor.hlx_dqm_sourceclient_cfi")
0019 ## changed machine below from 22 to 21 
0020 process.hlxdqmsource.PrimaryHLXDAQIP = 'vmepcs2f17-21'
0021 ## keeping machine 18 below out; haven't tested it to find out what it does
0022 ## process.hlxdqmsource.SecondaryHLXDAQIP = 'vmepcs2f17-18'
0023 ## changed port below from 51007 to 51010; connects to DQMIsolator
0024 process.hlxdqmsource.SourcePort = 51010
0025 
0026 ## Set up env and saver
0027 process.load("DQM.Integration.config.environment_cfi")
0028 process.dqmEnv.subSystemFolder    = "HLX"
0029 process.dqmSaver.tag= "HLX"
0030 process.dqmSaver.runNumber = options.runNumber
0031 process.dqmSaverPB.tag = 'HLX'
0032 process.dqmSaverPB.runNumber = options.runNumber
0033 
0034 ## Lumi reference file
0035 
0036 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0037 process.hlxQualityTester = DQMQualityTester(
0038     # default is 1
0039     prescaleFactor = cms.untracked.int32(10000),
0040     # use eventloop for testing only ! default is false
0041     # untracked bool testInEventloop = false
0042     qtList = cms.untracked.FileInPath('DQM/HLXMonitor/test/HLXQualityTests.xml'),
0043     qtestOnEndLumi = cms.untracked.bool(True),
0044     qtestOnEndRun = cms.untracked.bool(True)
0045 )
0046 
0047 process.p = cms.Path(process.hlxdqmsource*process.hlxQualityTester*process.dqmEnv*process.dqmSaver*process.dqmSaverPB)
0048 
0049 ### process customizations included here
0050 from DQM.Integration.config.online_customizations_cfi import *
0051 process = customise(process)