Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimGeneral
MixingModule
python
mix_2012_Summer_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,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,51,52,53,54,55,56,57,58,59),
25
probValue = cms.vdouble(
26
2.560E-06,
27
5.239E-06,
28
1.420E-05,
29
5.005E-05,
30
1.001E-04,
31
2.705E-04,
32
1.999E-03,
33
6.097E-03,
34
1.046E-02,
35
1.383E-02,
36
1.685E-02,
37
2.055E-02,
38
2.572E-02,
39
3.262E-02,
40
4.121E-02,
41
4.977E-02,
42
5.539E-02,
43
5.725E-02,
44
5.607E-02,
45
5.312E-02,
46
5.008E-02,
47
4.763E-02,
48
4.558E-02,
49
4.363E-02,
50
4.159E-02,
51
3.933E-02,
52
3.681E-02,
53
3.406E-02,
54
3.116E-02,
55
2.818E-02,
56
2.519E-02,
57
2.226E-02,
58
1.946E-02,
59
1.682E-02,
60
1.437E-02,
61
1.215E-02,
62
1.016E-02,
63
8.400E-03,
64
6.873E-03,
65
5.564E-03,
66
4.457E-03,
67
3.533E-03,
68
2.772E-03,
69
2.154E-03,
70
1.656E-03,
71
1.261E-03,
72
9.513E-04,
73
7.107E-04,
74
5.259E-04,
75
3.856E-04,
76
2.801E-04,
77
2.017E-04,
78
1.439E-04,
79
1.017E-04,
80
7.126E-05,
81
4.948E-05,
82
3.405E-05,
83
2.322E-05,
84
1.570E-05,
85
5.005E-06),
86
histoFileName = cms.untracked.string(
'histProbFunction.root'
),
87
),
88
sequential = cms.untracked.bool(
False
),
89
manage_OOT = cms.untracked.bool(
True
),
## manage out-of-time pileup
90
## setting this to True means that the out-of-time pileup
91
## will have a different distribution than in-time, given
92
## by what is described on the next line:
93
OOT_type = cms.untracked.string(
'Poisson'
),
## generate OOT with a Poisson matching the number chosen for in-time
94
#OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
95
#intFixed_OOT = cms.untracked.int32(2),
96
fileNames = FileNames
97
),
98
mixObjects = cms.PSet(theMixObjects)
99
)
100
101
102
mixObjects_cfi
mixPoolSource_cfi
digitizers_cfi
Generated for CMSSW Reference Manual by
1.8.5