Go to the documentation of this file.00001
00002
00003
00004
00005
00006 import FWCore.ParameterSet.Config as cms
00007 def customise(process):
00008
00009 process.__dict__['_Process__name']='SIMRestoringSeeds'
00010
00011 process.PoolSource.skipEvents=cms.untracked.uint32(3)
00012
00013 process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string('rndmStore')
00014 process.RandomNumberGeneratorService.VtxSmeared.initialSeed = cms.untracked.uint32(1)
00015 process.RandomNumberGeneratorService.g4SimHits.initialSeed = cms.untracked.uint32(1)
00016 process.RandomNumberGeneratorService.mix.initialSeed = cms.untracked.uint32(1)
00017 process.RandomNumberGeneratorService.simSiPixelDigis.initialSeed = cms.untracked.uint32(1)
00018 process.RandomNumberGeneratorService.simSiStripDigis.initialSeed = cms.untracked.uint32(1)
00019 process.RandomNumberGeneratorService.simEcalUnsuppressedDigis.initialSeed = cms.untracked.uint32(1)
00020 process.RandomNumberGeneratorService.simHcalUnsuppressedDigis.initialSeed = cms.untracked.uint32(1)
00021 process.RandomNumberGeneratorService.simMuonCSCDigis.initialSeed = cms.untracked.uint32(1)
00022 process.RandomNumberGeneratorService.simMuonDTDigis.initialSeed = cms.untracked.uint32(1)
00023 process.RandomNumberGeneratorService.simMuonRPCDigis.initialSeed = cms.untracked.uint32(1)
00024
00025 del process.RandomNumberGeneratorService.theSource
00026
00027 process.output.outputCommands.append("drop *_*_*_Sim")
00028 process.output.outputCommands.append("keep RandomEngineStates_*_*_*")
00029 process.g4SimHits_step=cms.Path(process.g4SimHits)
00030
00031
00032 del process.schedule[:]
00033
00034 process.schedule.append(process.g4SimHits_step)
00035 process.schedule.append(process.out_step)
00036
00037 process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
00038 ignoreTotal=cms.untracked.int32(1),
00039 oncePerEventMode=cms.untracked.bool(True))
00040
00041 process.Timing=cms.Service("Timing")
00042 return(process)