CMS 3D CMS Logo

hgcalLayerClusters_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoLocalCalo.HGCalRecProducers.hgcalLayerClusters_cfi import hgcalLayerClusters as hgcalLayerClusters_
4 
5 from RecoLocalCalo.HGCalRecProducers.HGCalRecHit_cfi import dEdX, HGCalRecHit
6 
8 
9 from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import fC_per_ele, hgceeDigitizer, hgchebackDigitizer
10 
11 hgcalLayerClusters = hgcalLayerClusters_.clone()
12 
13 hgcalLayerClusters.timeOffset = hgceeDigitizer.tofDelay
14 hgcalLayerClusters.plugin.dEdXweights = cms.vdouble(dEdX.weights)
15 hgcalLayerClusters.plugin.fcPerMip = cms.vdouble(HGCalUncalibRecHit.HGCEEConfig.fCPerMIP)
16 hgcalLayerClusters.plugin.thicknessCorrection = cms.vdouble(HGCalRecHit.thicknessCorrection)
17 hgcalLayerClusters.plugin.fcPerEle = cms.double(fC_per_ele)
18 hgcalLayerClusters.plugin.noises = cms.PSet(refToPSet_ = cms.string('HGCAL_noises'))
19 hgcalLayerClusters.plugin.noiseMip = hgchebackDigitizer.digiCfg.noise_MIP