Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-31 22:25:50

0001 import glob
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process('HARVESTING')
0005 
0006 # read all the DQMIO files produced by the previous jobs
0007 process.source = cms.Source("DQMRootSource",
0008     fileNames = cms.untracked.vstring( sorted( "file:%s" % f for f in glob.glob("DQMIO*.root") ) )
0009 )
0010 
0011 # load the HLT harvesting sequence
0012 process.load('HLTrigger.Configuration.hltHarvestingSequence_cff')
0013 
0014 # DQM file saver
0015 process.load('DQMServices.Components.DQMFileSaver_cfi')
0016 process.dqmSaver.convention   = "Online"
0017 process.dqmSaver.saveByRun    = 1
0018 process.dqmSaver.saveAtJobEnd = False
0019 process.dqmSaver.workflow     = "/DQM/HLT/Online"
0020 
0021 process.DQMFileSaverOutput = cms.EndPath( process.HLTHarvestingSequence + process.dqmSaver )