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, HGCAL_noises, hgceeDigitizer, hgchebackDigitizer, hfnoseDigitizer
10 
11 hgcalLayerClusters = hgcalLayerClusters_.clone(
12  timeOffset = hgceeDigitizer.tofDelay,
13  plugin = dict(
14  dEdXweights = dEdX.weights.value(),
15  #With the introduction of 7 regional factors (6 for silicon plus 1 for scintillator),
16  #we extend fcPerMip (along with noises below) so that it is guaranteed that they have 6 entries.
17  fcPerMip = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP.value() + HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP.value(),
18  thicknessCorrection = HGCalRecHit.thicknessCorrection.value(),
19  sciThicknessCorrection = HGCalRecHit.sciThicknessCorrection.value(),
20  deltasi_index_regemfac = HGCalRecHit.deltasi_index_regemfac.value(),
21  fcPerEle = fC_per_ele,
22  #Extending noises as fcPerMip, see comment above.
23  noises = HGCAL_noises.values.value() + HGCAL_noises.values.value(),
24  noiseMip = hgchebackDigitizer.digiCfg.noise.value()
25  )
26 )
27 
28 
29 hgcalLayerClustersHFNose = hgcalLayerClusters_.clone(
30  detector = 'HFNose',
31  timeOffset = hfnoseDigitizer.tofDelay.value(),
32  nHitsTime = 3,
33  plugin = dict(
34  dEdXweights = dEdX.weightsNose.value(),
35  maxNumberOfThickIndices = 3,
36  fcPerMip = HGCalUncalibRecHit.HGCHFNoseConfig.fCPerMIP.value(),
37  thicknessCorrection = HGCalRecHit.thicknessNoseCorrection.value(),
38  fcPerEle = fC_per_ele,
39  noises = HGCAL_noises.values.value(),
40  noiseMip = hgchebackDigitizer.digiCfg.noise.value()
41  )
42 )
hgcalDigitizer_cfi
HGCalRecHit_cfi
HGCalUncalibRecHit_cfi