Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:39

0001 # This is an example to run in playback mode
0002 # Please note that it must be run with the same configuration as the initial job
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("PRODMIXBack")
0006 process.load("SimGeneral.MixingModule.mixLowLumPU_cfi")
0007 
0008 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0009     moduleSeeds = cms.PSet(
0010         mix = cms.untracked.uint32(12345)
0011     )
0012 )
0013 
0014 process.source = cms.Source("PoolSource",
0015     skipEvents = cms.untracked.uint32(1),
0016     fileNames = cms.untracked.vstring('file:/tmp/Cum_store.root')
0017 )
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(-1)
0021 )
0022 process.out = cms.OutputModule("PoolOutputModule",
0023     outputCommands = cms.untracked.vstring('drop *_*_*_*', 
0024         'keep *_*_*_PRODMIX'),
0025     fileName = cms.untracked.string('file:Cum_restored.root')
0026 )
0027 
0028 process.MessageLogger = cms.Service("MessageLogger",
0029     cerr = cms.untracked.PSet(
0030         enable = cms.untracked.bool(False)
0031     ),
0032     cout = cms.untracked.PSet(
0033         DEBUG = cms.untracked.PSet(
0034             limit = cms.untracked.int32(0)
0035         ),
0036         MixingModule = cms.untracked.PSet(
0037             limit = cms.untracked.int32(1000000)
0038         ),
0039         enable = cms.untracked.bool(True),
0040         threshold = cms.untracked.string('DEBUG')
0041     ),
0042     debugModules = cms.untracked.vstring('mix')
0043 )
0044 
0045 process.p = cms.Path(process.mix)
0046 process.outpath = cms.EndPath(process.out)
0047 process.mix.playback = True
0048