00001 import FWCore.ParameterSet.Config as cms
00002
00003 import copy
00004 from SimG4Core.Application.g4SimHits_cfi import *
00005
00006 trackingMaterialProducer = copy.deepcopy(g4SimHits)
00007 trackingMaterialProducer.Generator.HepMCProductLabel = 'source'
00008 trackingMaterialProducer.Physics.type = 'SimG4Core/Physics/DummyPhysics'
00009 trackingMaterialProducer.Physics.DummyEMPhysics = True
00010 trackingMaterialProducer.Physics.CutsPerRegion = False
00011 trackingMaterialProducer.UseMagneticField = False
00012 trackingMaterialProducer.Watchers = cms.VPSet(cms.PSet(
00013 TrackingMaterialProducer = cms.PSet(
00014 PrimaryTracksOnly = cms.bool(True),
00015 SelectedVolumes = cms.vstring('BEAM',
00016 'Tracker')
00017 ),
00018 type = cms.string('TrackingMaterialProducer')
00019 ))