Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 
0005 process.options = cms.untracked.PSet(
0006     numberOfStreams = cms.untracked.uint32(1)
0007 )
0008 
0009 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0010 
0011     saveFileName = cms.untracked.string('StashState2.data'),
0012 
0013     t1 = cms.PSet(
0014         initialSeed = cms.untracked.uint32(201)
0015     ),
0016     t2 = cms.PSet(
0017         engineName = cms.untracked.string('RanecuEngine'),
0018         initialSeedSet = cms.untracked.vuint32(202, 2)
0019     ),
0020     t3 = cms.PSet(
0021         initialSeed = cms.untracked.uint32(203),
0022         engineName = cms.untracked.string('TRandom3')
0023     ),
0024     t4 = cms.PSet(
0025         engineName = cms.untracked.string('HepJamesRandom'),
0026         initialSeed = cms.untracked.uint32(204)
0027     ),
0028     t6 = cms.PSet(
0029         initialSeed = cms.untracked.uint32(205),
0030         engineName = cms.untracked.string('MixMaxRng')
0031     ),
0032     enableChecking = cms.untracked.bool(True),
0033     verbose = cms.untracked.bool(False)
0034 )
0035 
0036 process.maxEvents = cms.untracked.PSet(
0037     input = cms.untracked.int32(5)
0038 )
0039 
0040 process.source = cms.Source("EmptySource",
0041     firstRun = cms.untracked.uint32(1),
0042     firstLuminosityBlock = cms.untracked.uint32(3),
0043     firstEvent = cms.untracked.uint32(6),
0044     numberEventsInRun = cms.untracked.uint32(100),
0045     numberEventsInLuminosityBlock = cms.untracked.uint32(3)
0046 )
0047 
0048 process.t1 = cms.EDAnalyzer("TestRandomNumberServiceGlobal",
0049                             engineName = cms.untracked.string('HepJamesRandom'),
0050                             seeds = cms.untracked.vuint32(201),
0051                             offset = cms.untracked.uint32(0),
0052                             maxEvents = cms.untracked.uint32(5),
0053                             nStreams = cms.untracked.uint32(1)
0054 )
0055 process.t2 = cms.EDAnalyzer("TestRandomNumberServiceGlobal",
0056                             engineName = cms.untracked.string('RanecuEngine'),
0057                             seeds = cms.untracked.vuint32(202, 2),
0058                             offset = cms.untracked.uint32(0),
0059                             maxEvents = cms.untracked.uint32(5),
0060                             nStreams = cms.untracked.uint32(1)
0061 )
0062 process.t3 = cms.EDAnalyzer("TestRandomNumberServiceGlobal",
0063                             engineName = cms.untracked.string('TRandom3'),
0064                             seeds = cms.untracked.vuint32(203),
0065                             offset = cms.untracked.uint32(0),
0066                             maxEvents = cms.untracked.uint32(5),
0067                             nStreams = cms.untracked.uint32(1)
0068 )
0069 process.t4 = cms.EDAnalyzer("TestRandomNumberServiceGlobal",
0070                             engineName = cms.untracked.string('HepJamesRandom'),
0071                             seeds = cms.untracked.vuint32(204),
0072                             offset = cms.untracked.uint32(0),
0073                             maxEvents = cms.untracked.uint32(5),
0074                             nStreams = cms.untracked.uint32(1)
0075 )
0076 process.t6 = cms.EDAnalyzer("TestRandomNumberServiceGlobal",
0077                             engineName = cms.untracked.string('MixMaxRng'),
0078                             seeds = cms.untracked.vuint32(205),
0079                             offset = cms.untracked.uint32(0),
0080                             maxEvents = cms.untracked.uint32(5),
0081                             nStreams = cms.untracked.uint32(1)
0082 )
0083 
0084 process.randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")
0085 
0086 process.out = cms.OutputModule("PoolOutputModule",
0087     fileName = cms.untracked.string('testRandomService2.root')
0088 )
0089 
0090 process.p = cms.Path(process.t1+process.t2+process.t3+process.t4+process.t6+process.randomEngineStateProducer)
0091 process.o = cms.EndPath(process.out)