1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"DQM")
5 process.load(
"FWCore.MessageService.MessageLogger_cfi")
6 process.MessageLogger.debugModules = cms.untracked.vstring(
'*')
7 process.MessageLogger.destinations = cms.untracked.vstring(
'cerr')
8 process.MessageLogger.categories.append(
'resolution')
9 process.MessageLogger.cerr = cms.untracked.PSet(
10 threshold = cms.untracked.string(
'DEBUG'),
11 noLineBreaks = cms.untracked.bool(
False),
12 DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
13 INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
14 resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
17 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
18 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff")
19 process.GlobalTag.globaltag =
""
21 process.load(
"CondCore.DBCommon.CondDBSetup_cfi")
23 process.load(
"DQMServices.Core.DQM_cfg")
25 process.source = cms.Source(
"PoolSource",
26 fileNames = cms.untracked.vstring()
29 process.maxEvents = cms.untracked.PSet(
30 input = cms.untracked.int32(-1)
33 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
35 process.dtunpacker = cms.EDProducer(
"DTUnpackingModule",
36 dataType = cms.string(
'DDU'),
37 inputLabel = cms.InputTag(
'source'),
38 fedbyType = cms.bool(
False),
39 useStandardFEDid = cms.bool(
True),
40 dqmOnly = cms.bool(
False),
41 readOutParameters = cms.PSet(
42 debug = cms.untracked.bool(
False),
43 rosParameters = cms.PSet(
44 writeSC = cms.untracked.bool(
True),
45 readingDDU = cms.untracked.bool(
True),
46 performDataIntegrityMonitor = cms.untracked.bool(
False),
47 readDDUIDfromDDU = cms.untracked.bool(
True),
48 debug = cms.untracked.bool(
False),
49 localDAQ = cms.untracked.bool(
False)
51 localDAQ = cms.untracked.bool(
False),
52 performDataIntegrityMonitor = cms.untracked.bool(
False)
57 process.load(
"DQM.DTMonitorModule.dtDigiTask_TP_cfi")
58 process.load(
"DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
59 process.dtTPmonitor.readDB =
True
62 process.dtTPmonitor.inTimeHitsLowerBound = 0
63 process.dtTPmonitor.inTimeHitsUpperBound = 0
65 process.output = cms.OutputModule(
"PoolOutputModule",
66 outputCommands = cms.untracked.vstring(
'drop *',
67 'keep *_MEtoEDMConverter_*_DQM'),
68 fileName = cms.untracked.string(
'DQM.root')
71 process.load(
"DQMServices.Components.MEtoEDMConverter_cff")
74 process.p = cms.Path(process.dtunpacker*
75 process.dtTPmonitor+process.dtTPmonitorTest+
76 process.MEtoEDMConverter)
77 process.outpath = cms.EndPath(process.output)