1 import FWCore.ParameterSet.Config
as cms
6 weights = cms.vdouble(0.0,
60 weightsNose = cms.vdouble(0.0,
71 dEdX_weights_v9 = cms.vdouble(0.0,
126 from Configuration.Eras.Modifier_phase2_hgcalV9_cff
import phase2_hgcalV9
127 phase2_hgcalV9.toModify( dEdX, weights = dEdX_weights_v9 )
129 dEdX_weights_v10 = cms.vdouble(0.0,
182 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
183 phase2_hgcalV10.toModify( dEdX, weights = dEdX_weights_v10 )
186 HGCalRecHit = cms.EDProducer(
187 "HGCalRecHitProducer",
188 HGCEErechitCollection = cms.string(
'HGCEERecHits'),
189 HGCEEuncalibRecHitCollection = cms.InputTag(
'HGCalUncalibRecHit:HGCEEUncalibRecHits'),
190 HGCHEFrechitCollection = cms.string(
'HGCHEFRecHits'),
191 HGCHEFuncalibRecHitCollection = cms.InputTag(
'HGCalUncalibRecHit:HGCHEFUncalibRecHits'),
192 HGCHEBrechitCollection = cms.string(
'HGCHEBRecHits'),
193 HGCHEBuncalibRecHitCollection = cms.InputTag(
'HGCalUncalibRecHit:HGCHEBUncalibRecHits'),
194 HGCHFNoserechitCollection = cms.string(
'HGCHFNoseRecHits'),
195 HGCHFNoseuncalibRecHitCollection = cms.InputTag(
'HGCalUncalibRecHit:HGCHFNoseUncalibRecHits'),
199 HGCEE_keV2DIGI = hgceeDigitizer.digiCfg.keV2fC,
200 HGCEE_isSiFE = HGCalUncalibRecHit.HGCEEConfig.isSiFE,
201 HGCEE_fCPerMIP = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP,
202 HGCHEF_keV2DIGI = hgchefrontDigitizer.digiCfg.keV2fC,
203 HGCHEF_isSiFE = HGCalUncalibRecHit.HGCHEFConfig.isSiFE,
204 HGCHEF_fCPerMIP = HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP,
205 HGCHEB_keV2DIGI = hgchebackDigitizer.digiCfg.keV2MIP,
206 HGCHEB_isSiFE = HGCalUncalibRecHit.HGCHEBConfig.isSiFE,
207 HGCHFNose_keV2DIGI = hfnoseDigitizer.digiCfg.keV2fC,
208 HGCHFNose_isSiFE = HGCalUncalibRecHit.HGCHFNoseConfig.isSiFE,
209 HGCHFNose_fCPerMIP = HGCalUncalibRecHit.HGCHFNoseConfig.fCPerMIP,
211 rangeMask = cms.uint32(4294442496),
212 rangeMatch = cms.uint32(1161838592),
216 layerWeights = dEdX.weights,
217 layerNoseWeights = dEdX.weightsNose,
222 thicknessCorrection = cms.vdouble(1.132,1.092,1.084, 1.0, 1.0, 1.0),
223 deltasi_index_regemfac = cms.int32(3),
225 sciThicknessCorrection = cms.double(1.0),
226 thicknessNoseCorrection = cms.vdouble(1.132,1.092,1.084),
228 HGCEE_noise_fC = hgceeDigitizer.digiCfg.noise_fC,
229 HGCEE_cce = hgceeDigitizer.digiCfg.chargeCollectionEfficiencies,
230 HGCHEF_noise_fC = hgchefrontDigitizer.digiCfg.noise_fC,
231 HGCHEF_cce = hgchefrontDigitizer.digiCfg.chargeCollectionEfficiencies,
232 HGCHEB_noise_MIP = hgchebackDigitizer.digiCfg.noise,
233 HGCHFNose_noise_fC = hfnoseDigitizer.digiCfg.noise_fC,
234 HGCHFNose_cce = hfnoseDigitizer.digiCfg.chargeCollectionEfficiencies,
237 minValSiPar = cms.double(10.),
238 maxValSiPar = cms.double(1.e4),
239 noiseSiPar = cms.double(5.5),
240 constSiPar = cms.double(0.02),
243 algo = cms.string(
"HGCalRecHitWorkerSimple")
248 phase2_hgcalV9.toModify( HGCalRecHit , thicknessCorrection = [0.759,0.760,0.773, 1.0, 1.0, 1.0] )
249 phase2_hgcalV10.toModify( HGCalRecHit , thicknessCorrection = [0.77, 0.77, 0.77, 0.84, 0.84, 0.84] , sciThicknessCorrection = cms.double(0.90) )
251 phase2_hfnose.toModify( HGCalRecHit , thicknessNoseCorrection = [0.759,0.760,0.773])