CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/DQM/L1TMonitor/python/L1TDQM_cfg.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 #looper = IterateNTimesLooper{
00004 #         uint32 nTimes = 1000
00005 #}
00006 #       source = HcalTBSource {
00007 #               untracked vstring fileNames = {'file:/uscms_data/d1/wfisher/tmp_dat/USC_000274.root'}
00008 #               untracked vstring streams = { 'HCAL_DCC719','HCAL_DCC721','HCAL_DCC723'}
00009 #       }
00010 #   source = EventStreamHttpReader
00011 #          {
00012 #             string sourceURL = "https://cmsdisk1.cms:48500/urn:xdaq-application:service=storagemanager"
00013 #             int32 max_event_size = 7000000
00014 #             int32 max_queue_depth = 5
00015 #             untracked string consumerName = "Test Consumer"
00016 #             untracked string consumerPriority = "normal"
00017 #             untracked int32 headerRetryInterval = 3  // seconds
00018 #             untracked double maxEventRequestRate = 100.  // hertz
00019 #untracked PSet SelectEvents = { vstring SelectEvents= {"p2"} }
00020 #             untracked PSet SelectEvents = { vstring SelectEvents= {"*"} }
00021 #          }
00022 #       source = PoolSource{
00023 #               untracked vstring fileNames={
00024 #
00025 #               "file:testSourceCardTextToRctDigi.root"
00026 #"file:/nfshome0/berryhil/CMSSW_1_4_0_DAQ1/src/testGt_Unpacker_output.root"
00027 #               }
00028 #               untracked bool debugVebosity = false
00029 #              untracked uint32 debugVerbosity = 1 
00030 #               untracked int32 maxEvents = -1
00031 #       }
00032 #
00033 #  DQM SERVICES
00034 #
00035 
00036 # Message Logger service
00037 #include "FWCore/MessageService/data/MessageLogger.cfi"
00038 # uncomment / comment messages with DEBUG mode to run in DEBUG mode
00039 
00040 import FWCore.ParameterSet.Config as cms
00041 
00042 process = cms.Process("DQM")
00043 #
00044 #  DQM SOURCES
00045 #
00046 process.load("DQM.L1TMonitor.L1TMonitor_cff")
00047 
00048 process.maxEvents = cms.untracked.PSet(
00049     input = cms.untracked.int32(-1)
00050 )
00051 process.source = cms.source("NewEventStreamFileReader",
00052     max_event_size = cms.int32(7000000),
00053     fileNames = cms.untracked.vstring('mdaqGLOBAL.00010083.0000.A.test.0.0000.dat'),
00054     max_queue_depth = cms.int32(5)
00055 )
00056 
00057 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
00058 
00059 process.DaqMonitorROOTBackEnd = cms.Service("DaqMonitorROOTBackEnd")
00060 
00061 process.LockService = cms.Service("LockService",
00062     labels = cms.untracked.vstring('source')
00063 )
00064 
00065 process.DQMShipMonitoring = cms.Service("DQMShipMonitoring",
00066     # event-period for shipping monitoring to collector (default: 25)
00067     period = cms.untracked.uint32(5)
00068 )
00069 
00070 process.MonitorDaemon = cms.Service("MonitorDaemon",
00071     AutoInstantiate = cms.untracked.bool(True),
00072     # at cmsuaf
00073     DestinationAddress = cms.untracked.string('cmsroc2'),
00074     # on cms online cluster
00075     #       untracked string DestinationAddress = "rubus2d16-13"
00076     # on lxplus
00077     #       untracked string DestinationAddress = "lxplus005.cern.ch"
00078     SendPort = cms.untracked.int32(9090),
00079     NameAsSource = cms.untracked.string('GlobalDQM'),
00080     UpdateDelay = cms.untracked.int32(1000),
00081     reconnect_delay = cms.untracked.int32(5)
00082 )
00083 
00084 process.MessageLogger = cms.Service("MessageLogger",
00085     testGt_Unpacker = cms.untracked.PSet(
00086         threshold = cms.untracked.string('DEBUG'), ## DEBUG mode 
00087 
00088         DEBUG = cms.untracked.PSet( ## DEBUG mode, all messages  
00089 
00090             limit = cms.untracked.int32(-1)
00091         ),
00092         #        untracked PSet DEBUG = { untracked int32 limit = 10}  // DEBUG mode, max 10 messages  
00093         INFO = cms.untracked.PSet(
00094             limit = cms.untracked.int32(-1)
00095         )
00096     ),
00097     debugModules = cms.untracked.vstring('l1GtUnpack'), ## DEBUG mode      
00098 
00099     destinations = cms.untracked.vstring('testGt_Unpacker')
00100 )
00101 
00102