Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged refs/pull/17281/head from repository cms-sw
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
SimGeneral/MixingModule/python/mix_2015_25nsLowPU_matchData_PoissonOOTPU_cfi.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
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(3), | ||
minBunch = cms.int32(-12), ## in terms of 25 nsec | ||
|
||
bunchspace = cms.int32(25), ##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,11,12), | ||
probValue = cms.vdouble( | ||
0.862811884308912, | ||
0.122649088500652, | ||
0.013156023430157, | ||
0.001271967352346, | ||
0.000100080253829, | ||
8.21711557752311E-06, | ||
1.47486689852979E-06, | ||
2.10695271218541E-07, | ||
2.10695271218541E-07, | ||
2.10695271218541E-07, | ||
2.10695271218541E-07, | ||
2.10695271218541E-07, | ||
2.10695271218541E-07), | ||
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) | ||
) | ||
|
||
|
||
|