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