Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:27

0001 import FWCore.ParameterSet.Config as cms
0002 import FWCore.Utilities.FileUtils as FileUtils
0003 
0004 process = cms.Process("DQM")
0005 process.load("DQMServices.Core.DQM_cfg")
0006 
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 
0009 process.load("EventFilter.ScalersRawToDigi.ScalersRawToDigi_cfi")
0010 
0011 process.load("DQM.TrigXMonitor.L1TScalersSCAL_cfi")
0012 
0013 process.load("DQMServices.Components.DQMEnvironment_cfi")
0014 
0015 process.maxEvents = cms.untracked.PSet(
0016     #input = cms.untracked.int32(100)
0017     input = cms.untracked.int32(-1)
0018 )
0019 
0020 process.source = cms.Source("PoolSource",
0021 #    debugVerbosity = cms.untracked.uint32(1),
0022 #    debugVebosity = cms.untracked.bool(True),
0023     fileNames = cms.untracked.vstring(
0024 #        '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/FC1AFFE1-4609-DE11-928D-001D09F29597.root',
0025 #        '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/FE143197-2C09-DE11-8CE8-000423D98844.root'
0026 
0027 #   '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/00D22895-3109-DE11-A8A8-0030487A3C9A.root'
0028 #       '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/02427DDC-4609-DE11-B6F4-001D09F26C5C.root'
0029 #        '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/04329D1E-4D09-DE11-9434-001617C3B78C.root'
0030 #        '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/04710543-4A09-DE11-90DA-000423D174FE.root'
0031  #       '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/06685B48-3C09-DE11-B465-001617C3B5E4.root',
0032  #       '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/06818771-2D09-DE11-BB50-0019B9F72CC2.root',
0033  #       '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/08C598DA-3009-DE11-8ABA-001617C3B6DC.root',
0034  #       '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/08EDE497-3109-DE11-B76A-00304879FA4C.root',
0035  #       '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/0CEE5190-4E09-DE11-8729-001617E30F48.root',
0036  #       '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/0E866721-5909-DE11-84F7-001D09F231C9.root',
0037  #       '/store/data/Commissioning09/Cosmics/RAW/v1/000/077/023/101518B2-3609-DE11-A3C5-001D09F2A690.root',
0038 
0039 
0040 
0041 #        '/store/data/Commissioning09/Cosmics/RAW/v1/000/081/156/46774F48-8324-DE11-8255-000423D996B4.root',
0042 #        '/store/data/Commissioning09/Cosmics/RAW/v1/000/081/156/C4042044-8324-DE11-B07D-000423D944FC.root'
0043 
0044 #        '/store/data/Commissioning09/Cosmics/RAW/v1/000/082/548/0617B763-4930-DE11-BCB4-000423D9997E.root',
0045 #        '/store/data/Commissioning09/Cosmics/RAW/v1/000/082/548/08758193-4930-DE11-B023-000423D99996.root'
0046     'file:/tmp/00661694-BA67-DF11-810D-000423D98C20.root'
0047     )
0048 #    skipEvents = cms.untracked.uint32(5000)
0049 )
0050 
0051 
0052 #process.source = cms.Source("NewEventStreamFileReader",
0053 #    fileNames = cms.untracked.vstring('file:/nfshome0/lorenzo/305FBD08-D78F-DD11-A1D6-001617C3B65A.root')
0054 #   fileNames = cms.untracked.vstring(
0055 #        'file:/cmsdisk1/lookarea_SM/GlobalMW40.00064245.0001.HLTDEBUG.storageManager.01.0000.dat',
0056 #        'file:/cmsdisk1/lookarea_SM/GlobalMW40.00064210.0001.HLTDEBUG.storageManager.03.0000.dat'
0057 #  )
0058 #)
0059 
0060 
0061 #process.p = cms.EndPath(process.hlts+process.hltsClient)
0062 
0063 process.assist = cms.Path(process.scalersRawToDigi)
0064 
0065 process.p = cms.EndPath(process.l1tscalers)
0066 
0067 process.pp = cms.Path(process.dqmEnv+process.dqmSaver)
0068 process.DQMStore.verbose = 0
0069 #process.DQM.collectorHost = 'srv-c2d05-12'
0070 process.DQM.collectorHost = 'lxplus255'
0071 process.DQM.collectorPort = 9190
0072 
0073 process.dqmSaver.dirName = '.'
0074 process.dqmSaver.producer = 'Playback'
0075 process.dqmSaver.convention = 'Online'
0076 process.dqmEnv.subSystemFolder = 'L1T'
0077 process.dqmSaver.saveByRun = 1
0078 process.dqmSaver.saveAtJobEnd = True
0079 
0080 # Message Logger
0081 #process.load("FWCore.MessageService.MessageLogger_cfi")
0082 #
0083 #process.MessageLogger.destinations = ['cout', 'detailedInfo', 'critical']
0084 #process.MessageLogger.cout = cms.untracked.PSet(
0085      #threshold = cms.untracked.string('ERROR'),
0086 #    threshold = cms.untracked.string('INFO'),
0087 #    INFO = cms.untracked.PSet(
0088 #      limit = cms.untracked.int32(-1)
0089 #    ),
0090     #threshold = cms.untracked.string('DEBUG'),
0091     #DEBUG = cms.untracked.PSet(
0092     #   limit = cms.untracked.int32(-1) ## DEBUG, all messages
0093     #)
0094 #  )
0095 
0096 # 
0097 # # copy stdout to a file
0098 #process.MessageLogger.detailedInfo = process.MessageLogger.cout
0099 # process.MessageLogger.debugModules = ['hltResults']
0100 # process.MessageLogger.critical = cms.untracked.PSet(
0101 #     threshold = cms.untracked.string('ERROR'),
0102 #     #threshold = cms.untracked.string('INFO'),
0103 #     #INFO = cms.untracked.PSet(
0104 #     # limit = cms.untracked.int32(-1)
0105 #     #)#,
0106 #     #threshold = cms.untracked.string('DEBUG'),
0107 #     ERROR = cms.untracked.PSet(
0108 #     limit = cms.untracked.int32(-1) ## all messages
0109 #     )
0110 #     )
0111 # # summary
0112 process.options = cms.untracked.PSet(
0113     wantSummary = cms.untracked.bool(True)
0114     )
0115 
0116 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0117