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("CSCDQMLIVE")
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.test.inputsource_cfi")
0026 process.EventStreamHttpReader.consumerName = 'CSC DQM Consumer'
0027 
0028 #----------------------------
0029 # DQM Environment
0030 #-----------------------------
0031 
0032 process.load("DQMServices.Core.DQM_cfg")
0033 process.load("DQMServices.Components.DQMEnvironment_cfi")
0034 
0035 
0036 #----------------------------
0037 # DQM Playback Environment
0038 #-----------------------------
0039 
0040 process.load("DQM.Integration.test.environment_playback_cfi")
0041 process.dqmEnv.subSystemFolder    = "CSC"
0042 
0043 #process.DQM.collectorHost = 'pccmsdqm02.cern.ch'
0044 process.DQM.collectorHost = 'localhost'
0045 process.dqmSaver.dirName = '.'
0046 
0047 #-----------------------------
0048 # Magnetic Field
0049 #-----------------------------
0050 
0051 process.load("Configuration/StandardSequences/MagneticField_cff")
0052 
0053 #-------------------------------------------------
0054 # GEOMETRY
0055 #-------------------------------------------------
0056 
0057 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0058 
0059 #-------------------------------------------------
0060 # Global Tag
0061 #-------------------------------------------------
0062 
0063 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0064 #process.GlobalTag.connect = "sqlite_file:/nfshome0/malgeri/public/globtag/CRZT210_V1H.db"
0065 #process.GlobalTag.connect = "frontier://FrontierProd/CMS_COND_21X_GLOBALTAG"
0066 #process.GlobalTag.globaltag = "CRZT210_V1H::All"
0067 process.GlobalTag.globaltag = 'CRAFT_V3P::All'
0068 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0069 
0070 #--------------------------
0071 # Web Service
0072 #--------------------------
0073 
0074 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0075 process.AdaptorConfig = cms.Service("AdaptorConfig")
0076 
0077 #--------------------------
0078 # Message Logger
0079 #--------------------------
0080 
0081 MessageLogger = cms.Service("MessageLogger",
0082 
0083 # suppressInfo = cms.untracked.vstring('source'),
0084   suppressInfo = cms.untracked.vstring('*'),
0085 
0086   cout = cms.untracked.PSet(
0087     threshold = cms.untracked.string('INFO'),
0088     WARNING = cms.untracked.PSet(
0089       limit = cms.untracked.int32(0)
0090     ),
0091     noLineBreaks = cms.untracked.bool(False)
0092   ),
0093 
0094   detailedInfo = cms.untracked.PSet(
0095     threshold = cms.untracked.string('INFO')
0096   ),
0097 
0098   critical = cms.untracked.PSet(
0099     threshold = cms.untracked.string('ERROR')
0100   ),
0101 
0102   debugModules = cms.untracked.vstring('CSCMonitormodule'),
0103 
0104 #  destinations = cms.untracked.vstring('detailedInfo', 
0105 #    'critical', 
0106 #    'cout')
0107 
0108 )
0109 
0110 #--------------------------
0111 # Sequences
0112 #--------------------------
0113 
0114 #process.p = cms.Path(process.dqmCSCClient+process.dqmEnv+process.dqmSaver)
0115 process.p = cms.Path(process.muonCSCDigis * process.csc2DRecHits * process.cscSegments * process.cscMonitor * process.dqmCSCClient + process.dqmEnv + process.dqmSaver)
0116 
0117