CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
trackingMaterialProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import copy
5 # Detector simulation (Geant4-based)
6 trackingMaterialProducer = copy.deepcopy(g4SimHits)
7 trackingMaterialProducer.Generator.HepMCProductLabel = 'generatorSmeared'
8 trackingMaterialProducer.Physics.type = 'SimG4Core/Physics/DummyPhysics'
9 trackingMaterialProducer.Physics.DummyEMPhysics = True
10 trackingMaterialProducer.Physics.CutsPerRegion = False
11 trackingMaterialProducer.UseMagneticField = False
12 trackingMaterialProducer.Watchers = cms.VPSet(cms.PSet(
13  TrackingMaterialProducer = cms.PSet(
14  PrimaryTracksOnly = cms.bool(True),
15  SelectedVolumes = cms.vstring('BEAM',
16  'Tracker')
17  ),
18  type = cms.string('TrackingMaterialProducer')
19 ))