CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mix_E8TeV_run203002_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),
25  probValue = cms.vdouble(
26  0,
27  0,
28  0,
29  0,
30  0,
31  9.66474e-17,
32  1.21114e-12,
33  2.94126e-09,
34  1.44281e-06,
35  0.000151792,
36  0.00376088,
37  0.0254935,
38  0.0610745,
39  0.0769054,
40  0.076596,
41  0.0737104,
42  0.0720484,
43  0.0702428,
44  0.065689,
45  0.0601684,
46  0.05682,
47  0.0557221,
48  0.0551615,
49  0.0541009,
50  0.051686,
51  0.0460924,
52  0.0368461,
53  0.0261355,
54  0.0164099,
55  0.0089456,
56  0.00410306,
57  0.00153858,
58  0.000462258,
59  0.000109812,
60  2.04474e-05,
61  2.96742e-06,
62  3.34444e-07,
63  2.9214e-08,
64  1.97586e-09,
65  1.03436e-10,
66  4.19123e-12,
67  1.31456e-13,
68  3.19116e-15,
69  5.99601e-17,
70  8.75296e-19,
71  0),
72  histoFileName = cms.untracked.string('histProbFunction.root'),
73  ),
74  sequential = cms.untracked.bool(False),
75  manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup
76  ## setting this to True means that the out-of-time pileup
77  ## will have a different distribution than in-time, given
78  ## by what is described on the next line:
79  OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
80  #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
81  #intFixed_OOT = cms.untracked.int32(2),
82  fileNames = FileNames
83  ),
84  mixObjects = cms.PSet(theMixObjects)
85 )
86 
87