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("DQMFourVectorTest")
0004 
0005 process.load("DQMServices.Core.DQM_cfg")
0006 process.load("DQMServices.Components.DQMEnvironment_cfi")
0007 
0008 #process.load("DQM.HLTEvF.FourVectorHLTOnline_cfi")
0009 #process.load("DQM.HLTEvF.TrigResRateMon_cfi")
0010 
0011 process.load("DQM.HLTEvF.OccupancyPlotter_cfi")
0012 
0013 
0014 process.source = cms.Source("PoolSource",
0015     #fileNames = cms.untracked.vstring('file:/data/ndpc0/b/slaunwhj/rawData/June/0091D91D-D19B-E011-BDCE-001D09F2512C.root')
0016                             fileNames = cms.untracked.vstring('file:/data/ndpc0/c/abrinke1/RAW/170354/SingleMu/08B0697A-B7B0-E011-B0DE-003048D375AA.root')
0017     #fileNames = cms.untracked.vstring('file:/data/ndpc0/b/slaunwhj/ONLINE/CMSSW_4_2_4_hltpatch1/src/UserCode/slaunwhj/hltTest/outputHLTDQMResults.root')
0018     #fileNames = cms.untracked.vstring('file:/data/ndpc0/b/slaunwhj/ONLINE/CMSSW_4_2_4_hltpatch1/src/HLTrigger/Configuration/test/outputHLTDQMResults_nAll_newContents.root')
0019     #fileNames = cms.untracked.vstring('file:/data/ndpc0/b/slaunwhj/ONLINE/CMSSW_4_2_4_hltpatch1/src/HLTrigger/Configuration/test/outputHLTDQMResults_nAll_cosmics_newContents.root')
0020     # Students made these files                        
0021     #fileNames = cms.untracked.vstring('file:/data/ndpc0/c/lwming/CMSSW_4_2_4_hltpatch1/src/HLTrigger/Configuration/test/outputHLTDQMResults_r167102_SingleMu.root')
0022     #fileNames = cms.untracked.vstring('file:/data/ndpc0/c/lwming/CMSSW_4_2_4_hltpatch1/src/HLTrigger/Configuration/test/outputHLTDQMResults_r167281_SingleMu.root')                            
0023 )
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(10)
0027 )
0028 
0029 ################################
0030 #
0031 # Need to do raw to digi 
0032 # in order to use PS providers
0033 #
0034 # This is a hassle
0035 # but I will try it
0036 # following lines are only for
0037 # running the silly RawToDigi
0038 #
0039 ################################
0040 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0041 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0042 process.GlobalTag.globaltag = 'GR_R_42_V14::All'
0043 #process.load('Configuration/StandardSequences/RawToDigi_Data_cff')
0044 
0045 #process.rateMon  = cms.EndPath(process.RawToDigi*process.trRateMon* process.hltResultsOn)
0046 #process.rateMon  = cms.EndPath(process.trRateMon)
0047 
0048 process.pathForOccupancy = cms.EndPath(process.onlineOccPlot)
0049 process.pp = cms.Path(process.dqmEnv+process.dqmSaver)
0050 
0051 process.DQMStore.verbose = 0
0052 process.dqmSaver.dirName = '.'
0053 process.dqmSaver.convention = 'Online'
0054 process.dqmEnv.subSystemFolder = 'HLT'
0055 process.dqmSaver.saveByRun = 1
0056 process.dqmSaver.saveAtJobEnd = True
0057