/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimGeneral/MixingModule/test/mm_4s_cfg.py
43 строки
1 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("PRODMIX") process.load("SimGeneral.MixingModule.mixLowLumPU_4sources_cfi") process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", moduleSeeds = cms.PSet( mix = cms.untracked.uint32(12345) ) ) process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/cms/store/mc/2007/12/2/RelVal-RelValSingleElectronPt35-1196631782/0000/52388364-7CA1-DC11-A0B9-003048562A9E.root') ) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) ) process.out = cms.OutputModule("PoolOutputModule", outputCommands = cms.untracked.vstring('drop *_*_*_*', 'keep *_*_*_PRODMIX'), fileName = cms.untracked.string('file:Cum_4s.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)