CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/FastSimulation/Configuration/python/mixWithPU_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from FastSimulation.Configuration.mixFastSimObjects_cfi import *
00004 #from FastSimulation.Configuration.mixOnlyGenParticles_cfi import *
00005 
00006 mixGenPU = cms.EDProducer("MixingModule",
00007     LabelPlayback = cms.string(''),
00008     maxBunch = cms.int32(0),
00009     minBunch = cms.int32(0),
00010     bunchspace = cms.int32(25),
00011     checktof = cms.bool(False),                   
00012     playback = cms.untracked.bool(False),
00013     mixProdStep1 = cms.bool(False),
00014     mixProdStep2 = cms.bool(False),
00015     input = cms.SecSource("PoolSource",
00016                           type = cms.string('probFunction'),
00017                           nbPileupEvents = cms.PSet(
00018     probFunctionVariable = cms.vint32(),
00019     probValue = cms.vdouble(),
00020     histoFileName = cms.untracked.string('histProbFunction.root'),
00021     ),
00022                           sequential = cms.untracked.bool(False),
00023                           manage_OOT = cms.untracked.bool(False),  ## manage out-of-time pileup
00024                           ## setting this to True means that the out-of-time pileup
00025                           ## will have a different distribution than in-time, given
00026                           ## by what is described on the next line:
00027                           OOT_type = cms.untracked.string('None'),  ## generate OOT with a Poisson matching the number chosen for in-time
00028                           #OOT_type = cms.untracked.string('fixed'),  ## generate OOT with a fixed distribution
00029                           #intFixed_OOT = cms.untracked.int32(2),
00030                           fileNames = cms.untracked.vstring('/store/relval/CMSSW_5_3_6-START53_V14/RelValProdMinBias/GEN-SIM-RAW/v2/00000/4677049F-042A-E211-8525-0026189438E8.root',
00031                                                             '/store/relval/CMSSW_5_3_6-START53_V14/RelValProdMinBias/GEN-SIM-RAW/v2/00000/52000D8A-032A-E211-BC94-00304867BFA8.root'), # these files are stored at CERN; if you are running elsewhere, or these files are not available anymore, you can generate your own minimum bias events to be fed as input to the mixing module, with the following command: cmsDriver.py MinBias_8TeV_cfi  --conditions auto:startup -s GEN --datatier GEN -n 10000  --eventcontent RAWSIM 
00032                           ),
00033     mixObjects = cms.PSet(
00034 #        mixSH = cms.PSet(
00035 #            mixSimHits
00036 #        ),
00037 #        mixVertices = cms.PSet(
00038 #            mixSimVertices
00039 #        ),
00040 #        mixCH = cms.PSet(
00041 #            mixCaloHits
00042 #        ),
00043 #        mixMuonTracks = cms.PSet(
00044 #            mixMuonSimTracks
00045 #        ),
00046 #        mixTracks = cms.PSet(
00047 #            mixSimTracks
00048 #        ),
00049         mixHepMC = cms.PSet(
00050             mixHepMCProducts
00051         )
00052     )
00053 )
00054 
00055