/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimGeneral/MixingModule/python/mix_flat_0_10_cfi.py
50 строк
2 KB
wmtan
Refactoring of PoolSource
04 июн 2015, 01:18
04 июн 2015, 01:18
b0371c1
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms # configuration to model pileup for initial physics phase from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects from SimGeneral.MixingModule.mixPoolSource_cfi import * from SimGeneral.MixingModule.digitizers_cfi import * mix = cms.EDProducer("MixingModule", digitizers = cms.PSet(theDigitizers), LabelPlayback = cms.string(''), maxBunch = cms.int32(2), minBunch = cms.int32(-12), ## in terms of 25 nsec bunchspace = cms.int32(50), ##ns mixProdStep1 = cms.bool(False), mixProdStep2 = cms.bool(False), playback = cms.untracked.bool(False), useCurrentProcessOnly = cms.bool(False), input = cms.SecSource("EmbeddedRootSource", type = cms.string('probFunction'), nbPileupEvents = cms.PSet( probFunctionVariable = cms.vint32(0,1,2,3,4,5,6,7,8,9,10), probValue = cms.vdouble( 0.0909090909, 0.0909090909, 0.0909090909, 0.0909090909, 0.0909090909, 0.0909090909, 0.0909090909, 0.0909090909, 0.0909090909, 0.0909090909, 0.0909090909), histoFileName = cms.untracked.string('histProbFunction.root'), ), sequential = cms.untracked.bool(False), manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup ## setting this to True means that the out-of-time pileup ## will have a different distribution than in-time, given ## by what is described on the next line: OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution #intFixed_OOT = cms.untracked.int32(2), fileNames = FileNames ), mixObjects = cms.PSet(theMixObjects) )