CMS 3D CMS Logo

trackingMaterialProducerHFNose_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 
9 #trackingMaterialProducer.Physics.type = 'SimG4Core/Physics/DummyPhysics'
10 #trackingMaterialProducer.Physics.DummyEMPhysics = True
11 #trackingMaterialProducer.Physics.CutsPerRegion = False
12 trackingMaterialProducer.UseMagneticField = False
13 
14 trackingMaterialProducer.Watchers = cms.VPSet(cms.PSet(
15  TrackingMaterialProducer = cms.PSet(
16  PrimaryTracksOnly = cms.bool(True),
17  #The file to direct the HGCal volumes z position
18  txtOutFile = cms.untracked.string('VolumesZPositionHFNose.txt'),
19  #In the beginning of each track, the track will first hit SS and it will
20  #save the upper z volume boundary. So, the low boundary of the first SS
21  #volume is never saved. Here we give the low boundary.
22  #This can be found by running
23  #Geometry/HGCalCommonData/test/testHGCalParameters_cfg.py
24  #on the geometry under study and looking for zFront print out.
25  #Plus or minus endcap is being dealt with inside the code.
26  hgcalzfront = cms.double(10484.0),
27  SelectedVolumes = cms.vstring('HFNose')
28  ),
29  type = cms.string('TrackingMaterialProducer')
30 ))
g4SimHits_cfi