Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 from SimGeneral.MixingModule.mixObjects_cfi import *
0003 
0004 
0005 process = cms.Process("PRODMIXNEW")
0006 process.load("SimGeneral.MixingModule.mixLowLumPU_mixProdStep2_cfi")
0007 
0008 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0009     moduleSeeds = cms.PSet(
0010         mix = cms.untracked.uint32(12345)
0011     )
0012 )
0013 
0014 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
0015     oncePerEventMode = cms.untracked.bool(True),
0016     ignoreTotal = cms.untracked.int32(1)
0017 )
0018 
0019 process.Timing = cms.Service("Timing")
0020 
0021 process.source = cms.Source("PoolSource",
0022     fileNames = cms.untracked.vstring(
0023     'file:/data/becheva/MixingModule/dataFiles/relval/02C5A172-8203-DE11-86D7-001617C3B5D8TTBar.root')
0024 )
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(1)
0028 )
0029 
0030 process.out = cms.OutputModule("PoolOutputModule",
0031     outputCommands = cms.untracked.vstring('drop *_*_*_*', 
0032         'keep *_*_*_PRODMIXNEW'),
0033     fileName = cms.untracked.string('file:/tmp/ebecheva/testMixProdStep2.root')
0034 )
0035 
0036 process.MessageLogger = cms.Service("MessageLogger",
0037     debugModules = cms.untracked.vstring('mix'),
0038     cout = cms.untracked.PSet(
0039         threshold = cms.untracked.string('DEBUG'),
0040         DEBUG = cms.untracked.PSet(
0041             limit = cms.untracked.int32(0)
0042         ),
0043         MixingModule = cms.untracked.PSet(
0044             limit = cms.untracked.int32(1000000)
0045         )
0046     ),
0047     categories = cms.untracked.vstring('MixingModule'),
0048     destinations = cms.untracked.vstring('cout')
0049 )
0050 
0051 process.p = cms.Path(process.mix)
0052 process.outpath = cms.EndPath(process.out)