Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # configuration to model pileup for initial physics phase
0004 from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
0005 from SimGeneral.MixingModule.mixPoolSource_cfi import *
0006 from SimGeneral.MixingModule.digitizers_cfi import *
0007 
0008 mix = cms.EDProducer("MixingModule",
0009     digitizers = cms.PSet(theDigitizers),
0010     LabelPlayback = cms.string(''),
0011     maxBunch = cms.int32(3),
0012     minBunch = cms.int32(-2), ## in terms of 25 nsec
0013 
0014     bunchspace = cms.int32(50), ##ns
0015     mixProdStep1 = cms.bool(False),
0016     mixProdStep2 = cms.bool(False),
0017 
0018     playback = cms.untracked.bool(False),
0019     useCurrentProcessOnly = cms.bool(False),
0020 
0021     input = cms.SecSource("EmbeddedRootSource",
0022         type = cms.string('probFunction'),
0023         nbPileupEvents = cms.PSet(
0024           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,50,51,52,53,54,55,56,57,58,59),
0025           probValue = cms.vdouble(
0026                                   2.344E-05,
0027                                   2.344E-05,
0028                                   2.344E-05,
0029                                   2.344E-05,
0030                                   4.687E-04,
0031                                   4.687E-04,
0032                                   7.032E-04,
0033                                   9.414E-04,
0034                                   1.234E-03,
0035                                   1.603E-03,
0036                                   2.464E-03,
0037                                   3.250E-03,
0038                                   5.021E-03,
0039                                   6.644E-03,
0040                                   8.502E-03,
0041                                   1.121E-02,
0042                                   1.518E-02,
0043                                   2.033E-02,
0044                                   2.608E-02,
0045                                   3.171E-02,
0046                                   3.667E-02,
0047                                   4.060E-02,
0048                                   4.338E-02,
0049                                   4.520E-02,
0050                                   4.641E-02,
0051                                   4.735E-02,
0052                                   4.816E-02,
0053                                   4.881E-02,
0054                                   4.917E-02,
0055                                   4.909E-02,
0056                                   4.842E-02,
0057                                   4.707E-02,
0058                                   4.501E-02,
0059                                   4.228E-02,
0060                                   3.896E-02,
0061                                   3.521E-02,
0062                                   3.118E-02,
0063                                   2.702E-02,
0064                                   2.287E-02,
0065                                   1.885E-02,
0066                                   1.508E-02,
0067                                   1.166E-02,
0068                                   8.673E-03,
0069                                   6.190E-03,
0070                                   4.222E-03,
0071                                   2.746E-03,
0072                                   1.698E-03,
0073                                   9.971E-04,
0074                                   5.549E-04,
0075                                   2.924E-04,
0076                                   1.457E-04,
0077                                   6.864E-05,
0078                                   3.054E-05,
0079                                   1.282E-05,
0080                                   5.081E-06,
0081                                   1.898E-06,
0082                                   6.688E-07,
0083                                   2.221E-07,
0084                                   6.947E-08,
0085                                   2.047E-08),
0086           histoFileName = cms.untracked.string('histProbFunction.root'),
0087         ),
0088     sequential = cms.untracked.bool(False),
0089         manage_OOT = cms.untracked.bool(True),  ## manage out-of-time pileup
0090         ## setting this to True means that the out-of-time pileup
0091         ## will have a different distribution than in-time, given
0092         ## by what is described on the next line:
0093         OOT_type = cms.untracked.string('Poisson'),  ## generate OOT with a Poisson matching the number chosen for in-time
0094         #OOT_type = cms.untracked.string('fixed'),  ## generate OOT with a fixed distribution
0095         #intFixed_OOT = cms.untracked.int32(2),
0096         fileNames = FileNames
0097     ),
0098     mixObjects = cms.PSet(theMixObjects)
0099 )
0100 
0101 
0102