CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mix_2015_25nsLowPU_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),
25  probValue = cms.vdouble(
26  0.862811884308912,
27  0.122649088500652,
28  0.013156023430157,
29  0.001271967352346,
30  0.000100080253829,
31  8.21711557752311E-06,
32  1.47486689852979E-06,
33  2.10695271218541E-07,
34  2.10695271218541E-07,
35  2.10695271218541E-07,
36  2.10695271218541E-07,
37  2.10695271218541E-07,
38  2.10695271218541E-07),
39  histoFileName = cms.untracked.string('histProbFunction.root'),
40  ),
41  sequential = cms.untracked.bool(False),
42  manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup
43  ## setting this to True means that the out-of-time pileup
44  ## will have a different distribution than in-time, given
45  ## by what is described on the next line:
46  OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
47  #OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
48  #intFixed_OOT = cms.untracked.int32(2),
49  fileNames = FileNames
50  ),
51  mixObjects = cms.PSet(theMixObjects)
52 )
53 
54 
55