CMS 3D CMS Logo

hgcalV15ParametersInitialization_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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('')
12 )
13 
14 from Configuration.ProcessModifiers.dd4hep_cff import dd4hep
15 
16 dd4hep.toModify(hgcalEEParametersInitialize,
17  fromDD4hep = True
18 )
19 
20 hgcalHESiParametersInitialize = hgcalEEParametersInitialize.clone(
21  name = "HGCalHESiliconLayer",
22  name2 = "HGCalHESiliconSensitive",
23  nameW = "HGCalHEWafer",
24  nameC = "HGCalHESiliconSensitive",
25  nameX = "HGCalHESiliconSensitive",
26 )
27 
28 hgcalHEScParametersInitialize = hgcalEEParametersInitialize.clone(
29  name = "HGCalHEScintillatorSensitive",
30  name2 = "HGCalHEScintillatorSensitive",
31  nameW = "HGCalWafer",
32  nameC = "HGCalHEScintillatorSensitive",
33  nameX = "HGCalHEScintillatorSensitive",
34 )