CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mix_2015_25ns_FallMC_matchData_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.000108643,
27  0.000388957,
28  0.000332882,
29  0.00038397,
30  0.000549167,
31  0.00105412,
32  0.00459007,
33  0.0210314,
34  0.0573688,
35  0.103986,
36  0.142369,
37  0.157729,
38  0.147685,
39  0.121027,
40  0.08855,
41  0.0582866,
42  0.0348526,
43  0.019457,
44  0.0107907,
45  0.00654313,
46  0.00463195,
47  0.00370927,
48  0.0031137,
49  0.00261141,
50  0.00215499,
51  0.00174491,
52  0.00138268,
53  0.00106731,
54  0.000798828,
55  0.00057785,
56  0.00040336,
57  0.00027161,
58  0.000176535,
59  0.00011092,
60  6.75502e-05,
61  4.00323e-05,
62  2.32123e-05,
63  1.32585e-05,
64  7.51611e-06,
65  4.25902e-06,
66  2.42513e-06,
67  1.39077e-06,
68  8.02452e-07,
69  4.64159e-07,
70  2.67845e-07,
71  1.5344e-07,
72  8.68966e-08,
73  4.84931e-08,
74  2.6606e-08,
75  1.433e-08),
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