src
Validation
Geometry
python
materialBudgetVolume_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
from
SimG4Core.Configuration.SimG4Core_cff
import
*
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'
,
'HFNoseVol'
),
7
lvLevels = cms.vint32(3, 3, 3, 3, 3, 3, 4, 4, 3, 4, 3, 3, 4, 3),
8
useDD4hep = cms.bool(
False
),
9
rMax = cms.double(-1.),
10
zMax = cms.double(-1.),
11
),
12
type = cms.string(
'MaterialBudgetVolume'
),
13
))
14
15
from
Configuration.ProcessModifiers.dd4hep_cff
import
dd4hep
16
dd4hep.toModify( g4SimHits.Watchers[0].MaterialBudgetVolume, useDD4hep =
True
)
SimG4Core_cff
Generated for CMSSW Reference Manual by
1.8.14