CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mix_2012_peak11_25ns_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(4),
12  minBunch = cms.int32(-4), ## 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),
25  probValue = cms.vdouble(
26  0,
27  2.22222e-08,
28  5.11111e-07,
29  3.51556e-05,
30  0.000966,
31  0.0105225,
32  0.0496596,
33  0.115995,
34  0.169019,
35  0.19745,
36  0.204278,
37  0.160526,
38  0.0737906,
39  0.0161852,
40  0.001516,
41  5.54667e-05,
42  7.77778e-07,
43  0,
44  0,
45  0,
46  0
47  ),
48  histoFileName = cms.untracked.string('histProbFunction.root'),
49  ),
50  sequential = cms.untracked.bool(False),
51  manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup
52  ## setting this to True means that the out-of-time pileup
53  ## will have a different distribution than in-time, given
54  ## by what is described on the next line:
55  OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
56  #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
57  #intFixed_OOT = cms.untracked.int32(2),
58  fileNames = FileNames
59  ),
60  mixObjects = cms.PSet(theMixObjects)
61 )
62 
63 
64