CMS 3D CMS Logo

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