Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 import FWCore.ParameterSet.Config as cms
00014 def customise(process):
00015
00016 process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
00017 ignoreTotal=cms.untracked.int32(1),
00018 oncePerEventMode=cms.untracked.bool(True))
00019
00020 process.Timing=cms.Service("Timing")
00021
00022
00023
00024 process.MessageLogger.destinations=cms.untracked.vstring('cout'
00025 ,'cerr'
00026 ,'G4msg'
00027 )
00028 process.MessageLogger.categories=cms.untracked.vstring('FwkJob'
00029 ,'FwkReport'
00030 ,'FwkSummary'
00031 ,'Root_NoDictionary'
00032 ,'TimeReport'
00033 ,'TimeModule'
00034 ,'TimeEvent'
00035 ,'MemoryCheck'
00036 ,'PhysicsList'
00037 ,'G4cout'
00038 ,'G4cerr'
00039 )
00040
00041 process.MessageLogger.G4msg = cms.untracked.PSet(
00042 noTimeStamps = cms.untracked.bool(True)
00043
00044 ,threshold = cms.untracked.string('INFO')
00045 ,INFO = cms.untracked.PSet(limit = cms.untracked.int32(0))
00046 ,FwkReport = cms.untracked.PSet(limit = cms.untracked.int32(0))
00047 ,FwkSummary = cms.untracked.PSet(limit = cms.untracked.int32(0))
00048 ,Root_NoDictionary = cms.untracked.PSet(limit = cms.untracked.int32(0))
00049 ,FwkJob = cms.untracked.PSet(limit = cms.untracked.int32(0))
00050 ,TimeReport = cms.untracked.PSet(limit = cms.untracked.int32(0))
00051 ,TimeModule = cms.untracked.PSet(limit = cms.untracked.int32(0))
00052 ,TimeEvent = cms.untracked.PSet(limit = cms.untracked.int32(0))
00053 ,MemoryCheck = cms.untracked.PSet(limit = cms.untracked.int32(0))
00054
00055
00056
00057
00058
00059 ,PhysicsList = cms.untracked.PSet(limit = cms.untracked.int32(-1))
00060 ,G4cout = cms.untracked.PSet(limit = cms.untracked.int32(-1))
00061 ,G4cerr = cms.untracked.PSet(limit = cms.untracked.int32(-1))
00062 )
00063
00064
00065
00066 process.options = cms.untracked.PSet(
00067 wantSummary = cms.untracked.bool(True)
00068 )
00069
00070
00071 process.IgProfService = cms.Service("IgProfService",
00072 reportFirstEvent = cms.untracked.int32(1),
00073 reportEventInterval = cms.untracked.int32( ( (process.maxEvents.input.value()-1)/2) ),
00074 reportToFileAtPostEvent = cms.untracked.string("| gzip -c > IgProf.%I.gz")
00075 )
00076
00077 return(process)