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, hfnoseDigitizer
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
20 
21 
22 hgcalLayerClustersHFNose = hgcalLayerClusters_.clone(
23  detector = 'HFNose',
24  timeOffset = hfnoseDigitizer.tofDelay,
25  nHitsTime = cms.uint32(3),
26  plugin = dict(
27  dEdXweights = dEdX.weightsNose,
28  fcPerMip = HGCalUncalibRecHit.HGCHFNoseConfig.fCPerMIP,
29  thicknessCorrection = HGCalRecHit.thicknessNoseCorrection,
30  fcPerEle = fC_per_ele,
31  noises = dict(refToPSet_ = cms.string('HGCAL_noises')),
32  noiseMip = hgchebackDigitizer.digiCfg.noise
33  )
34 )
hgcalDigitizer_cfi
HGCalRecHit_cfi
HGCalUncalibRecHit_cfi