Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:07

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("DTDQM")
0005 
0006 #----------------------------
0007 #### Event Source
0008 #----------------------------
0009 process.load("DQM.DTMonitorModule.test.inputsource_MiniDAQ_cfi")
0010 
0011 #----------------------------
0012 #### DQM Environment
0013 #----------------------------
0014 process.load("DQMServices.Core.DQM_cfg")
0015 
0016 process.load("DQMServices.Components.DQMEnvironment_cfi")
0017 
0018 
0019 #----------------------------
0020 #### DQM Live Environment
0021 #----------------------------
0022 process.load("DQM.Integration.test.environment_cfi")
0023 process.DQM.collectorHost = 'localhost'
0024 process.DQM.collectorPort = 9991
0025 process.dqmEnv.subSystemFolder = 'DT'
0026 process.dqmSaver.convention = 'Online'
0027 process.dqmSaver.dirName = '/dtdata/dqmdata/minidaq'
0028 process.dqmSaver.producer = 'DQM'
0029 
0030 process.dqmSaver.saveByTime = -1
0031 process.dqmSaver.saveByLumiSection = -1
0032 process.dqmSaver.saveByMinute = -1
0033 process.dqmSaver.saveByRun = 1
0034 process.dqmSaver.saveAtJobEnd = True
0035 #-----------------------------
0036 
0037 
0038 # DT reco and DQM sequences
0039 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0040 process.load("DQM.DTMonitorModule.dt_dqm_sourceclient_common_cff")
0041 
0042 #---- for P5 (online) DB access
0043 process.load("DQM.Integration.test.FrontierCondition_GT_cfi")
0044 
0045 
0046 # ------------------------------------------------
0047 # Special settings for commissioning RUNS
0048 process.dtTPmonitor.defaultTtrig = 3250
0049 process.dtTPmonitor.defaultTmax = 300
0050 process.dtDigiMonitor.readDB = False
0051 process.dtDigiMonitor.filterSyncNoise = False
0052 process.dtDigiMonitor.lookForSyncNoise = True
0053 process.dtDigiMonitor.checkNoisyChannels = False
0054 # ------------------------------------------------
0055 
0056 # message logger
0057 process.MessageLogger = cms.Service("MessageLogger",
0058                                     destinations = cms.untracked.vstring('cout'),
0059                                     categories = cms.untracked.vstring('DTSynchNoise'), 
0060                                     cout = cms.untracked.PSet(threshold = cms.untracked.string('INFO'),
0061                                                               noLineBreaks = cms.untracked.bool(False),
0062                                                               DEBUG = cms.untracked.PSet(
0063                                                                       limit = cms.untracked.int32(0)),
0064                                                               INFO = cms.untracked.PSet(
0065                                                                       limit = cms.untracked.int32(0)),
0066                                                               DTSynchNoise = cms.untracked.PSet(
0067                                                                       limit = cms.untracked.int32(-1))
0068                                                               )
0069                                     )
0070 
0071 process.dqmmodules = cms.Sequence(process.dqmEnv + process.dqmSaver)
0072 
0073 process.dtDQMPathPhys = cms.Path(process.unpackers + process.dqmmodules * process.reco + process.dtDQMTask + process.dtDQMTest)
0074 
0075 process.dtDQMPathCalib = cms.Path(process.unpackers + process.dqmmodules + process.calibrationEventsFilter *  process.dtDQMCalib)
0076