CMS 3D CMS Logo

mix_2016_25ns_SpringMC_PUScenarioV1_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(25), ##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.000829312873542,
27  0.00124276120498,
28  0.00339329181587,
29  0.00408224735376,
30  0.00383036590008,
31  0.00659159288946,
32  0.00816022734493,
33  0.00943640833116,
34  0.0137777376066,
35  0.017059392038,
36  0.0213193035468,
37  0.0247343174676,
38  0.0280848773878,
39  0.0323308476564,
40  0.0370394341409,
41  0.0456917721191,
42  0.0558762890594,
43  0.0576956187107,
44  0.0625325287017,
45  0.0591603758776,
46  0.0656650815128,
47  0.0678329011676,
48  0.0625142146389,
49  0.0548068448797,
50  0.0503893295063,
51  0.040209818868,
52  0.0374446988111,
53  0.0299661572042,
54  0.0272024759921,
55  0.0219328403791,
56  0.0179586571619,
57  0.0142926728247,
58  0.00839941654725,
59  0.00522366397213,
60  0.00224457976761,
61  0.000779274977993,
62  0.000197066585944,
63  7.16031761328e-05,
64  0.0,
65  0.0,
66  0.0,
67  0.0,
68  0.0,
69  0.0,
70  0.0,
71  0.0,
72  0.0,
73  0.0,
74  0.0,
75  0.0 ),
76  histoFileName = cms.untracked.string('histProbFunction.root'),
77  ),
78  sequential = cms.untracked.bool(False),
79  manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup
80  ## setting this to True means that the out-of-time pileup
81  ## will have a different distribution than in-time, given
82  ## by what is described on the next line:
83  OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
84  #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
85  #intFixed_OOT = cms.untracked.int32(2),
86  fileNames = FileNames
87  ),
88  mixObjects = cms.PSet(theMixObjects)
89 )
90 
91 
92