Main Page
Namespaces
Classes
Package Documentation
SimGeneral
MixingModule
python
mix_2012_lumiLevel_15_20_50ns_PoissonOOTPU_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
# configuration to model pileup for initial physics phase
4
from
SimGeneral.MixingModule.mixObjects_cfi
import
theMixObjects
5
from
SimGeneral.MixingModule.mixPoolSource_cfi
import
*
6
from
SimGeneral.MixingModule.digitizers_cfi
import
*
7
8
mix = cms.EDProducer(
"MixingModule"
,
9
digitizers = cms.PSet(theDigitizers),
10
LabelPlayback = cms.string(
''
),
11
maxBunch = cms.int32(3),
12
minBunch = cms.int32(-2),
## in terms of 25 nsec
13
14
bunchspace = cms.int32(50),
##ns
15
mixProdStep1 = cms.bool(
False
),
16
mixProdStep2 = cms.bool(
False
),
17
18
playback = cms.untracked.bool(
False
),
19
useCurrentProcessOnly = cms.bool(
False
),
20
21
input = cms.SecSource(
"EmbeddedRootSource"
,
22
type = cms.string(
'probFunction'
),
23
nbPileupEvents = cms.PSet(
24
probFunctionVariable = cms.vint32(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24),
25
probValue = cms.vdouble(
26
0,
27
0,
28
0,
29
0,
30
0,
31
0,
32
0,
33
0,
34
0,
35
0,
36
0.011235955,
37
0.02247191,
38
0.04494382,
39
0.06741573,
40
0.08988764,
41
0.112359551,
42
0.112359551,
43
0.112359551,
44
0.112359551,
45
0.112359551,
46
0.112359551,
47
0.06741573,
48
0.02247191,
49
0,
50
0
51
),
52
histoFileName = cms.untracked.string(
'histProbFunction.root'
),
53
),
54
sequential = cms.untracked.bool(
False
),
55
manage_OOT = cms.untracked.bool(
True
),
## manage out-of-time pileup
56
## setting this to True means that the out-of-time pileup
57
## will have a different distribution than in-time, given
58
## by what is described on the next line:
59
OOT_type = cms.untracked.string(
'Poisson'
),
## generate OOT with a Poisson matching the number chosen for in-time
60
#OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
61
#intFixed_OOT = cms.untracked.int32(2),
62
fileNames = FileNames
63
),
64
mixObjects = cms.PSet(theMixObjects)
65
)
66
67
68
mixObjects_cfi
mixPoolSource_cfi
digitizers_cfi
Generated for CMSSW Reference Manual by
1.8.11