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("FALLBACK1")
0004 from FWCore.Modules.modules import EmptySource
0005 process.source = EmptySource(
0006     numberEventsInRun = 8,
0007     numberEventsInLuminosityBlock = 8,
0008 )
0009 
0010 process.maxEvents.input = 8
0011 
0012 from FWCore.Modules.modules import timestudy_SleepingProducer
0013 process.intProducer = timestudy_SleepingProducer( ivalue = 1, eventTimes = [0] )
0014 
0015 from FWCore.Modules.modules import EventIDFilter
0016 process.keeper = EventIDFilter(
0017         eventsToPass = [cms.EventID(1,1,2), cms.EventID(1,1,4), cms.EventID(1,1,6), cms.EventID(1,1,8)]
0018 )
0019 
0020 from IOPool.Output.modules import PoolOutputModule
0021 process.out = PoolOutputModule(
0022     fileName = 'testNoProcessFallback1.root',
0023 )
0024 
0025 process.p = cms.Path(process.keeper + process.intProducer )
0026 process.e = cms.EndPath(process.out)