Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:29

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