CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mix_2015_50ns_Startup_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(-12), ## 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),
25  probValue = cms.vdouble(
26  4.71E-09,
27  2.86E-06,
28  4.85E-06,
29  1.53E-05,
30  3.14E-05,
31  6.28E-05,
32  1.26E-04,
33  3.93E-04,
34  1.42E-03,
35  6.13E-03,
36  1.40E-02,
37  2.18E-02,
38  2.94E-02,
39  4.00E-02,
40  5.31E-02,
41  6.53E-02,
42  7.64E-02,
43  8.42E-02,
44  8.43E-02,
45  7.68E-02,
46  6.64E-02,
47  5.69E-02,
48  4.94E-02,
49  4.35E-02,
50  3.84E-02,
51  3.37E-02,
52  2.92E-02,
53  2.49E-02,
54  2.10E-02,
55  1.74E-02,
56  1.43E-02,
57  1.16E-02,
58  9.33E-03,
59  7.41E-03,
60  5.81E-03,
61  4.49E-03,
62  3.43E-03,
63  2.58E-03,
64  1.91E-03,
65  1.39E-03,
66  1.00E-03,
67  7.09E-04,
68  4.93E-04,
69  3.38E-04,
70  2.28E-04,
71  1.51E-04,
72  9.83E-05,
73  6.29E-05,
74  3.96E-05,
75  2.45E-05,
76  1.49E-05,
77  4.71E-06,
78  2.36E-06),
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