CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mix_E7TeV_Fall2011_Reprocess_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.003388501,
27  0.010357558,
28  0.024724258,
29  0.042348605,
30  0.058279812,
31  0.068851751,
32  0.072914824,
33  0.071579609,
34  0.066811668,
35  0.060672356,
36  0.054528356,
37  0.04919354,
38  0.044886042,
39  0.041341896,
40  0.0384679,
41  0.035871463,
42  0.03341952,
43  0.030915649,
44  0.028395374,
45  0.025798107,
46  0.023237445,
47  0.020602754,
48  0.0180688,
49  0.015559693,
50  0.013211063,
51  0.010964293,
52  0.008920993,
53  0.007080504,
54  0.005499239,
55  0.004187022,
56  0.003096474,
57  0.002237361,
58  0.001566428,
59  0.001074149,
60  0.000721755,
61  0.000470838,
62  0.00030268,
63  0.000184665,
64  0.000112883,
65  6.74043E-05,
66  3.82178E-05,
67  2.22847E-05,
68  1.20933E-05,
69  6.96173E-06,
70  3.4689E-06,
71  1.96172E-06,
72  8.49283E-07,
73  5.02393E-07,
74  2.15311E-07,
75  9.56938E-08
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