Main Page
Namespaces
Classes
Package Documentation
SimGeneral
MixingModule
python
mix_Flat_10_50_25ns_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
# configuration to model pileup for Chamonix 2012 studies
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(-12),
## in terms of 25 nsec
13
14
bunchspace = cms.int32(25),
##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,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50),
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.02439,
37
0.02439,
38
0.02439,
39
0.02439,
40
0.02439,
41
0.02439,
42
0.02439,
43
0.02439,
44
0.02439,
45
0.02439,
46
0.02439,
47
0.02439,
48
0.02439,
49
0.02439,
50
0.02439,
51
0.02439,
52
0.02439,
53
0.02439,
54
0.02439,
55
0.02439,
56
0.02439,
57
0.02439,
58
0.02439,
59
0.02439,
60
0.02439,
61
0.02439,
62
0.02439,
63
0.02439,
64
0.02439,
65
0.02439,
66
0.02439,
67
0.02439,
68
0.02439,
69
0.02439,
70
0.02439,
71
0.02439,
72
0.02439,
73
0.02439,
74
0.02439,
75
0.02439,
76
0.02439
77
),
78
79
histoFileName = cms.untracked.string(
'histProbFunction.root'
),
80
),
81
sequential = cms.untracked.bool(
False
),
82
manage_OOT = cms.untracked.bool(
True
),
## manage out-of-time pileup
83
## setting this to True means that the out-of-time pileup
84
## will have a different distribution than in-time, given
85
## by what is described on the next line:
86
OOT_type = cms.untracked.string(
'Poisson'
),
## generate OOT with a Poisson matching the number chosen for in-time
87
#OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
88
#intFixed_OOT = cms.untracked.int32(2),
89
fileNames = FileNames
90
),
91
mixObjects = cms.PSet(theMixObjects)
92
)
93
94
95
mixObjects_cfi
mixPoolSource_cfi
digitizers_cfi
Generated for CMSSW Reference Manual by
1.8.11