00001 import FWCore.ParameterSet.Config as cms 00002 00003 import copy 00004 from SimG4Core.Application.g4SimHits_cfi import * 00005 # Detector simulation (Geant4-based) 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 ))