Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoLocalCalo.HGCalRecProducers.hgcalLayerClusters_cfi import hgcalLayerClusters as hgcalLayerClusters_
0004 from RecoLocalCalo.HGCalRecProducers.hgcalMergeLayerClusters_cfi import hgcalMergeLayerClusters as hgcalMergeLayerClusters_
0005 
0006 from RecoLocalCalo.HGCalRecProducers.HGCalRecHit_cfi import HGCalRecHit
0007 
0008 from RecoLocalCalo.HGCalRecProducers.HGCalUncalibRecHit_cfi import HGCalUncalibRecHit
0009 
0010 from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import fC_per_ele, HGCAL_noises, hgceeDigitizer, hgchebackDigitizer, hfnoseDigitizer
0011 
0012 hgcalLayerClustersEE = hgcalLayerClusters_.clone(
0013     detector = 'EE',
0014     recHits = "HGCalRecHit:HGCEERecHits",
0015     plugin = dict(
0016         dEdXweights = HGCalRecHit.layerWeights.value(),
0017         #With the introduction of 7 regional factors (6 for silicon plus 1 for scintillator),
0018         #we extend fcPerMip (along with noises below) so that it is guaranteed that they have 6 entries.
0019         fcPerMip = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP.value() + HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP.value(),
0020         thicknessCorrection = HGCalRecHit.thicknessCorrection.value(),
0021         sciThicknessCorrection = HGCalRecHit.sciThicknessCorrection.value(),
0022         deltasi_index_regemfac = HGCalRecHit.deltasi_index_regemfac.value(),
0023         fcPerEle = fC_per_ele,
0024         #Extending noises as fcPerMip, see comment above.
0025         noises = HGCAL_noises.values.value() + HGCAL_noises.values.value(),
0026         noiseMip = hgchebackDigitizer.digiCfg.noise.value(),
0027         type = "SiCLUE"
0028     )
0029 )
0030 
0031 hgcalLayerClustersHSi = hgcalLayerClusters_.clone(
0032     detector = 'FH',
0033     recHits = "HGCalRecHit:HGCHEFRecHits",
0034     plugin = dict(
0035         dEdXweights = HGCalRecHit.layerWeights.value(),
0036         #With the introduction of 7 regional factors (6 for silicon plus 1 for scintillator),
0037         #we extend fcPerMip (along with noises below) so that it is guaranteed that they have 6 entries.
0038         fcPerMip = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP.value() + HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP.value(),
0039         thicknessCorrection = HGCalRecHit.thicknessCorrection.value(),
0040         sciThicknessCorrection = HGCalRecHit.sciThicknessCorrection.value(),
0041         deltasi_index_regemfac = HGCalRecHit.deltasi_index_regemfac.value(),
0042         fcPerEle = fC_per_ele,
0043         #Extending noises as fcPerMip, see comment above.
0044         noises = HGCAL_noises.values.value() + HGCAL_noises.values.value(),
0045         noiseMip = hgchebackDigitizer.digiCfg.noise.value(),
0046         type = "SiCLUE"
0047     )
0048 )
0049 
0050 hgcalLayerClustersHSci = hgcalLayerClusters_.clone(
0051     detector = 'BH',
0052     recHits = "HGCalRecHit:HGCHEBRecHits",
0053     plugin = dict(
0054         dEdXweights = HGCalRecHit.layerWeights.value(),
0055         #With the introduction of 7 regional factors (6 for silicon plus 1 for scintillator),
0056         #we extend fcPerMip (along with noises below) so that it is guaranteed that they have 6 entries.
0057         fcPerMip = HGCalUncalibRecHit.HGCEEConfig.fCPerMIP.value() + HGCalUncalibRecHit.HGCHEFConfig.fCPerMIP.value(),
0058         thicknessCorrection = HGCalRecHit.thicknessCorrection.value(),
0059         sciThicknessCorrection = HGCalRecHit.sciThicknessCorrection.value(),
0060         deltasi_index_regemfac = HGCalRecHit.deltasi_index_regemfac.value(),
0061         fcPerEle = fC_per_ele,
0062         #Extending noises as fcPerMip, see comment above.
0063         noises = HGCAL_noises.values.value() + HGCAL_noises.values.value(),
0064         noiseMip = hgchebackDigitizer.digiCfg.noise.value(),
0065         type = "SciCLUE"
0066     )
0067 )
0068 
0069 hgcalLayerClustersHFNose = hgcalLayerClusters_.clone(
0070     detector = 'HFNose',
0071     recHits = "HGCalRecHit:HGCHFNoseRecHits",
0072     nHitsTime = 3,
0073     plugin = dict(
0074         dEdXweights = HGCalRecHit.layerNoseWeights.value(),
0075         maxNumberOfThickIndices = 3,
0076         fcPerMip = HGCalUncalibRecHit.HGCHFNoseConfig.fCPerMIP.value(),
0077         thicknessCorrection = HGCalRecHit.thicknessNoseCorrection.value(),
0078         fcPerEle = fC_per_ele,
0079         noises = HGCAL_noises.values.value(),
0080         noiseMip = hgchebackDigitizer.digiCfg.noise.value(),
0081         type = "SciCLUE"
0082     )
0083 )
0084 
0085 hgcalMergeLayerClusters = hgcalMergeLayerClusters_.clone(
0086 )
0087