Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:38

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(25), ##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.8551E-07,
0027                         1.74806E-06,
0028                         3.30868E-06,
0029                         1.62972E-05,
0030                         4.95667E-05,
0031                         0.000606966,
0032                         0.003307249,
0033                         0.010340741,
0034                         0.022852296,
0035                         0.041948781,
0036                         0.058609363,
0037                         0.067475755,
0038                         0.072817826,
0039                         0.075931405,
0040                         0.076782504,
0041                         0.076202319,
0042                         0.074502547,
0043                         0.072355135,
0044                         0.069642102,
0045                         0.064920999,
0046                         0.05725576,
0047                         0.047289348,
0048                         0.036528446,
0049                         0.026376131,
0050                         0.017806872,
0051                         0.011249422,
0052                         0.006643385,
0053                         0.003662904,
0054                         0.001899681,
0055                         0.00095614,
0056                         0.00050028,
0057                         0.000297353,
0058                         0.000208717,
0059                         0.000165856,
0060                         0.000139974,
0061                         0.000120481,
0062                         0.000103826,
0063                         8.88868E-05,
0064                         7.53323E-05,
0065                         6.30863E-05,
0066                         5.21356E-05,
0067                         4.24754E-05,
0068                         3.40876E-05,
0069                         2.69282E-05,
0070                         2.09267E-05,
0071                         1.5989E-05,
0072                         4.8551E-06,
0073                         2.42755E-06,
0074                         4.8551E-07,
0075                         2.42755E-07,
0076                         1.21378E-07,
0077                         4.8551E-08),
0078           histoFileName = cms.untracked.string('histProbFunction.root'),
0079         ),
0080     sequential = cms.untracked.bool(False),
0081         manage_OOT = cms.untracked.bool(True),  ## manage out-of-time pileup
0082         ## setting this to True means that the out-of-time pileup
0083         ## will have a different distribution than in-time, given
0084         ## by what is described on the next line:
0085         OOT_type = cms.untracked.string('Poisson'),  ## generate OOT with a Poisson matching the number chosen for in-time
0086         #OOT_type = cms.untracked.string('fixed'),  ## generate OOT with a fixed distribution
0087         #intFixed_OOT = cms.untracked.int32(2),
0088         fileNames = FileNames
0089     ),
0090     mixObjects = cms.PSet(theMixObjects)
0091 )
0092 
0093 
0094