CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
useSource_custom.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def customise(process):
4 
5  process.g4SimHits.Generator.HepMCProductLabel = cms.string('source')
6  process.genParticles.src=cms.InputTag('source')
7 
8  return(process)