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(-12), ## 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),
0025           probValue = cms.vdouble(
0026                                     4.71E-09,
0027                                     2.86E-06,
0028                                     4.85E-06,
0029                                     1.53E-05,
0030                                     3.14E-05,
0031                                     6.28E-05,
0032                                     1.26E-04,
0033                                     3.93E-04,
0034                                     1.42E-03,
0035                                     6.13E-03,
0036                                     1.40E-02,
0037                                     2.18E-02,
0038                                     2.94E-02,
0039                                     4.00E-02,
0040                                     5.31E-02,
0041                                     6.53E-02,
0042                                     7.64E-02,
0043                                     8.42E-02,
0044                                     8.43E-02,
0045                                     7.68E-02,
0046                                     6.64E-02,
0047                                     5.69E-02,
0048                                     4.94E-02,
0049                                     4.35E-02,
0050                                     3.84E-02,
0051                                     3.37E-02,
0052                                     2.92E-02,
0053                                     2.49E-02,
0054                                     2.10E-02,
0055                                     1.74E-02,
0056                                     1.43E-02,
0057                                     1.16E-02,
0058                                     9.33E-03,
0059                                     7.41E-03,
0060                                     5.81E-03,
0061                                     4.49E-03,
0062                                     3.43E-03,
0063                                     2.58E-03,
0064                                     1.91E-03,
0065                                     1.39E-03,
0066                                     1.00E-03,
0067                                     7.09E-04,
0068                                     4.93E-04,
0069                                     3.38E-04,
0070                                     2.28E-04,
0071                                     1.51E-04,
0072                                     9.83E-05,
0073                                     6.29E-05,
0074                                     3.96E-05,
0075                                     2.45E-05,
0076                                     1.49E-05,
0077                                     4.71E-06,
0078                                     2.36E-06),
0079           histoFileName = cms.untracked.string('histProbFunction.root'),
0080         ),
0081     sequential = cms.untracked.bool(False),
0082         manage_OOT = cms.untracked.bool(True),  ## manage out-of-time pileup
0083         ## setting this to True means that the out-of-time pileup
0084         ## will have a different distribution than in-time, given
0085         ## by what is described on the next line:
0086         OOT_type = cms.untracked.string('Poisson'),  ## generate OOT with a Poisson matching the number chosen for in-time
0087         #OOT_type = cms.untracked.string('fixed'),  ## generate OOT with a fixed distribution
0088         #intFixed_OOT = cms.untracked.int32(2),
0089         fileNames = FileNames
0090     ),
0091     mixObjects = cms.PSet(theMixObjects)
0092 )
0093 
0094 
0095