CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/Configuration/Generator/python/useSource_custom.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 def customise(process):
00004 
00005         process.g4SimHits.Generator.HepMCProductLabel = cms.string('source')
00006         process.genParticles.src=cms.InputTag('source')
00007 
00008         return(process)