Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CSC HLT DQM")
0004 
0005 #-------------------------------------------------
0006 # DQM Module Configuration
0007 #-------------------------------------------------
0008 
0009 process.load("DQM.CSCMonitorModule.csc_hlt_dqm_sourceclient_cfi")
0010 
0011 #----------------------------
0012 # Event Source
0013 #-----------------------------
0014 #process.load("DQM.Integration.test.inputsource_playback_cfi")
0015 
0016 maxEvents = cms.untracked.PSet(
0017     input = cms.untracked.int32(-1)
0018 )
0019 
0020 process.source = cms.Source("EventStreamHttpReader",
0021     sourceURL = cms.string('http://localhost:50082/urn:xdaq-application:lid=29'),
0022     consumerPriority = cms.untracked.string('normal'),
0023     max_event_size = cms.int32(7000000),
0024     consumerName = cms.untracked.string('Playback Source'),
0025     max_queue_depth = cms.int32(5),
0026     maxEventRequestRate = cms.untracked.double(12.0),
0027     SelectEvents = cms.untracked.PSet(
0028         SelectEvents = cms.vstring('*')
0029     ),
0030     headerRetryInterval = cms.untracked.int32(3)
0031 )
0032 process.EventStreamHttpReader.consumerName = 'CSC HLT DQM Consumer'
0033 #process.EventStreamHttpReader.sourceURL = "http://localhost:50082/urn:xdaq-application:lid=29"
0034 
0035 #----------------------------
0036 # DQM Environment
0037 #-----------------------------
0038 
0039 process.load("DQMServices.Core.DQM_cfg")
0040 process.load("DQMServices.Components.DQMEnvironment_cfi")
0041 
0042 #----------------------------
0043 # DQM Playback Environment
0044 #-----------------------------
0045 
0046 process.load("DQM.Integration.test.environment_playback_cfi")
0047 process.dqmEnv.subSystemFolder    = "CSC"
0048 
0049 process.DQM.collectorHost = 'pccmsdqm02.cern.ch'
0050 #process.DQM.collectorHost = 'localhost'
0051 process.dqmSaver.dirName = '.'
0052 
0053 #-------------------------------------------------
0054 # Global Tag
0055 #-------------------------------------------------
0056 
0057 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0058 #process.GlobalTag.connect = "sqlite_file:/nfshome0/malgeri/public/globtag/CRZT210_V1H.db"
0059 #process.GlobalTag.connect = "frontier://FrontierDev/CMS_COND_CSC"
0060 process.GlobalTag.globaltag = "CRZT210_V1H::All"
0061 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0062 
0063 #--------------------------
0064 # Message Logger
0065 #--------------------------
0066 
0067 MessageLogger = cms.Service("MessageLogger",
0068 
0069   suppressInfo = cms.untracked.vstring('source'),
0070   suppressDebug = cms.untracked.vstring('source'),
0071   suppressWarning = cms.untracked.vstring('source'),
0072 
0073   cout = cms.untracked.PSet(
0074     threshold = cms.untracked.string('INFO'),
0075     WARNING = cms.untracked.PSet(
0076       limit = cms.untracked.int32(0)
0077     ),
0078     noLineBreaks = cms.untracked.bool(False)
0079   ),
0080 
0081   detailedInfo = cms.untracked.PSet(
0082     threshold = cms.untracked.string('INFO')
0083   ),
0084 
0085   critical = cms.untracked.PSet(
0086     threshold = cms.untracked.string('ERROR')
0087   ),
0088 
0089   debug = cms.untracked.PSet(
0090     threshold = cms.untracked.string('DEBUG')
0091   ),
0092 
0093   debugModules = cms.untracked.vstring('CSCHLTMonitormodule'),
0094 
0095   destinations = cms.untracked.vstring(
0096 #    'debug',
0097 #    'detailedInfo', 
0098 #    'critical', 
0099 #    'cout'
0100   )
0101 
0102 )
0103 
0104 #--------------------------
0105 # Sequences
0106 #--------------------------
0107 
0108 process.p = cms.Path(process.cscDQMEvF+process.dqmEnv+process.dqmSaver)
0109 
0110