Go to the documentation of this file.00001 from FastSimulation.Configuration.mixNoPU_cfi import *
00002 from FastSimulation.Configuration.mixWithPU_cfi import *
00003
00004 genParticlesFromMixingModule = cms.EDProducer("GenParticleProducer",
00005 saveBarCodes = cms.untracked.bool(True),
00006 useCrossingFrame = cms.untracked.bool(True),
00007 mix = cms.string("mixGenPU"),
00008 abortOnUnknownPDGCode = cms.untracked.bool(False)
00009 )
00010
00011 from FastSimulation.EventProducer.FamosSimHits_cff import *
00012 famosSimHits.GenParticleLabel = "genParticlesFromMixingModule"
00013
00014 from SimGeneral.PileupInformation.AddPileupSummary_cfi import *
00015 addPileupInfo.PileupMixingLabel = 'mixGenPU'
00016 addPileupInfo.simHitLabel = 'famosSimHits'
00017
00018 famosMixing = cms.Sequence(
00019 mixGenPU+
00020 genParticlesFromMixingModule+
00021 addPileupInfo
00022 )
00023