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(-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),
0025              probValue = cms.vdouble(
0026                     1.92747e-08,
0027                     1.62702e-06,
0028                     7.42292e-05,
0029                     0.0017137,
0030                     0.0191414,
0031                     0.101638,
0032                     0.258023,
0033                     0.322184,
0034                     0.207559,
0035                     0.0730289,
0036                     0.0147525,
0037                     0.0017561,
0038                     0.000123411,
0039                     5.07434e-06,
0040                     1.20848e-07,
0041                     1.6531e-09,
0042                     1.29003e-11,
0043                     5.7105e-14,
0044                     1.42153e-16,
0045                     0,
0046                     0),
0047           histoFileName = cms.untracked.string('histProbFunction.root'),
0048         ),
0049     sequential = cms.untracked.bool(False),
0050         manage_OOT = cms.untracked.bool(True),  ## manage out-of-time pileup
0051         ## setting this to True means that the out-of-time pileup
0052         ## will have a different distribution than in-time, given
0053         ## by what is described on the next line:
0054         OOT_type = cms.untracked.string('Poisson'),  ## generate OOT with a Poisson matching the number chosen for in-time
0055         #OOT_type = cms.untracked.string('fixed'),  ## generate OOT with a fixed distribution
0056         #intFixed_OOT = cms.untracked.int32(2),
0057         fileNames = FileNames
0058     ),
0059     mixObjects = cms.PSet(theMixObjects)
0060 )
0061 
0062