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