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 process = cms.Process("PRODMIXNEW")
0005 process.load("SimGeneral.MixingModule.mixLowLumPU_mixProdStep1_cfi")
0006
0007 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0008 moduleSeeds = cms.PSet(
0009 mix = cms.untracked.uint32(12345)
0010 )
0011 )
0012
0013 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
0014 oncePerEventMode = cms.untracked.bool(True),
0015 ignoreTotal = cms.untracked.int32(1)
0016 )
0017
0018 process.source = cms.Source("PoolSource",
0019 fileNames = cms.untracked.vstring('/store/relval/CMSSW_3_1_0_pre11/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V1-v1/0001/FEAEE71D-D664-DE11-88EA-003048767E51.root')
0020 )
0021
0022 process.maxEvents = cms.untracked.PSet(
0023 input = cms.untracked.int32(10)
0024 )
0025
0026 process.CFWriter = cms.EDProducer("CFWriter",
0027 maxBunch = cms.int32(3),
0028 minBunch = cms.int32(-5),
0029
0030 mixObjects = cms.PSet(
0031 mixCH = cms.PSet(
0032 mixCaloHits
0033 ),
0034 mixTracks = cms.PSet(
0035 mixSimTracks
0036 ),
0037 mixVertices = cms.PSet(
0038 mixSimVertices
0039 ),
0040 mixSH = cms.PSet(
0041 mixSimHits
0042 ),
0043 mixHepMC = cms.PSet(
0044 mixHepMCProducts
0045 )
0046 )
0047 )
0048
0049 process.out = cms.OutputModule("PoolOutputModule",
0050 outputCommands = cms.untracked.vstring('drop *_*_*_*',
0051 'keep *_*_*_PRODMIXNEW'),
0052 fileName = cms.untracked.string('file:/tmp/ebecheva/PCFwriterMixCollTest.root')
0053 )
0054
0055 process.MessageLogger = cms.Service("MessageLogger",
0056 debugModules = cms.untracked.vstring('mix'),
0057 cout = cms.untracked.PSet(
0058 threshold = cms.untracked.string('DEBUG'),
0059 DEBUG = cms.untracked.PSet(
0060 limit = cms.untracked.int32(0)
0061 ),
0062 MixingModule = cms.untracked.PSet(
0063 limit = cms.untracked.int32(1000000)
0064 )
0065 ),
0066 categories = cms.untracked.vstring('MixingModule'),
0067 destinations = cms.untracked.vstring('cout')
0068 )
0069
0070
0071 process.p = cms.Path(process.mix+process.CFWriter)
0072 process.outpath = cms.EndPath(process.out)
0073
0074