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 # this is the configuration to model pileup for final scheme
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(-5), ## in terms of 25 ns
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         nbPileupEvents = cms.PSet(
0023             sigmaInel = cms.double(75.3), #The Xsec is in mb
0024             Lumi = cms.double(0.21) # The lumi is in E33 cm-2s-1
0025         ),
0026         type = cms.string('poisson'),
0027     sequential = cms.untracked.bool(False),
0028         fileNames = FileNames
0029       ),
0030     mixObjects = cms.PSet(theMixObjects)
0031 )
0032 
0033