Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-11 03:31:17

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Test")
0004 
0005 process.source = cms.Source("EmptySource")
0006 
0007 process.maxEvents.input = 1
0008 
0009 process.options.numberOfThreads = 2
0010 process.options.numberOfStreams = 0
0011 
0012 process.dummySyncAna = cms.EDAnalyzer("SonicDummyOneAnalyzer",
0013     input = cms.int32(1),
0014     expected = cms.int32(-1),
0015     Client = cms.PSet(
0016         mode = cms.string("Sync"),
0017         factor = cms.int32(-1),
0018         wait = cms.int32(10),
0019         allowedTries = cms.untracked.uint32(0),
0020         fails = cms.uint32(0),
0021     ),
0022 )
0023 
0024 process.dummySyncAnaRetry = process.dummySyncAna.clone(
0025     Client = dict(
0026         wait = 2,
0027         allowedTries = 2,
0028         fails = 1,
0029     )
0030 )
0031 
0032 process.p1 = cms.Path(process.dummySyncAna)
0033 process.p2 = cms.Path(process.dummySyncAnaRetry)