CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SimTracker/TrackerMaterialAnalysis/python/trackingMaterialProducer_cfi.py

Go to the documentation of this file.
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 ))