1 import FWCore.ParameterSet.Config
as cms
3 from RecoLocalCalo.HGCalRecProducers.hgcalLayerClusters_cfi
import hgcalLayerClusters
as hgcalLayerClusters_
4 from RecoLocalCalo.HGCalRecProducers.hgcalMergeLayerClusters_cfi
import hgcalMergeLayerClusters
as hgcalMergeLayerClusters_
12 hgcalLayerClustersEE = hgcalLayerClusters_.clone(
14 recHits =
"HGCalRecHit:HGCEERecHits",
16 dEdXweights = HGCalRecHit.layerWeights.value(),
19 fcPerMip = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP.value() + HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP.value(),
20 thicknessCorrection = HGCalRecHit.thicknessCorrection.value(),
21 sciThicknessCorrection = HGCalRecHit.sciThicknessCorrection.value(),
22 deltasi_index_regemfac = HGCalRecHit.deltasi_index_regemfac.value(),
23 fcPerEle = fC_per_ele,
25 noises = HGCAL_noises.values.value() + HGCAL_noises.values.value(),
26 noiseMip = hgchebackDigitizer.digiCfg.noise.value(),
31 hgcalLayerClustersHSi = hgcalLayerClusters_.clone(
33 recHits =
"HGCalRecHit:HGCHEFRecHits",
35 dEdXweights = HGCalRecHit.layerWeights.value(),
38 fcPerMip = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP.value() + HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP.value(),
39 thicknessCorrection = HGCalRecHit.thicknessCorrection.value(),
40 sciThicknessCorrection = HGCalRecHit.sciThicknessCorrection.value(),
41 deltasi_index_regemfac = HGCalRecHit.deltasi_index_regemfac.value(),
42 fcPerEle = fC_per_ele,
44 noises = HGCAL_noises.values.value() + HGCAL_noises.values.value(),
45 noiseMip = hgchebackDigitizer.digiCfg.noise.value(),
50 hgcalLayerClustersHSci = hgcalLayerClusters_.clone(
52 recHits =
"HGCalRecHit:HGCHEBRecHits",
54 dEdXweights = HGCalRecHit.layerWeights.value(),
57 fcPerMip = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP.value() + HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP.value(),
58 thicknessCorrection = HGCalRecHit.thicknessCorrection.value(),
59 sciThicknessCorrection = HGCalRecHit.sciThicknessCorrection.value(),
60 deltasi_index_regemfac = HGCalRecHit.deltasi_index_regemfac.value(),
61 fcPerEle = fC_per_ele,
63 noises = HGCAL_noises.values.value() + HGCAL_noises.values.value(),
64 noiseMip = hgchebackDigitizer.digiCfg.noise.value(),
69 hgcalLayerClustersHFNose = hgcalLayerClusters_.clone(
71 recHits =
"HGCalRecHit:HGCHFNoseRecHits",
74 dEdXweights = HGCalRecHit.layerNoseWeights.value(),
75 maxNumberOfThickIndices = 3,
76 fcPerMip = HGCalUncalibRecHit.HGCHFNoseConfig.fCPerMIP.value(),
77 thicknessCorrection = HGCalRecHit.thicknessNoseCorrection.value(),
78 fcPerEle = fC_per_ele,
79 noises = HGCAL_noises.values.value(),
80 noiseMip = hgchebackDigitizer.digiCfg.noise.value(),
85 hgcalMergeLayerClusters = hgcalMergeLayerClusters_.clone(