CMS 3D CMS Logo

dtTPDQM_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.StandardSequences.Eras import eras
3 
4 process = cms.Process("DQM",eras.Run3)
5 
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))
15 )
16 
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")
22 
23 process.load("CondCore.CondDB.CondDB_cfi")
24 
25 process.load("DQMServices.Core.DQM_cfg")
26 
27 process.source = cms.Source("PoolSource",
28  fileNames = cms.untracked.vstring()
29 )
30 
31 process.maxEvents = cms.untracked.PSet(
32  input = cms.untracked.int32(-1)
33 )
34 
35 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
36 
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)
52  ),
53  localDAQ = cms.untracked.bool(False),
54  performDataIntegrityMonitor = cms.untracked.bool(False)
55  )
56 )
57 
58 # test pulse monitoring
59 process.load("DQM.DTMonitorModule.dtDigiTask_TP_cfi")
60 process.load("DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
61 process.dtTPmonitor.readDB = True
62 #process.dtTPmonitor.defaultTtrig = 350
63 #process.dtTPmonitor.defaultTmax = 50
64 process.dtTPmonitor.inTimeHitsLowerBound = 0
65 process.dtTPmonitor.inTimeHitsUpperBound = 0
66 
67 process.output = cms.OutputModule("PoolOutputModule",
68  outputCommands = cms.untracked.vstring('drop *',
69  'keep *_MEtoEDMConverter_*_DQM'),
70  fileName = cms.untracked.string('DQM.root')
71 )
72 
73 process.load("DQMServices.Components.MEtoEDMConverter_cff")
74 #process.DQM.collectorHost = ''
75 
76 process.p = cms.Path(process.dtunpacker*
77  process.dtTPmonitor+process.dtTPmonitorTest+
78  process.MEtoEDMConverter)
79 process.outpath = cms.EndPath(process.output)