Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Revision 1.4  2008/09/02 02:37:22  wittich
0002 # - split L1 code from HLTScalers into L1Scalers
0003 # - update cfi file accordingly
0004 # - make sure to cd to correct directory before booking ME's
0005 #
0006 # Revision 1.3  2008/08/25 21:07:15  wittich
0007 # updated py config file
0008 #
0009 # Revision 1.2  2008/08/24 16:34:56  wittich
0010 # - rate calculation cleanups
0011 # - fix error logging with LogDebug
0012 # - report the actual lumi segment number that we think it might be
0013 #
0014 import FWCore.ParameterSet.Config as cms
0015 
0016 process = cms.Process("DQM")
0017 process.load("DQMServices.Core.DQM_cfg")
0018 
0019 
0020 ### L1TGT unpacking
0021 from DQM.L1TMonitor.L1TGT_unpack_cff import *
0022 l1tgtpath = cms.Path(l1GtUnpack*l1GtEvmUnpack*cms.SequencePlaceholder("l1tgt"))
0023 
0024 #-----------------------------
0025 #  DQM SOURCES
0026 #-----------------------------
0027 
0028 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0029 
0030 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0031 
0032 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0033 
0034 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0035 
0036 #process.GlobalTag.globaltag = 'CRZT210_V1H::All'
0037 #process.prefer("GlobalTag")
0038 
0039 
0040 
0041 
0042 #process.load("DQM.L1TMonitor.L1TGT_unpack_cff")
0043 
0044 #process.load("DQM.L1TMonitor.L1TGT_cfi")
0045 
0046 process.load("DQM.TrigXMonitor.HLTScalers_cfi")
0047 process.load("DQM.TrigXMonitorClient.HLTScalersClient_cfi")
0048 
0049 process.load("DQM.TrigXMonitor.L1Scalers_cfi")
0050 
0051 process.load("DQMServices.Core.DQM_cfg")
0052 
0053 process.load("DQMServices.Components.DQMEnvironment_cfi")
0054 
0055 
0056 process.source = cms.Source("PoolSource",
0057 #process.source = cms.Source("NewEventStreamFileReader",
0058     debugVerbosity = cms.untracked.uint32(1),
0059     debugVebosity = cms.untracked.bool(True),
0060     fileNames = cms.untracked.vstring()
0061 )
0062 # from cff file
0063 process.PoolSource.fileNames = cms.untracked.vstring(
0064 #    'file:/tmp/wittich/0ECC6BE3-5F6F-DD11-A328-0019DB29C614.root',
0065 #    'file:/tmp/wittich/26FD1D12-5E6F-DD11-8C6B-000423D6CA42.root',
0066 #    'file:/tmp/wittich/3E414179-5E6F-DD11-B6DA-001617DBD472.root'
0067    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/0ECC6BE3-5F6F-DD11-A328-0019DB29C614.root',
0068    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/26FD1D12-5E6F-DD11-8C6B-000423D6CA42.root',
0069    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/3E414179-5E6F-DD11-B6DA-001617DBD472.root',
0070    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/4E825423-5F6F-DD11-A891-001617C3B778.root',
0071    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/6C5C8A15-5D6F-DD11-9D27-000423D985E4.root',
0072    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/7A04421E-5F6F-DD11-8681-000423D992A4.root',
0073    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/7C3DC3B1-5F6F-DD11-8D31-001617C3B70E.root',
0074    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/8684AADF-5D6F-DD11-9082-001617DBD332.root',
0075    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/98F7037F-5D6F-DD11-88FE-000423D98DB4.root',
0076    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/A8C09AA5-5D6F-DD11-9DC8-000423D6B358.root',
0077    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/AC2B1871-5F6F-DD11-9949-001617C3B654.root',
0078    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/B499AEAB-5E6F-DD11-A84B-001617C3B6C6.root',
0079    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/CA095D4A-5E6F-DD11-A6DD-000423D6B48C.root',
0080    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/E884D9E4-5D6F-DD11-88AD-000423D6C8E6.root',
0081    '/store/data/Commissioning08/HLTDebug/RAW/CRUZET4_v1/000/058/042/EC646647-626F-DD11-A9AA-000423D98804.root'
0082 )
0083 
0084 process.maxEvents = cms.untracked.PSet(
0085     #input = cms.untracked.int32(2000)
0086     #input = cms.untracked.int32(200)
0087     input = cms.untracked.int32(-1)
0088 )
0089 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0090 
0091 process.MessageLogger = cms.Service("MessageLogger",
0092    #debugModules = cms.untracked.vstring('l1s', 'hlts', 'hltsClient', 'main_input'),
0093    debugModules = cms.untracked.vstring('hltsClient', 'hlts', 'main_input'),
0094    #debugModules = cms.untracked.vstring('*'),
0095                                     categories = cms.untracked.vstring('Status', 'Parameter'),
0096                                     noLineBreaks = cms.untracked.bool(True),
0097                                     destinations = cms.untracked.vstring('detailedInfo', 
0098                                                                          'critical', 
0099                                                                          'cout'),
0100                                     detailedInfo = cms.untracked.PSet(threshold = cms.untracked.string('DEBUG'),
0101                                                                       DEBUG=cms.untracked.PSet(limit=cms.untracked.int32(0)),
0102                                                                       Parameter=cms.untracked.PSet(limit=cms.untracked.int32(-1)),
0103                                                                       Status=cms.untracked.PSet(limit=cms.untracked.int32(-1)),
0104                                                                       Product=cms.untracked.PSet(limit=cms.untracked.int32(100)),
0105                                                                       FwkReport = cms.untracked.PSet(reportEvery = cms.untracked.int32(1000),
0106                                                                                                      limit = cms.untracked.int32(10000000)),
0107                                                                       ),
0108                                     critical = cms.untracked.PSet(threshold = cms.untracked.string('ERROR')),
0109                                     cout = cms.untracked.PSet(threshold = cms.untracked.string('WARNING'),
0110                                                               WARNING = cms.untracked.PSet(limit = cms.untracked.int32(0))),
0111                                     )
0112 
0113 #process.MessageLogger.detailedInfo.FwkReport.reportEvery = 1000
0114 
0115 process.options = cms.untracked.PSet(
0116     wantSummary = cms.untracked.bool(True)
0117     )
0118 #process.assist = cms.Path(process.l1GtUnpack+process.l1tgt)
0119 
0120 process.p = cms.EndPath(process.hlts+process.hltsClient)
0121 process.p3 = cms.EndPath(process.l1s)
0122 
0123 process.dqmWork = cms.Path(process.dqmEnv+process.dqmSaver)
0124 
0125 # process.eca = cms.EDAnalyzer("EventContentAnalyzer")
0126 # process.p4 = cms.Path(process.eca)
0127 
0128 #process.hlts.verbose = True
0129 process.hlts.l1GtData = cms.InputTag("hltGtDigis","","HLT")
0130 process.l1s.l1GtData = cms.InputTag("hltGtDigis","","HLT")
0131 #process.hlts.l1GtData = cms.InputTag("hltGtDigis","","")
0132 
0133 ###########################
0134 ###   DQM Environment   ###
0135 ###########################
0136 
0137 process.DQMStore.verbose = 0
0138 process.DQM.collectorHost = 'srv-c2d05-12'
0139 process.DQM.collectorPort = 9190
0140 process.dqmSaver.convention = 'Online'
0141 process.dqmSaver.dirName = '.'
0142 process.dqmEnv.subSystemFolder = 'HLT'
0143 process.dqmSaver.producer = 'DQM'
0144 process.dqmSaver.saveAtJobEnd = False
0145 
0146 ## HLT REPORT
0147 process.hltrep = cms.EDAnalyzer("HLTrigReport")
0148 process.hltrep.HLTriggerResults = cms.InputTag("TriggerResults","","HLT")
0149 process.hltsum = cms.Path(process.hltrep)
0150