Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-21 01:09:13

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DQM")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.debugModules = cms.untracked.vstring('*')
0007 process.MessageLogger.resolution=dict()
0008 process.MessageLogger.cerr =  cms.untracked.PSet(
0009     threshold = cms.untracked.string('DEBUG'),
0010     noLineBreaks = cms.untracked.bool(False),
0011     DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0012     INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0013     resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
0014 )
0015 
0016 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0017 from Configuration.AlCa.autoCond import autoCond
0018 process.GlobalTag.globaltag=autoCond['run3_data']
0019 process.load("Configuration.StandardSequences.GeometryDB_cff")
0020 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0021 
0022 process.load("CondCore.CondDB.CondDB_cfi")
0023 
0024 process.load("DQMServices.Core.DQM_cfg")
0025 
0026 process.source = cms.Source("PoolSource",
0027     fileNames = cms.untracked.vstring()
0028 )
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031     input = cms.untracked.int32(-1)
0032 )
0033 
0034 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0035 
0036 process.dtunpacker = cms.EDProducer("DTUnpackingModule",
0037     dataType = cms.string('DDU'),
0038     inputLabel = cms.InputTag('source'),
0039     fedbyType = cms.bool(False),
0040     useStandardFEDid = cms.bool(True),
0041     dqmOnly = cms.bool(False),                       
0042     readOutParameters = cms.PSet(
0043         debug = cms.untracked.bool(False),
0044         rosParameters = cms.PSet(
0045             writeSC = cms.untracked.bool(True),
0046             readingDDU = cms.untracked.bool(True),
0047             performDataIntegrityMonitor = cms.untracked.bool(False),
0048             readDDUIDfromDDU = cms.untracked.bool(True),
0049             debug = cms.untracked.bool(False),
0050             localDAQ = cms.untracked.bool(False)
0051         ),
0052         localDAQ = cms.untracked.bool(False),
0053         performDataIntegrityMonitor = cms.untracked.bool(False)
0054     )
0055 )
0056 
0057 # test pulse monitoring
0058 process.load("DQM.DTMonitorModule.dtDigiTask_TP_cfi")
0059 process.load("DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
0060 process.dtTPmonitor.readDB = True
0061 #process.dtTPmonitor.defaultTtrig = 350
0062 #process.dtTPmonitor.defaultTmax = 50
0063 process.dtTPmonitor.inTimeHitsLowerBound = 0
0064 process.dtTPmonitor.inTimeHitsUpperBound = 0
0065 
0066 process.output = cms.OutputModule("PoolOutputModule",
0067     outputCommands = cms.untracked.vstring('drop *', 
0068                                            'keep *_MEtoEDMConverter_*_DQM'),
0069     fileName = cms.untracked.string('DQM.root')
0070 )
0071 
0072 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0073 #process.DQM.collectorHost = ''
0074 
0075 process.p = cms.Path(process.dtunpacker*
0076                      process.dtTPmonitor+process.dtTPmonitorTest+
0077                      process.MEtoEDMConverter)
0078 process.outpath = cms.EndPath(process.output)