CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
materialBudgetVolume_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 g4SimHits.Watchers = cms.VPSet(cms.PSet(
5  MaterialBudgetVolume = cms.PSet(
6  lvNames = cms.vstring('BEAM', 'BEAM1', 'BEAM2', 'BEAM3', 'BEAM4', 'Tracker', 'ECAL', 'HCal', 'VCAL', 'MGNT', 'MUON', 'OQUA', 'CALOEC'),
7  lvLevels = cms.vint32(3, 3, 3, 3, 3, 3, 4, 4, 3, 4, 3, 3, 4),
8  useDD4hep = cms.bool(False),
9  ),
10  type = cms.string('MaterialBudgetVolume'),
11 ))
12 
13 from Configuration.ProcessModifiers.dd4hep_cff import dd4hep
14 dd4hep.toModify( g4SimHits.Watchers[0].MaterialBudgetVolume, useDD4hep = True )