Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("WRITE")
0004 
0005 process.a = cms.EDProducer("IntProducer",
0006                              ivalue = cms.int32(10))
0007 
0008 process.b = cms.EDProducer("BusyWaitIntProducer",ivalue = cms.int32(1), iterations = cms.uint32(100*1000))
0009 
0010 process.f = cms.EDFilter("ModuloEventIDFilter", modulo = cms.uint32(3), offset = cms.uint32(2) )
0011 
0012 process.p = cms.Path(process.f+process.b, cms.Task(process.a) )
0013 
0014 process.out = cms.OutputModule("PoolOutputModule", fileName = cms.untracked.string("overlap.root"), 
0015                                outputCommands = cms.untracked.vstring("drop *", "keep *_b_*_*","keep *_a_*_*") )
0016 
0017 process.prnt = cms.OutputModule("AsciiOutputModule", 
0018                                outputCommands = cms.untracked.vstring("drop *", "keep *_b_*_*","keep *_a_*_*") )
0019 
0020 process.source = cms.Source("EmptySource", numberEventsInLuminosityBlock = cms.untracked.uint32(3))
0021 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0022 
0023 process.o = cms.EndPath(process.out)
0024 process.o2 = cms.EndPath(process.prnt) 
0025 
0026 process.options = cms.untracked.PSet( numberOfThreads = cms.untracked.uint32(3),
0027                                       numberOfStreams = cms.untracked.uint32(0),
0028                                       numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(2))