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 = cms.bool(True)
18 )
19 
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"),
26 )
27 
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"),
34 )