Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:20:50

0001 # extracts histograms from edm file (hltvalidation_DQM.root)
0002 # to produce the validation edm file
0003 #   cmsDriver.py hltvalidation -s DQM --filein file:input.root
0004 #                                     --number -1 --no-exec
0005 # this generates _cfg file from
0006 #   Configuration/StandardSequences/python/Validation_cff.py
0007 # which includes the hlt validation sequence
0008 #   HLTriggerOffline/Common/python/HLTValidation_cff.py
0009 
0010 import FWCore.ParameterSet.Config as cms
0011 
0012 process = cms.Process("EDMtoMEConvert")
0013 process.load("DQMServices.Components.EDMtoMEConverter_cff")
0014 
0015 process.load("DQMServices.Components.DQMEnvironment_cfi")
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(-1)
0019 )
0020 process.MessageLogger = cms.Service("MessageLogger")
0021 
0022 process.source = cms.Source("PoolSource",
0023     fileNames = cms.untracked.vstring('file:hltvalidation_DQM.root')
0024 )
0025 
0026 process.out = cms.OutputModule("PoolOutputModule",
0027     outputCommands = cms.untracked.vstring('drop *', 
0028         'keep *_EDMtoMEConverter_*_*'),
0029     fileName = cms.untracked.string('out.root')
0030 )
0031 
0032 process.p = cms.Path(process.EDMtoMEConverter*process.dqmSaver)
0033 process.outpath = cms.EndPath(process.out)
0034 process.dqmSaver.convention = 'RelVal'
0035 process.dqmSaver.workflow = '/ConverterTester/Test/RECO'