Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DQM")
0004 
0005 # DQM service
0006 process.load("DQMServices.Core.DQMStore_cfi")
0007 
0008 # MessageLogger
0009 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0010 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0011 
0012 # Global Tag
0013 from Configuration.AlCa.GlobalTag import GlobalTag as customiseGlobalTag
0014 process.GlobalTag = customiseGlobalTag(globaltag = '80X_dataRun2_HLT_v12')
0015 process.GlobalTag.connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS')
0016 
0017 # Source
0018 process.source = cms.Source("PoolSource",
0019   fileNames = cms.untracked.vstring(
0020     '/store/data/Run2016B/HLTPhysics2/RAW/v1/000/272/022/00000/4CE23DEB-CB0D-E611-A6AC-02163E01181C.root'
0021   )
0022 )
0023 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) )
0024 
0025 # unpack L1 digis
0026 process.load("EventFilter.L1TRawToDigi.gtStage2Digis_cfi")
0027 process.gtStage2Digis.InputLabel = cms.InputTag( "rawDataCollector" )
0028 
0029 process.load("DQM.HLTEvF.triggerBxMonitor_cfi")
0030 process.triggerBxMonitor.l1tResults = cms.untracked.InputTag('gtStage2Digis')
0031 process.triggerBxMonitor.hltResults = cms.untracked.InputTag('TriggerResults', '', 'HLT')
0032 
0033 process.load('DQMServices.Components.DQMFileSaver_cfi')
0034 process.dqmSaver.workflow = "/HLT/TriggerBxMonitor/All"
0035 
0036 process.endp = cms.EndPath( process.gtStage2Digis + process.triggerBxMonitor + process.dqmSaver )