/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/FWLite/test/EmptyFile_cfg.py
19 строк
632 B
W. David Dagenhart
Fix sporadically failing unit tests
01 апр 2015, 21:12
01 апр 2015, 21:12
0728a4b
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("NOCOPY") process.load("FWCore.Framework.test.cmsExceptionsFatal_cff") process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring('file:goodDataFormatsFWLite.root'), # firstRun gives a file with no runs, lumis, or events # firstEvent gives a file with no events, but with runs and lumis # firstRun = cms.untracked.uint32(100) firstEvent = cms.untracked.uint32(100) ) process.out = cms.OutputModule("PoolOutputModule", fileName = cms.untracked.string('emptyDataFormatsFWLite.root') ) process.outp = cms.EndPath(process.out)