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,
20 hgcalHESiParametersInitialize = hgcalEEParametersInitialize.clone(
21 name =
"HGCalHESiliconLayer",
22 name2 =
"HGCalHESiliconSensitive",
23 nameW =
"HGCalHEWafer",
24 nameC =
"HGCalHESiliconSensitive",
25 nameX =
"HGCalHESiliconSensitive",
28 hgcalHEScParametersInitialize = hgcalEEParametersInitialize.clone(
29 name =
"HGCalHEScintillatorSensitive",
30 name2 =
"HGCalHEScintillatorSensitive",
32 nameC =
"HGCalHEScintillatorSensitive",
33 nameX =
"HGCalHEScintillatorSensitive",