CMS 3D CMS Logo

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  #The following variables are set for HGCal support and
16  #it doesn't effect or run at all for Tracker
17  txtOutFile = cms.untracked.string('VolumesZPosition.txt'),
18  hgcalzfront = cms.double(3190.5),
19  SelectedVolumes = cms.vstring('BEAM',
20  'Tracker')
21  ),
22  type = cms.string('TrackingMaterialProducer')
23 ))