Functions | |
def | customise |
def RestoreRandomSeeds_cff::customise | ( | process | ) |
Definition at line 1 of file RestoreRandomSeeds_cff.py.
00002 : 00003 00004 #Renaming the process 00005 process.__dict__['_Process__name']='RestoringSeeds' 00006 00007 #Optionally skipping the first events 00008 #process.PoolSource.skipEvents=cms.untracked.uint32(3) 00009 00010 #Drop on input everything but seeds to be restored 00011 process.source.inputCommands=cms.untracked.vstring('drop *', 00012 'keep RandomEngineStates_*_*_*') 00013 00014 #Adding RandomNumberGeneratorService 00015 process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string('randomEngineStateProducer') 00016 00017 return(process)