Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:07

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_4sources_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_1/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V2-v1/0002/FA4BC00A-946B-DE11-9AE4-000423D9939C.root',
0020         '/store/relval/CMSSW_3_1_1/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V2-v1/0002/706FCB9B-906B-DE11-959D-000423D991F0.root',
0021         '/store/relval/CMSSW_3_1_1/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V2-v1/0002/64060CE2-926B-DE11-90E5-000423D99A8E.root',
0022         '/store/relval/CMSSW_3_1_1/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V2-v1/0002/426F0F2B-8C6B-DE11-9CA6-000423D991F0.root',
0023         '/store/relval/CMSSW_3_1_1/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V2-v1/0002/3C9F6B26-D86B-DE11-AAB2-001D09F2432B.root' 
0024 )
0025 )
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(10)
0029 )
0030 
0031 process.CFWriter = cms.EDProducer("CFWriter",
0032     maxBunch = cms.int32(3),
0033     minBunch = cms.int32(-5),
0034     
0035     mixObjects = cms.PSet(
0036     mixCH = cms.PSet(
0037       mixCaloHits
0038     ),
0039     mixTracks = cms.PSet(
0040       mixSimTracks
0041     ),
0042    mixVertices = cms.PSet(
0043       mixSimVertices
0044     ),
0045     mixSH = cms.PSet(
0046       mixSimHits
0047     ),
0048     mixHepMC = cms.PSet(
0049       mixHepMCProducts
0050     )
0051     )
0052 )
0053 
0054 process.out = cms.OutputModule("PoolOutputModule",
0055     outputCommands = cms.untracked.vstring('drop *_*_*_*', 
0056         'keep *_*_*_PRODMIXNEW'),
0057     fileName = cms.untracked.string('file:/tmp/ebecheva/MixedData311_4sources.root')
0058 )
0059 
0060 process.MessageLogger = cms.Service("MessageLogger",
0061     debugModules = cms.untracked.vstring('mix'),
0062     cout = cms.untracked.PSet(
0063         threshold = cms.untracked.string('DEBUG'),
0064         DEBUG = cms.untracked.PSet(
0065             limit = cms.untracked.int32(0)
0066         ),
0067         MixingModule = cms.untracked.PSet(
0068             limit = cms.untracked.int32(1000000)
0069         )
0070     ),
0071     categories = cms.untracked.vstring('MixingModule'),
0072     destinations = cms.untracked.vstring('cout')
0073 )
0074 
0075 
0076 process.p = cms.Path(process.mix+process.CFWriter)
0077 process.outpath = cms.EndPath(process.out)
0078 
0079