File indexing completed on 2024-08-27 22:59:10
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def TestSource(**kwargs):
0004 mod = cms.Source('TestSource',
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 transitions = cms.untracked.VPSet(
0017 cms.PSet()
0018 )
0019 )
0020 for k,v in kwargs.items():
0021 setattr(mod, k, v)
0022 return mod