Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTDQM")
0004 
0005 #----------------------------
0006 #### Event Source
0007 #----------------------------
0008 process.load("DQM.DTMonitorModule.test.NewEventStreamFileReader_cfi")
0009 #process.EventStreamHttpReader.consumerName = 'DT DQM Consumer'
0010 
0011 
0012 #----------------------------
0013 #### DQM Environment
0014 #----------------------------
0015 process.load("DQMServices.Core.DQM_cfg")
0016 
0017 process.load("DQMServices.Components.DQMEnvironment_cfi")
0018 
0019 
0020 #----------------------------
0021 #### DQM Live Environment
0022 #----------------------------
0023 process.load("DQM.Integration.test.environment_cfi")
0024 process.DQM.collectorHost = 'pippo'
0025 process.DQM.collectorPort = 9199
0026 process.dqmEnv.subSystemFolder = 'DT'
0027 process.dqmSaver.convention = 'Online'
0028 process.dqmSaver.dirName = '.'
0029 process.dqmSaver.producer = 'DQM'
0030 
0031 process.dqmSaver.saveByTime = -1
0032 process.dqmSaver.saveByLumiSection = -1
0033 process.dqmSaver.saveByMinute = -1
0034 process.dqmSaver.saveByRun = 1
0035 process.dqmSaver.saveAtJobEnd = True
0036 #-----------------------------
0037 
0038 
0039 # DT reco and DQM sequences
0040 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0041 process.load("DQM.DTMonitorModule.dt_dqm_sourceclient_common_cff")
0042 #---- for P5 (online) DB access
0043 process.GlobalTag.globaltag = "CRAFT_V4H::All"
0044 #---- for offline DB
0045 #process.GlobalTag.globaltag = "CRAFT_V2P::All"
0046 
0047 # message logger
0048 process.MessageLogger = cms.Service("MessageLogger",
0049                                     destinations = cms.untracked.vstring('cout'),
0050                                     cout = cms.untracked.PSet(threshold = cms.untracked.string('WARNING'))
0051                                     )
0052 
0053 process.dqmmodules = cms.Sequence(process.dqmEnv + process.dqmSaver)
0054 
0055 process.dtDQMPathPhys = cms.Path(process.unpackers + process.dqmmodules + process.reco + process.dtDQMTask + process.dtDQMTest)
0056 
0057 process.dtDQMPathCalib = cms.Path(process.unpackers + process.dqmmodules + process.calibrationEventsFilter * process.dtDQMCalib)
0058