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(-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),
0025           probValue = cms.vdouble(
0026                                   0,
0027                                   0,
0028                                   0,
0029                                   0,
0030                                   0,
0031                                   0,
0032                                   0,
0033                                   0,
0034                                   0,
0035                                   0,
0036                                   0.011235955,
0037                                   0.02247191,
0038                                   0.04494382,
0039                                   0.06741573,
0040                                   0.08988764,
0041                                   0.112359551,
0042                                   0.112359551,
0043                                   0.112359551,
0044                                   0.112359551,
0045                                   0.112359551,
0046                                   0.112359551,
0047                                   0.06741573,
0048                                   0.02247191,
0049                                   0,
0050                                   0
0051                                   ),
0052           histoFileName = cms.untracked.string('histProbFunction.root'),
0053         ),
0054     sequential = cms.untracked.bool(False),
0055         manage_OOT = cms.untracked.bool(True),  ## manage out-of-time pileup
0056         ## setting this to True means that the out-of-time pileup
0057         ## will have a different distribution than in-time, given
0058         ## by what is described on the next line:
0059         OOT_type = cms.untracked.string('Poisson'),  ## generate OOT with a Poisson matching the number chosen for in-time
0060         #OOT_type = cms.untracked.string('fixed'),  ## generate OOT with a fixed distribution
0061         #intFixed_OOT = cms.untracked.int32(2),
0062         fileNames = FileNames
0063     ),
0064     mixObjects = cms.PSet(theMixObjects)
0065 )
0066 
0067 
0068