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, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99),
0025       probValue = cms.vdouble(
0026       0,
0027       9.62366e-05,
0028       0.000114197,
0029       0.000134913,
0030       0.000231518,
0031       0.00060477,
0032       0.000293912,
0033       0.000498086,
0034       0.000428207,
0035       0.000397567,
0036       0.000673966,
0037       0.000921706,
0038       0.000939553,
0039       0.00123681,
0040       0.00134677,
0041       0.0013111,
0042       0.00129396,
0043       0.00123714,
0044       0.00134814,
0045       0.00160606,
0046       0.00192138,
0047       0.00233791,
0048       0.00267774,
0049       0.00280918,
0050       0.0031197,
0051       0.0043562,
0052       0.00751272,
0053       0.0136892,
0054       0.0231778,
0055       0.0345168,
0056       0.0449839,
0057       0.0523745,
0058       0.0562289,
0059       0.0574614,
0060       0.0572404,
0061       0.0563041,
0062       0.0549491,
0063       0.0532784,
0064       0.0513576,
0065       0.0492327,
0066       0.0469169,
0067       0.0443847,
0068       0.0415475,
0069       0.0382496,
0070       0.0343446,
0071       0.0298547,
0072       0.0250429,
0073       0.0203144,
0074       0.0160256,
0075       0.0123618,
0076       0.00935279,
0077       0.00695715,
0078       0.00511836,
0079       0.00377423,
0080       0.00284529,
0081       0.0022352,
0082       0.00184568,
0083       0.00159325,
0084       0.0014179,
0085       0.00128249,
0086       0.00116709,
0087       0.00106237,
0088       0.000964582,
0089       0.000872513,
0090       0.000785909,
0091       0.00070481,
0092       0.000629288,
0093       0.000559369,
0094       0.000495015,
0095       0.000436122,
0096       0.000382531,
0097       0.000334038,
0098       0.000290399,
0099       0.000251341,
0100       0.000216572,
0101       0.000185785,
0102       0.000158667,
0103       0.000134907,
0104       0.000114197,
0105       9.62366e-05,
0106       8.07416e-05,
0107       6.74411e-05,
0108       5.60817e-05,
0109       4.64288e-05,
0110       3.8267e-05,
0111       3.14001e-05,
0112       2.56511e-05,
0113       2.08618e-05,
0114       1.68915e-05,
0115       1.36161e-05,
0116       1.09272e-05,
0117       8.73039e-06,
0118       6.9443e-06,
0119       5.49912e-06,
0120       4.33538e-06,
0121       3.40276e-06,
0122       2.65892e-06,
0123       2.06847e-06,
0124       1.602e-06,
0125       1.23523e-06),
0126           histoFileName = cms.untracked.string('histProbFunction.root'),
0127         ),
0128     sequential = cms.untracked.bool(False),
0129         manage_OOT = cms.untracked.bool(True),  ## manage out-of-time pileup
0130         ## setting this to True means that the out-of-time pileup
0131         ## will have a different distribution than in-time, given
0132         ## by what is described on the next line:
0133         OOT_type = cms.untracked.string('Poisson'),  ## generate OOT with a Poisson matching the number chosen for in-time
0134         #OOT_type = cms.untracked.string('fixed'),  ## generate OOT with a fixed distribution
0135         #intFixed_OOT = cms.untracked.int32(2),
0136         fileNames = FileNames
0137     ),
0138     mixObjects = cms.PSet(theMixObjects)
0139 )
0140 
0141 
0142