Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:45

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.GeometryDB_cff")
0017 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0018 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0019 process.GlobalTag.globaltag = ""
0020 
0021 process.load("CondCore.CondDB.CondDB_cfi")
0022 
0023 process.load("DQMServices.Core.DQM_cfg")
0024 
0025 process.source = cms.Source("PoolSource",
0026     fileNames = cms.untracked.vstring()
0027 )
0028 
0029 process.maxEvents = cms.untracked.PSet(
0030     input = cms.untracked.int32(-1)
0031 )
0032 
0033 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0034 
0035 process.dtunpacker = cms.EDProducer("DTUnpackingModule",
0036     dataType = cms.string('DDU'),
0037     inputLabel = cms.InputTag('source'),
0038     fedbyType = cms.bool(False),
0039     useStandardFEDid = cms.bool(True),
0040     dqmOnly = cms.bool(False),                       
0041     readOutParameters = cms.PSet(
0042         debug = cms.untracked.bool(False),
0043         rosParameters = cms.PSet(
0044             writeSC = cms.untracked.bool(True),
0045             readingDDU = cms.untracked.bool(True),
0046             performDataIntegrityMonitor = cms.untracked.bool(False),
0047             readDDUIDfromDDU = cms.untracked.bool(True),
0048             debug = cms.untracked.bool(False),
0049             localDAQ = cms.untracked.bool(False)
0050         ),
0051         localDAQ = cms.untracked.bool(False),
0052         performDataIntegrityMonitor = cms.untracked.bool(False)
0053     )
0054 )
0055 
0056 # test pulse monitoring
0057 process.load("DQM.DTMonitorModule.dtDigiTask_TP_cfi")
0058 process.load("DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
0059 process.dtTPmonitor.readDB = True
0060 #process.dtTPmonitor.defaultTtrig = 350
0061 #process.dtTPmonitor.defaultTmax = 50
0062 process.dtTPmonitor.inTimeHitsLowerBound = 0
0063 process.dtTPmonitor.inTimeHitsUpperBound = 0
0064 
0065 process.output = cms.OutputModule("PoolOutputModule",
0066     outputCommands = cms.untracked.vstring('drop *', 
0067                                            'keep *_MEtoEDMConverter_*_DQM'),
0068     fileName = cms.untracked.string('DQM.root')
0069 )
0070 
0071 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0072 #process.DQM.collectorHost = ''
0073 
0074 process.p = cms.Path(process.dtunpacker*
0075                      process.dtTPmonitor+process.dtTPmonitorTest+
0076                      process.MEtoEDMConverter)
0077 process.outpath = cms.EndPath(process.output)