CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mix_E7TeV_Ave25_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
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),
25  probValue = cms.vdouble(
26  0,
27  9.31651e-08,
28  1.09346e-06,
29  5.64875e-06,
30  2.361e-05,
31  8.06074e-05,
32  0.000225675,
33  0.000558976,
34  0.00120977,
35  0.00234117,
36  0.00412333,
37  0.00670444,
38  0.0100845,
39  0.0142227,
40  0.0190064,
41  0.0240893,
42  0.0293227,
43  0.0343754,
44  0.0390867,
45  0.043246,
46  0.0468416,
47  0.0497495,
48  0.0519864,
49  0.0534802,
50  0.0542481,
51  0.0541758,
52  0.0533452,
53  0.0517044,
54  0.0492733,
55  0.0461293,
56  0.042412,
57  0.0383111,
58  0.0339056,
59  0.029475,
60  0.0250526,
61  0.0208822,
62  0.0170406,
63  0.0136212,
64  0.0106832,
65  0.00820745,
66  0.00616701,
67  0.00454278,
68  0.00328775,
69  0.00233149,
70  0.00162209,
71  0.0010969,
72  0.000731508,
73  0.000482477,
74  0.000309637,
75  0.000195411
76  ),
77  histoFileName = cms.untracked.string('histProbFunction.root'),
78  ),
79  sequential = cms.untracked.bool(False),
80  manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup
81  ## setting this to True means that the out-of-time pileup
82  ## will have a different distribution than in-time, given
83  ## by what is described on the next line:
84  OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
85  #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
86  #intFixed_OOT = cms.untracked.int32(2),
87  fileNames = FileNames
88  ),
89  mixObjects = cms.PSet(theMixObjects)
90 )
91 
92 
93