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.MagneticField_AutoFromDBCurrent_cff")
19 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
20 process.GlobalTag.globaltag =
""
22 process.load(
"CondCore.CondDB.CondDB_cfi")
24 process.load(
"DQMServices.Core.DQM_cfg")
26 process.source = cms.Source(
"PoolSource",
27 fileNames = cms.untracked.vstring()
30 process.maxEvents = cms.untracked.PSet(
31 input = cms.untracked.int32(-1)
34 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
36 process.dtunpacker = cms.EDProducer(
"DTUnpackingModule",
37 dataType = cms.string(
'DDU'),
38 inputLabel = cms.InputTag(
'source'),
39 fedbyType = cms.bool(
False),
40 useStandardFEDid = cms.bool(
True),
41 dqmOnly = cms.bool(
False),
42 readOutParameters = cms.PSet(
43 debug = cms.untracked.bool(
False),
44 rosParameters = cms.PSet(
45 writeSC = cms.untracked.bool(
True),
46 readingDDU = cms.untracked.bool(
True),
47 performDataIntegrityMonitor = cms.untracked.bool(
False),
48 readDDUIDfromDDU = cms.untracked.bool(
True),
49 debug = cms.untracked.bool(
False),
50 localDAQ = cms.untracked.bool(
False)
52 localDAQ = cms.untracked.bool(
False),
53 performDataIntegrityMonitor = cms.untracked.bool(
False)
58 process.load(
"DQM.DTMonitorModule.dtDigiTask_TP_cfi")
59 process.load(
"DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
60 process.dtTPmonitor.readDB =
True
63 process.dtTPmonitor.inTimeHitsLowerBound = 0
64 process.dtTPmonitor.inTimeHitsUpperBound = 0
66 process.output = cms.OutputModule(
"PoolOutputModule",
67 outputCommands = cms.untracked.vstring(
'drop *',
68 'keep *_MEtoEDMConverter_*_DQM'),
69 fileName = cms.untracked.string(
'DQM.root')
72 process.load(
"DQMServices.Components.MEtoEDMConverter_cff")
75 process.p = cms.Path(process.dtunpacker*
76 process.dtTPmonitor+process.dtTPmonitorTest+
77 process.MEtoEDMConverter)
78 process.outpath = cms.EndPath(process.output)