/
mix_2015_25ns_FallMC_matchData_PoissonOOTPU_cfi.py
92 lines (84 loc) · 3.08 KB
/
mix_2015_25ns_FallMC_matchData_PoissonOOTPU_cfi.py
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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,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),
probValue = cms.vdouble(
0.000108643,
0.000388957,
0.000332882,
0.00038397,
0.000549167,
0.00105412,
0.00459007,
0.0210314,
0.0573688,
0.103986,
0.142369,
0.157729,
0.147685,
0.121027,
0.08855,
0.0582866,
0.0348526,
0.019457,
0.0107907,
0.00654313,
0.00463195,
0.00370927,
0.0031137,
0.00261141,
0.00215499,
0.00174491,
0.00138268,
0.00106731,
0.000798828,
0.00057785,
0.00040336,
0.00027161,
0.000176535,
0.00011092,
6.75502e-05,
4.00323e-05,
2.32123e-05,
1.32585e-05,
7.51611e-06,
4.25902e-06,
2.42513e-06,
1.39077e-06,
8.02452e-07,
4.64159e-07,
2.67845e-07,
1.5344e-07,
8.68966e-08,
4.84931e-08,
2.6606e-08,
1.433e-08),
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)
)