Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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),
0025           probValue = cms.vdouble(
0026         0.003388501,
0027         0.010357558,
0028         0.024724258,
0029         0.042348605,
0030         0.058279812,
0031         0.068851751,
0032         0.072914824,
0033         0.071579609,
0034         0.066811668,
0035         0.060672356,
0036         0.054528356,
0037         0.04919354,
0038         0.044886042,
0039         0.041341896,
0040         0.0384679,
0041         0.035871463,
0042         0.03341952,
0043         0.030915649,
0044         0.028395374,
0045         0.025798107,
0046         0.023237445,
0047         0.020602754,
0048         0.0180688,
0049         0.015559693,
0050         0.013211063,
0051         0.010964293,
0052         0.008920993,
0053         0.007080504,
0054         0.005499239,
0055         0.004187022,
0056         0.003096474,
0057         0.002237361,
0058         0.001566428,
0059         0.001074149,
0060         0.000721755,
0061         0.000470838,
0062         0.00030268,
0063         0.000184665,
0064         0.000112883,
0065         6.74043E-05,
0066         3.82178E-05,
0067         2.22847E-05,
0068         1.20933E-05,
0069         6.96173E-06,
0070         3.4689E-06,
0071         1.96172E-06,
0072         8.49283E-07,
0073         5.02393E-07,
0074         2.15311E-07,
0075         9.56938E-08
0076     ),
0077           histoFileName = cms.untracked.string('histProbFunction.root'),
0078         ),
0079     sequential = cms.untracked.bool(False),
0080         manage_OOT = cms.untracked.bool(True),  ## manage out-of-time pileup
0081         ## setting this to True means that the out-of-time pileup
0082         ## will have a different distribution than in-time, given
0083         ## by what is described on the next line:
0084         OOT_type = cms.untracked.string('Poisson'),  ## generate OOT with a Poisson matching the number chosen for in-time
0085         #OOT_type = cms.untracked.string('fixed'),  ## generate OOT with a fixed distribution
0086         #intFixed_OOT = cms.untracked.int32(2),
0087         fileNames = FileNames
0088     ),
0089     mixObjects = cms.PSet(theMixObjects)
0090 )
0091 
0092 
0093