CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/SimGeneral/MixingModule/python/mixProdStep2_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # this is the configuration to model pileup in the low-luminosity phase
00004 from SimGeneral.MixingModule.mixObjects_cfi import * 
00005 
00006 
00007 mix = cms.EDProducer("MixingModule",
00008     LabelPlayback = cms.string(''),
00009     maxBunch = cms.int32(0),
00010     minBunch = cms.int32(0), ## in terms of 25 ns
00011 
00012     bunchspace = cms.int32(25), ## nsec
00013     mixProdStep1 = cms.bool(False),
00014     mixProdStep2 = cms.bool(True),
00015     
00016     playback = cms.untracked.bool(False),
00017     useCurrentProcessOnly = cms.bool(False),
00018                                    
00019     input = cms.SecSource("PoolSource", 
00020         type = cms.string('fixed'),
00021         nbPileupEvents = cms.PSet(
00022         averageNumber = cms.double(1.0)
00023         ),
00024         sequential = cms.untracked.bool(True),
00025         fileNames =  cms.untracked.vstring('file:PCFLowLumiPU.root')
00026     ),
00027     
00028     mixObjects = cms.PSet(
00029         # Objects to mix
00030         mixPCFCH = cms.PSet(
00031             mixPCFCaloHits
00032         ),
00033         mixPCFTracks = cms.PSet(
00034             mixPCFSimTracks
00035         ),
00036         mixPCFVertices = cms.PSet(
00037             mixPCFSimVertices
00038         ),
00039         mixPCFSH = cms.PSet(
00040             mixPCFSimHits
00041         ),
00042         mixPCFHepMC = cms.PSet(
00043             mixPCFHepMCProducts
00044         ),
00045         #add for Step2
00046         mixCH = cms.PSet(
00047             mixCaloHits
00048         ),
00049         mixTracks = cms.PSet(
00050             mixSimTracks
00051         ),
00052         mixVertices = cms.PSet(
00053             mixSimVertices
00054         ),
00055         mixSH = cms.PSet(
00056             mixSimHits
00057         ),
00058         mixHepMC = cms.PSet(
00059             mixHepMCProducts
00060         )
00061     )
00062 )
00063 
00064