CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mix_E8TeV_zmmg_skim_BX_50ns_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 50ns spacing, go 150ns into past
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),
25  probValue = cms.vdouble(
26  2.22595e-08,
27  2.00205e-07,
28  1.64416e-06,
29  1.14116e-05,
30  6.40739e-05,
31  0.000284833,
32  0.000994025,
33  0.00272863,
34  0.00613133,
35  0.0135242,
36  0.0322459,
37  0.0601265,
38  0.0778966,
39  0.0818541,
40  0.0798978,
41  0.0752475,
42  0.0687418,
43  0.0636304,
44  0.0604193,
45  0.0571488,
46  0.0537445,
47  0.050468,
48  0.0470076,
49  0.04297,
50  0.0377791,
51  0.0310346,
52  0.0231801,
53  0.0154523,
54  0.00910777,
55  0.00473839,
56  0.00218447,
57  0.000898356,
58  0.000331497,
59  0.000110006,
60  3.27802e-05,
61  8.75341e-06,
62  2.1002e-06,
63  4.58968e-07,
64  9.41886e-08,
65  1.90252e-08,
66  3.95869e-09,
67  8.60669e-10,
68  1.91046e-10,
69  4.18017e-11,
70  8.78577e-12,
71  1.74995e-12,
72  3.28416e-13,
73  5.79467e-14,
74  9.60488e-15,
75  1.49505e-15,
76  2.18539e-16,
77  2.99303e-17,
78  3.87579e-18,
79  4.53878e-19,
80  3.6847e-20,
81  0),
82  histoFileName = cms.untracked.string('histProbFunction.root'),
83  ),
84  sequential = cms.untracked.bool(False),
85  manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup
86  ## setting this to True means that the out-of-time pileup
87  ## will have a different distribution than in-time, given
88  ## by what is described on the next line:
89  OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
90  #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
91  #intFixed_OOT = cms.untracked.int32(2),
92  fileNames = FileNames
93  ),
94  mixObjects = cms.PSet(theMixObjects)
95 )
96 
97