/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimGeneral/MixingModule/test/mm_probFunction_cfg.py
68 строк
3 KB
Christopher Jones
Updated configurations in SimGeneral to new MessageLogger syntax
20 ноя 2020, 00:10
20 ноя 2020, 00:10
3a8ae53
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("PRODMIXNEW") process.load("SimGeneral.MixingModule.mixLowLumPU_cfi") process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", moduleSeeds = cms.PSet( mix = cms.untracked.uint32(12345) ) ) #process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck", # oncePerEventMode = cms.untracked.bool(True), # ignoreTotal = cms.untracked.int32(1) #) process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring( '/store/relval/CMSSW_3_8_0_pre2/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0004/F69B70C0-FB73-DF11-A055-002354EF3BD0.root') ) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(3) ) process.out = cms.OutputModule("PoolOutputModule", outputCommands = cms.untracked.vstring('drop *_*_*_*', 'keep *_*_*_PRODMIXNEW'), fileName = cms.untracked.string('file:/tmp/Cum_store.root') ) process.MessageLogger = cms.Service("MessageLogger", cerr = cms.untracked.PSet( enable = cms.untracked.bool(False) ), cout = cms.untracked.PSet( DEBUG = cms.untracked.PSet( limit = cms.untracked.int32(0) ), MixingModule = cms.untracked.PSet( limit = cms.untracked.int32(1000000) ), enable = cms.untracked.bool(True), threshold = cms.untracked.string('DEBUG') ), debugModules = cms.untracked.vstring('mix') ) process.p = cms.Path(process.mix) process.outpath = cms.EndPath(process.out) process.e = cms.EndPath(process.out) process.mix.input.type = 'probFunction' process.mix.input.nbPileupEvents = cms.PSet( probFunctionVariable = cms.vint32(0,1,2,3,4,5,6,7,8,9,10), # probValue = cms.vdouble(4914.0,3267.0,1311.0,397.0,92.0,14.0,3.0,2.0,0.0,0.0), probValue = cms.vdouble(0.4914,0.3267,0.1311,0.0397,0.0092,0.0014,0.0003,0.0002,0,0), histoFileName = cms.untracked.string('histProbFunction.root'), ) process.mix.input.fileNames = cms.untracked.vstring( '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0004/746D2F6B-1F74-DF11-B664-001A928116B0.root', '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0003/F2181911-EE73-DF11-86BC-0030486791BA.root', '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0003/F063C904-F273-DF11-831C-001A92971B64.root', '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0003/D4B25A5D-F373-DF11-99E7-00304867918E.root', '/store/relval/CMSSW_3_8_0_pre2/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V0-v1/0003/8AA2EF2A-F073-DF11-82F7-001A92971B32.root' )