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.resolution=dict()
8 process.MessageLogger.cerr = cms.untracked.PSet(
9 threshold = cms.untracked.string(
'DEBUG'),
10 noLineBreaks = cms.untracked.bool(
False),
11 DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
12 INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
13 resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
16 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
17 from Configuration.AlCa.autoCond
import autoCond
18 process.GlobalTag.globaltag=autoCond[
'run3_data']
19 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
20 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
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)