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 
0003 process = cms.Process("PRODMIXNEW")
0004 process.load("SimGeneral.MixingModule.mixLowLumPU_cfi")
0005 
0006 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0007     moduleSeeds = cms.PSet(
0008         mix = cms.untracked.uint32(12345)
0009     )
0010 )
0011 
0012 #process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
0013 #    oncePerEventMode = cms.untracked.bool(True),
0014 #    ignoreTotal = cms.untracked.int32(1)
0015 #)
0016 
0017 process.source = cms.Source("PoolSource",
0018     fileNames = cms.untracked.vstring(
0019     '/store/relval/CMSSW_3_8_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0004/F69B70C0-FB73-DF11-A055-002354EF3BD0.root')
0020 )
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(3)
0024 )
0025 
0026 process.out = cms.OutputModule("PoolOutputModule",
0027     outputCommands = cms.untracked.vstring('drop *_*_*_*',
0028         'keep *_*_*_PRODMIXNEW'),
0029     fileName = cms.untracked.string('file:/tmp/Cum_store.root')
0030 )
0031 
0032 process.MessageLogger = cms.Service("MessageLogger",
0033     cerr = cms.untracked.PSet(
0034         enable = cms.untracked.bool(False)
0035     ),
0036     cout = cms.untracked.PSet(
0037         DEBUG = cms.untracked.PSet(
0038             limit = cms.untracked.int32(0)
0039         ),
0040         MixingModule = cms.untracked.PSet(
0041             limit = cms.untracked.int32(1000000)
0042         ),
0043         enable = cms.untracked.bool(True),
0044         threshold = cms.untracked.string('DEBUG')
0045     ),
0046     debugModules = cms.untracked.vstring('mix')
0047 )
0048 
0049 process.p = cms.Path(process.mix)
0050 process.outpath = cms.EndPath(process.out)
0051 
0052 process.e = cms.EndPath(process.out)
0053 
0054 process.mix.input.type = 'probFunction'
0055 process.mix.input.nbPileupEvents = cms.PSet(    
0056     probFunctionVariable = cms.vint32(0,1,2,3,4,5,6,7,8,9,10),
0057 #    probValue = cms.vdouble(4914.0,3267.0,1311.0,397.0,92.0,14.0,3.0,2.0,0.0,0.0),
0058     probValue = cms.vdouble(0.4914,0.3267,0.1311,0.0397,0.0092,0.0014,0.0003,0.0002,0,0),   
0059     histoFileName = cms.untracked.string('histProbFunction.root'),
0060 )
0061 
0062 process.mix.input.fileNames = cms.untracked.vstring(
0063 '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0004/746D2F6B-1F74-DF11-B664-001A928116B0.root',
0064        '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0003/F2181911-EE73-DF11-86BC-0030486791BA.root',
0065        '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0003/F063C904-F273-DF11-831C-001A92971B64.root',
0066        '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0003/D4B25A5D-F373-DF11-99E7-00304867918E.root',
0067        '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0003/8AA2EF2A-F073-DF11-82F7-001A92971B32.root'
0068 )