CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mix_2012_Startup_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,50,51,52,53,54,55,56,57,58,59),
25  probValue = cms.vdouble(
26  2.344E-05,
27  2.344E-05,
28  2.344E-05,
29  2.344E-05,
30  4.687E-04,
31  4.687E-04,
32  7.032E-04,
33  9.414E-04,
34  1.234E-03,
35  1.603E-03,
36  2.464E-03,
37  3.250E-03,
38  5.021E-03,
39  6.644E-03,
40  8.502E-03,
41  1.121E-02,
42  1.518E-02,
43  2.033E-02,
44  2.608E-02,
45  3.171E-02,
46  3.667E-02,
47  4.060E-02,
48  4.338E-02,
49  4.520E-02,
50  4.641E-02,
51  4.735E-02,
52  4.816E-02,
53  4.881E-02,
54  4.917E-02,
55  4.909E-02,
56  4.842E-02,
57  4.707E-02,
58  4.501E-02,
59  4.228E-02,
60  3.896E-02,
61  3.521E-02,
62  3.118E-02,
63  2.702E-02,
64  2.287E-02,
65  1.885E-02,
66  1.508E-02,
67  1.166E-02,
68  8.673E-03,
69  6.190E-03,
70  4.222E-03,
71  2.746E-03,
72  1.698E-03,
73  9.971E-04,
74  5.549E-04,
75  2.924E-04,
76  1.457E-04,
77  6.864E-05,
78  3.054E-05,
79  1.282E-05,
80  5.081E-06,
81  1.898E-06,
82  6.688E-07,
83  2.221E-07,
84  6.947E-08,
85  2.047E-08),
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