CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CalibMuon/DTCalibration/python/dtTPDQM_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("DQM")
00004 
00005 process.load("FWCore.MessageService.MessageLogger_cfi")
00006 process.MessageLogger.debugModules = cms.untracked.vstring('*')
00007 process.MessageLogger.destinations = cms.untracked.vstring('cerr')
00008 process.MessageLogger.categories.append('resolution')
00009 process.MessageLogger.cerr =  cms.untracked.PSet(
00010     threshold = cms.untracked.string('DEBUG'),
00011     noLineBreaks = cms.untracked.bool(False),
00012     DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
00013     INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
00014     resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
00015 )
00016 
00017 process.load("Configuration.StandardSequences.Geometry_cff")
00018 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00019 process.GlobalTag.globaltag = ""
00020 
00021 process.load("CondCore.DBCommon.CondDBSetup_cfi")
00022 
00023 process.load("DQMServices.Core.DQM_cfg")
00024 
00025 process.source = cms.source("PoolSource",
00026     fileNames = cms.untracked.vstring()
00027 )
00028 
00029 process.maxEvents = cms.untracked.PSet(
00030     input = cms.untracked.int32(-1)
00031 )
00032 
00033 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
00034 
00035 process.dtunpacker = cms.EDProducer("DTUnpackingModule",
00036     dataType = cms.string('DDU'),
00037     inputLabel = cms.InputTag('source'),
00038     fedbyType = cms.bool(False),
00039     useStandardFEDid = cms.bool(True),
00040     dqmOnly = cms.bool(False),                       
00041     readOutParameters = cms.PSet(
00042         debug = cms.untracked.bool(False),
00043         rosParameters = cms.PSet(
00044             writeSC = cms.untracked.bool(True),
00045             readingDDU = cms.untracked.bool(True),
00046             performDataIntegrityMonitor = cms.untracked.bool(False),
00047             readDDUIDfromDDU = cms.untracked.bool(True),
00048             debug = cms.untracked.bool(False),
00049             localDAQ = cms.untracked.bool(False)
00050         ),
00051         localDAQ = cms.untracked.bool(False),
00052         performDataIntegrityMonitor = cms.untracked.bool(False)
00053     )
00054 )
00055 
00056 # test pulse monitoring
00057 process.load("DQM.DTMonitorModule.dtDigiTask_TP_cfi")
00058 process.load("DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
00059 process.dtTPmonitor.readDB = True
00060 #process.dtTPmonitor.defaultTtrig = 350
00061 #process.dtTPmonitor.defaultTmax = 50
00062 process.dtTPmonitor.inTimeHitsLowerBound = 0
00063 process.dtTPmonitor.inTimeHitsUpperBound = 0
00064 
00065 process.output = cms.OutputModule("PoolOutputModule",
00066     outputCommands = cms.untracked.vstring('drop *', 
00067                                            'keep *_MEtoEDMConverter_*_DQM'),
00068     fileName = cms.untracked.string('DQM.root')
00069 )
00070 
00071 process.load("DQMServices.Components.MEtoEDMConverter_cff")
00072 process.DQM.collectorHost = ''
00073 
00074 process.p = cms.Path(process.dtunpacker*
00075                      process.dtTPmonitor+process.dtTPmonitorTest+
00076                      process.MEtoEDMConverter)
00077 process.outpath = cms.EndPath(process.output)