/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWIO/RNTupleTempInput/test/PoolInputTest_skipBadFiles_cfg.py
33 строки
2 KB
Christopher Jones
All RNTupleTemp related files
03 дек 2025, 00:03
03 дек 2025, 00:03
fd9ee5f
Код
Авторство
О чём код?
# Test the skipBadFiles option of RNTupleTempSource import FWCore.ParameterSet.Config as cms process = cms.Process("TESTRECO") process.load("FWCore.Framework.test.cmsExceptionsFatal_cff") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) process.intProducer = cms.EDProducer("IntProducer", ivalue = cms.int32(3)) process.a1 = cms.EDAnalyzer("TestFindProduct", inputTags = cms.untracked.VInputTag( cms.InputTag("intProducer") ), expectedSum = cms.untracked.int32(54) ) process.source = cms.Source("RNTupleTempSource", duplicateCheckMode = cms.untracked.string("noDuplicateCheck"), skipBadFiles = cms.untracked.bool(True), skipEvents = cms.untracked.uint32(15), #skips all events in first file fileNames = cms.untracked.vstring('file:PoolInputTest.root', 'file:this_file_doesnt_exist.root', 'file:this_file_doesnt_exist.root', 'file:PoolInputTest.root', 'file:this_file_doesnt_exist.root', 'file:this_file_doesnt_exist.root', 'file:PoolInputTest.root', 'file:this_file_doesnt_exist.root', 'file:this_file_doesnt_exist.root') ) process.p = cms.Path(process.intProducer * process.a1)