Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-08-19 01:41:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("FALLBACK2")
0004 from IOPool.Input.modules import PoolSource
0005 process.source = PoolSource(
0006     fileNames = cms.untracked.vstring(
0007         'file:testNoProcessFallback1.root',
0008     )
0009 )
0010 
0011 from FWCore.Modules.modules import timestudy_SleepingProducer
0012 process.intProducer = timestudy_SleepingProducer( ivalue = 2, eventTimes = [0] )
0013 
0014 from FWCore.Modules.modules import EventIDFilter
0015 process.keeper = EventIDFilter(
0016         eventsToPass = [cms.EventID(1,1,3), cms.EventID(1,1,4), cms.EventID(1,1,7), cms.EventID(1,1,8)]
0017 )
0018 
0019 from IOPool.Output.modules import PoolOutputModule
0020 process.out = PoolOutputModule(
0021     fileName = 'testNoProcessFallback2.root',
0022 )
0023 
0024 process.p = cms.Path(process.keeper + process.intProducer )
0025 process.e = cms.EndPath(process.out)