00001
00002
00003
00004
00005
00006 import FWCore.ParameterSet.Config as cms
00007 def customise(process):
00008
00009 process.__dict__['_Process__name']='DIGISavingSeeds'
00010
00011 process.rndmStore=cms.EDProducer("RandomEngineStateProducer")
00012
00013 process.out_step.outputCommands.append("keep RandomEngineStates_*_*_*")
00014 process.rndmStore_step=cms.Path(process.rndmStore)
00015
00016
00017 del process.schedule[:]
00018
00019 process.schedule.append(process.digitisation_step)
00020 process.schedule.append(process.rndmStore_step)
00021 process.schedule.append(process.outpath)
00022
00023 process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
00024 ignoreTotal=cms.untracked.int32(1),
00025 oncePerEventMode=cms.untracked.bool(True))
00026
00027 process.Timing=cms.Service("Timing")
00028
00029
00030
00031 process.MessageLogger.destinations=cms.untracked.vstring('warnings'
00032 , 'errors'
00033 , 'infos'
00034 , 'debugs'
00035 , 'cout'
00036 , 'cerr'
00037 , 'G4msg'
00038 )
00039 process.MessageLogger.categories=cms.untracked.vstring('FwkJob'
00040 ,'FwkReport'
00041 ,'FwkSummary'
00042 ,'Root_NoDictionary'
00043 ,'G4cout'
00044 ,'G4cerr'
00045 )
00046 process.MessageLogger.cerr = cms.untracked.PSet(
00047 noTimeStamps = cms.untracked.bool(True)
00048 )
00049 process.MessageLogger.G4msg = cms.untracked.PSet(
00050 noTimeStamps = cms.untracked.bool(True)
00051 ,threshold = cms.untracked.string('INFO')
00052 ,INFO = cms.untracked.PSet(limit = cms.untracked.int32(0))
00053 ,G4cout = cms.untracked.PSet(limit = cms.untracked.int32(-1))
00054 ,G4cerr = cms.untracked.PSet(limit = cms.untracked.int32(-1))
00055 )
00056 return(process)