File indexing completed on 2024-08-27 22:59:10
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def EmptySource(**kwargs):
0004 mod = cms.Source('EmptySource',
0005 numberEventsInRun = cms.optional.untracked.uint32,
0006 numberEventsInLuminosityBlock = cms.optional.untracked.uint32,
0007 firstTime = cms.untracked.uint64(1),
0008 timeBetweenEvents = cms.untracked.uint64(5000000),
0009 eventCreationDelay = cms.untracked.uint32(0),
0010 firstEvent = cms.untracked.uint32(1),
0011 firstLuminosityBlock = cms.untracked.uint32(1),
0012 firstRun = cms.untracked.uint32(1),
0013 firstLuminosityBlockForEachRun = cms.untracked.VLuminosityBlockID(),
0014 processingMode = cms.untracked.string('RunsLumisAndEvents'),
0015 writeStatusFile = cms.untracked.bool(False)
0016 )
0017 for k,v in kwargs.items():
0018 setattr(mod, k, v)
0019 return mod