1 import FWCore.ParameterSet.Config
as cms
3 hgcalEEParametersInitialize = cms.ESProducer(
'HGCalParametersESModule',
4 name = cms.string(
'HGCalEELayer'),
5 name2 = cms.string(
'HGCalEESensitive'),
6 nameW = cms.string(
'HGCalEEWafer'),
7 nameC = cms.string(
'HGCalEESensitive'),
8 nameT = cms.string(
'HGCal'),
9 nameX = cms.string(
'HGCalEESensitive'),
10 fromDD4hep = cms.bool(
False),
11 appendToDataLabel = cms.string(
'')
14 from Configuration.ProcessModifiers.dd4hep_cff
import dd4hep
16 dd4hep.toModify(hgcalEEParametersInitialize,
17 fromDD4hep = cms.bool(
True)
20 hgcalHESiParametersInitialize = hgcalEEParametersInitialize.clone(
21 name = cms.string(
"HGCalHESiliconLayer"),
22 name2 = cms.string(
"HGCalHESiliconSensitive"),
23 nameW = cms.string(
"HGCalHEWafer"),
24 nameC = cms.string(
"HGCalHESiliconSensitive"),
25 nameX = cms.string(
"HGCalHESiliconSensitive"),
28 hgcalHEScParametersInitialize = hgcalEEParametersInitialize.clone(
29 name = cms.string(
"HGCalHEScintillatorSensitive"),
30 name2 = cms.string(
"HGCalHEScintillatorSensitive"),
31 nameW = cms.string(
"HGCalWafer"),
32 nameC = cms.string(
"HGCalHEScintillatorSensitive"),
33 nameX = cms.string(
"HGCalHEScintillatorSensitive"),