Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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