Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def SourceWithWaits(*args, **kwargs):
0004   mod = cms.Source('SourceWithWaits',
0005     timePerLumi = cms.required.untracked.double,
0006     sleepAfterStartOfRun = cms.required.untracked.double,
0007     eventsPerLumi = cms.required.untracked.vuint32,
0008     lumisPerRun = cms.required.untracked.uint32,
0009     multipleEntriesForRun = cms.untracked.uint32(0),
0010     multipleEntriesForLumi = cms.untracked.uint32(0),
0011     declareLast = cms.untracked.bool(False),
0012     declareAllLast = cms.untracked.bool(False)
0013   )
0014   for a in args:
0015     mod.update_(a)
0016   mod.update_(kwargs)
0017   return mod