Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.source = cms.Source("EmptySource")
0006 
0007 process.options = cms.untracked.PSet(
0008     numberOfThreads = cms.untracked.uint32(2),
0009     numberOfStreams = cms.untracked.uint32(0)
0010 )
0011 
0012 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(2) )
0013 
0014 process.filter = cms.EDFilter("ModuloStreamIDFilter",
0015                               modulo = cms.uint32(2),
0016                               offset = cms.uint32(1))
0017 
0018 process.fail = cms.EDProducer("FailingProducer")
0019 
0020 process.p = cms.Path(process.filter+process.fail)
0021 
0022 #process.add_(cms.Service("Tracer"))