1 import FWCore.ParameterSet.Config
as cms
2 from Configuration.StandardSequences.Eras
import eras
4 process = cms.Process(
"DQM",eras.Run3)
6 process.load(
"FWCore.MessageService.MessageLogger_cfi")
7 process.MessageLogger.debugModules = cms.untracked.vstring(
'*')
8 process.MessageLogger.resolution=dict()
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.FrontierConditions_GlobalTag_cff")
18 from Configuration.AlCa.autoCond
import autoCond
19 process.GlobalTag.globaltag=autoCond[
'run3_data']
20 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
21 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
23 process.load(
"CondCore.CondDB.CondDB_cfi")
25 process.load(
"DQMServices.Core.DQM_cfg")
27 process.source = cms.Source(
"PoolSource",
28 fileNames = cms.untracked.vstring()
31 process.maxEvents = cms.untracked.PSet(
32 input = cms.untracked.int32(-1)
35 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
37 process.dtunpacker = cms.EDProducer(
"DTUnpackingModule",
38 dataType = cms.string(
'DDU'),
39 inputLabel = cms.InputTag(
'source'),
40 fedbyType = cms.bool(
False),
41 useStandardFEDid = cms.bool(
True),
42 dqmOnly = cms.bool(
False),
43 readOutParameters = cms.PSet(
44 debug = cms.untracked.bool(
False),
45 rosParameters = cms.PSet(
46 writeSC = cms.untracked.bool(
True),
47 readingDDU = cms.untracked.bool(
True),
48 performDataIntegrityMonitor = cms.untracked.bool(
False),
49 readDDUIDfromDDU = cms.untracked.bool(
True),
50 debug = cms.untracked.bool(
False),
51 localDAQ = cms.untracked.bool(
False)
53 localDAQ = cms.untracked.bool(
False),
54 performDataIntegrityMonitor = cms.untracked.bool(
False)
59 process.load(
"DQM.DTMonitorModule.dtDigiTask_TP_cfi")
60 process.load(
"DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
61 process.dtTPmonitor.readDB =
True 64 process.dtTPmonitor.inTimeHitsLowerBound = 0
65 process.dtTPmonitor.inTimeHitsUpperBound = 0
67 process.output = cms.OutputModule(
"PoolOutputModule",
68 outputCommands = cms.untracked.vstring(
'drop *',
69 'keep *_MEtoEDMConverter_*_DQM'),
70 fileName = cms.untracked.string(
'DQM.root')
73 process.load(
"DQMServices.Components.MEtoEDMConverter_cff")
76 process.p = cms.Path(process.dtunpacker*
77 process.dtTPmonitor+process.dtTPmonitorTest+
78 process.MEtoEDMConverter)
79 process.outpath = cms.EndPath(process.output)