CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.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))
14 )
15 
16 process.load("Configuration.StandardSequences.GeometryDB_cff")
17 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
18 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
19 process.GlobalTag.globaltag = ""
20 
21 process.load("CondCore.CondDB.CondDB_cfi")
22 
23 process.load("DQMServices.Core.DQM_cfg")
24 
25 process.source = cms.Source("PoolSource",
26  fileNames = cms.untracked.vstring()
27 )
28 
29 process.maxEvents = cms.untracked.PSet(
30  input = cms.untracked.int32(-1)
31 )
32 
33 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
34 
35 process.dtunpacker = cms.EDProducer("DTUnpackingModule",
36  dataType = cms.string('DDU'),
37  inputLabel = cms.InputTag('source'),
38  fedbyType = cms.bool(False),
39  useStandardFEDid = cms.bool(True),
40  dqmOnly = cms.bool(False),
41  readOutParameters = cms.PSet(
42  debug = cms.untracked.bool(False),
43  rosParameters = cms.PSet(
44  writeSC = cms.untracked.bool(True),
45  readingDDU = cms.untracked.bool(True),
46  performDataIntegrityMonitor = cms.untracked.bool(False),
47  readDDUIDfromDDU = cms.untracked.bool(True),
48  debug = cms.untracked.bool(False),
49  localDAQ = cms.untracked.bool(False)
50  ),
51  localDAQ = cms.untracked.bool(False),
52  performDataIntegrityMonitor = cms.untracked.bool(False)
53  )
54 )
55 
56 # test pulse monitoring
57 process.load("DQM.DTMonitorModule.dtDigiTask_TP_cfi")
58 process.load("DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
59 process.dtTPmonitor.readDB = True
60 #process.dtTPmonitor.defaultTtrig = 350
61 #process.dtTPmonitor.defaultTmax = 50
62 process.dtTPmonitor.inTimeHitsLowerBound = 0
63 process.dtTPmonitor.inTimeHitsUpperBound = 0
64 
65 process.output = cms.OutputModule("PoolOutputModule",
66  outputCommands = cms.untracked.vstring('drop *',
67  'keep *_MEtoEDMConverter_*_DQM'),
68  fileName = cms.untracked.string('DQM.root')
69 )
70 
71 process.load("DQMServices.Components.MEtoEDMConverter_cff")
72 #process.DQM.collectorHost = ''
73 
74 process.p = cms.Path(process.dtunpacker*
75  process.dtTPmonitor+process.dtTPmonitorTest+
76  process.MEtoEDMConverter)
77 process.outpath = cms.EndPath(process.output)