Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:42

0001 from __future__ import print_function
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("DTDQM")
0005 
0006 #----------------------------
0007 #### Event Source
0008 #----------------------------
0009 process.load("DQM.Integration.test.inputsource_cfi")
0010 process.EventStreamHttpReader.consumerName = 'DT Private Global DQM Testing Consumer'
0011 #process.source.sourceURL = cms.string('http://dqm-c2d07-30:50082/urn:xdaq-application:lid=29')  # Playback Server
0012 process.source.sourceURL = cms.string('http://dqm-c2d07-30:22100/urn:xdaq-application:lid=30')   # General use source for Private DQM
0013 #process.EventStreamHttpReader.SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('HLT_L1Mu*','HLT_L1DoubleMu*','HLT_Mu*','HLT_DoubleMu*','HLT_DTErrors'))
0014 
0015 #----------------------------
0016 #### DQM Environment
0017 #----------------------------
0018 process.load("DQMServices.Core.DQM_cfg")
0019 
0020 process.load("DQMServices.Components.DQMEnvironment_cfi")
0021 
0022 
0023 #----------------------------
0024 #### DQM Live Environment
0025 #----------------------------
0026 process.load("DQM.Integration.test.environment_cfi")
0027 process.DQM.collectorHost = 'localhost'
0028 process.DQM.collectorPort = 9991
0029 process.dqmEnv.subSystemFolder = 'DT'
0030 process.dqmSaver.convention = 'Online'
0031 process.dqmSaver.dirName = '/dtdata/dqmdata/global' 
0032 #process.dqmSaver.dirName = '.' 
0033 process.dqmSaver.producer = 'DQM'
0034 
0035 process.dqmSaver.saveByTime = -1
0036 process.dqmSaver.saveByLumiSection = -1
0037 process.dqmSaver.saveByMinute = -1
0038 process.dqmSaver.saveByRun = 1
0039 process.dqmSaver.saveAtJobEnd = True
0040 #-----------------------------
0041 
0042 
0043 # DT reco and DQM sequences
0044 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0045 # ideal geometry for LUT task
0046 process.load("Geometry.DTGeometryBuilder.idealForDigiDtGeometry_cff")
0047 process.load("DQM.DTMonitorModule.dt_dqm_sourceclient_common_cff")
0048 #---- for P5 (online) DB access
0049 process.load("DQM.Integration.test.FrontierCondition_GT_cfi")
0050 
0051 # message logger
0052 process.MessageLogger = cms.Service("MessageLogger",
0053                                     destinations = cms.untracked.vstring('cout'),
0054                                     categories = cms.untracked.vstring('DTSynchNoise'), 
0055                                     cout = cms.untracked.PSet(threshold = cms.untracked.string('INFO'),
0056                                                               noLineBreaks = cms.untracked.bool(False),
0057                                                               DEBUG = cms.untracked.PSet(
0058                                                                       limit = cms.untracked.int32(0)),
0059                                                               INFO = cms.untracked.PSet(
0060                                                                       limit = cms.untracked.int32(0)),
0061                                                               DTSynchNoise = cms.untracked.PSet(
0062                                                                       limit = cms.untracked.int32(-1))
0063                                                               )
0064                                     )
0065 
0066 process.dqmmodules = cms.Sequence(process.dqmEnv + process.dqmSaver)
0067 
0068 process.dtDQMPathPhys = cms.Path(process.unpackers + process.dqmmodules + process.physicsEventsFilter * process.dtDQMPhysSequence)
0069 
0070 process.dtDQMPathCalib = cms.Path(process.unpackers + process.dqmmodules + process.calibrationEventsFilter * process.dtDQMCalib)
0071 
0072 print(process.source.sourceURL)