CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TDQM_cfg.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 #looper = IterateNTimesLooper{
4 # uint32 nTimes = 1000
5 #}
6 # source = HcalTBSource {
7 # untracked vstring fileNames = {'file:/uscms_data/d1/wfisher/tmp_dat/USC_000274.root'}
8 # untracked vstring streams = { 'HCAL_DCC719','HCAL_DCC721','HCAL_DCC723'}
9 # }
10 # source = EventStreamHttpReader
11 # {
12 # string sourceURL = "http://cmsdisk1.cms:48500/urn:xdaq-application:service=storagemanager"
13 # int32 max_event_size = 7000000
14 # int32 max_queue_depth = 5
15 # untracked string consumerName = "Test Consumer"
16 # untracked string consumerPriority = "normal"
17 # untracked int32 headerRetryInterval = 3 // seconds
18 # untracked double maxEventRequestRate = 100. // hertz
19 #untracked PSet SelectEvents = { vstring SelectEvents= {"p2"} }
20 # untracked PSet SelectEvents = { vstring SelectEvents= {"*"} }
21 # }
22 # source = PoolSource{
23 # untracked vstring fileNames={
24 #
25 # "file:testSourceCardTextToRctDigi.root"
26 #"file:/nfshome0/berryhil/CMSSW_1_4_0_DAQ1/src/testGt_Unpacker_output.root"
27 # }
28 # untracked bool debugVebosity = false
29 # untracked uint32 debugVerbosity = 1
30 # untracked int32 maxEvents = -1
31 # }
32 #
33 # DQM SERVICES
34 #
35 
36 # Message Logger service
37 #include "FWCore/MessageService/data/MessageLogger.cfi"
38 # uncomment / comment messages with DEBUG mode to run in DEBUG mode
39 
40 import FWCore.ParameterSet.Config as cms
41 
42 process = cms.Process("DQM")
43 #
44 # DQM SOURCES
45 #
46 process.load("DQM.L1TMonitor.L1TMonitor_cff")
47 
48 process.maxEvents = cms.untracked.PSet(
49  input = cms.untracked.int32(-1)
50 )
51 process.source = cms.Source("NewEventStreamFileReader",
52  max_event_size = cms.int32(7000000),
53  fileNames = cms.untracked.vstring('mdaqGLOBAL.00010083.0000.A.test.0.0000.dat'),
54  max_queue_depth = cms.int32(5)
55 )
56 
57 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
58 
59 process.DaqMonitorROOTBackEnd = cms.Service("DaqMonitorROOTBackEnd")
60 
61 process.LockService = cms.Service("LockService",
62  labels = cms.untracked.vstring('source')
63 )
64 
65 process.DQMShipMonitoring = cms.Service("DQMShipMonitoring",
66  # event-period for shipping monitoring to collector (default: 25)
67  period = cms.untracked.uint32(5)
68 )
69 
70 process.MonitorDaemon = cms.Service("MonitorDaemon",
71  AutoInstantiate = cms.untracked.bool(True),
72  # at cmsuaf
73  DestinationAddress = cms.untracked.string('cmsroc2'),
74  # on cms online cluster
75  # untracked string DestinationAddress = "rubus2d16-13"
76  # on lxplus
77  # untracked string DestinationAddress = "lxplus005.cern.ch"
78  SendPort = cms.untracked.int32(9090),
79  NameAsSource = cms.untracked.string('GlobalDQM'),
80  UpdateDelay = cms.untracked.int32(1000),
81  reconnect_delay = cms.untracked.int32(5)
82 )
83 
84 process.MessageLogger = cms.Service("MessageLogger",
85  testGt_Unpacker = cms.untracked.PSet(
86  threshold = cms.untracked.string('DEBUG'), ## DEBUG mode
87 
88  DEBUG = cms.untracked.PSet( ## DEBUG mode, all messages
89 
90  limit = cms.untracked.int32(-1)
91  ),
92  # untracked PSet DEBUG = { untracked int32 limit = 10} // DEBUG mode, max 10 messages
93  INFO = cms.untracked.PSet(
94  limit = cms.untracked.int32(-1)
95  )
96  ),
97  debugModules = cms.untracked.vstring('l1GtUnpack'), ## DEBUG mode
98 
99  destinations = cms.untracked.vstring('testGt_Unpacker')
100 )
101 
102