Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Run 3 HCAL workflow on GPU
0004 
0005 # EventSetup modules used by HBHERecHitProducerGPU
0006 from RecoLocalCalo.HcalRecProducers.hcalGainsGPUESProducer_cfi import hcalGainsGPUESProducer
0007 from RecoLocalCalo.HcalRecProducers.hcalGainWidthsGPUESProducer_cfi import hcalGainWidthsGPUESProducer
0008 from RecoLocalCalo.HcalRecProducers.hcalLUTCorrsGPUESProducer_cfi import hcalLUTCorrsGPUESProducer
0009 from RecoLocalCalo.HcalRecProducers.hcalConvertedPedestalsGPUESProducer_cfi import hcalConvertedPedestalsGPUESProducer
0010 from RecoLocalCalo.HcalRecProducers.hcalConvertedEffectivePedestalsGPUESProducer_cfi import hcalConvertedEffectivePedestalsGPUESProducer
0011 hcalConvertedEffectivePedestalsGPUESProducer.label0 = "withTopoEff"
0012 
0013 from RecoLocalCalo.HcalRecProducers.hcalConvertedPedestalWidthsGPUESProducer_cfi import hcalConvertedPedestalWidthsGPUESProducer
0014 from RecoLocalCalo.HcalRecProducers.hcalConvertedEffectivePedestalWidthsGPUESProducer_cfi import hcalConvertedEffectivePedestalWidthsGPUESProducer
0015 hcalConvertedEffectivePedestalWidthsGPUESProducer.label0 = "withTopoEff"
0016 hcalConvertedEffectivePedestalWidthsGPUESProducer.label1 = "withTopoEff"
0017 
0018 from RecoLocalCalo.HcalRecProducers.hcalChannelQualityGPUESProducer_cfi import hcalChannelQualityGPUESProducer
0019 from RecoLocalCalo.HcalRecProducers.hcalQIECodersGPUESProducer_cfi import hcalQIECodersGPUESProducer
0020 from RecoLocalCalo.HcalRecProducers.hcalRecoParamsWithPulseShapesGPUESProducer_cfi import hcalRecoParamsWithPulseShapesGPUESProducer
0021 from RecoLocalCalo.HcalRecProducers.hcalRespCorrsGPUESProducer_cfi import hcalRespCorrsGPUESProducer
0022 from RecoLocalCalo.HcalRecProducers.hcalTimeCorrsGPUESProducer_cfi import hcalTimeCorrsGPUESProducer
0023 from RecoLocalCalo.HcalRecProducers.hcalQIETypesGPUESProducer_cfi import hcalQIETypesGPUESProducer
0024 from RecoLocalCalo.HcalRecProducers.hcalSiPMParametersGPUESProducer_cfi import hcalSiPMParametersGPUESProducer
0025 from RecoLocalCalo.HcalRecProducers.hcalSiPMCharacteristicsGPUESProducer_cfi import hcalSiPMCharacteristicsGPUESProducer
0026 from RecoLocalCalo.HcalRecProducers.hcalMahiPulseOffsetsGPUESProducer_cfi import hcalMahiPulseOffsetsGPUESProducer
0027 
0028 # convert the HBHE digis into SoA format, and copy them from CPU to GPU
0029 from EventFilter.HcalRawToDigi.hcalDigisProducerGPU_cfi import hcalDigisProducerGPU as _hcalDigisProducerGPU
0030 hcalDigisGPU = _hcalDigisProducerGPU.clone(
0031     digisLabelF01HE = "",
0032     digisLabelF5HB = "",
0033     digisLabelF3HB = ""
0034 )
0035 
0036 # run the HCAL local reconstruction (MAHI) on GPU
0037 from RecoLocalCalo.HcalRecProducers.hbheRecHitProducerGPU_cfi import hbheRecHitProducerGPU as _hbheRecHitProducerGPU
0038 hbheRecHitProducerGPU = _hbheRecHitProducerGPU.clone(
0039     digisLabelF01HE = "hcalDigisGPU",
0040     digisLabelF5HB = "hcalDigisGPU",
0041     digisLabelF3HB = "hcalDigisGPU",
0042     recHitsLabelM0HBHE = ""
0043 )
0044 
0045 # Tasks and Sequences
0046 hbheRecHitProducerGPUTask = cms.Task(
0047     hcalGainsGPUESProducer,
0048     hcalGainWidthsGPUESProducer,
0049     hcalLUTCorrsGPUESProducer,
0050     hcalConvertedPedestalsGPUESProducer,
0051     hcalConvertedEffectivePedestalsGPUESProducer,
0052     hcalConvertedPedestalWidthsGPUESProducer,
0053     hcalConvertedEffectivePedestalWidthsGPUESProducer,
0054     hcalChannelQualityGPUESProducer,
0055     hcalQIECodersGPUESProducer,
0056     hcalRecoParamsWithPulseShapesGPUESProducer,
0057     hcalRespCorrsGPUESProducer,
0058     hcalTimeCorrsGPUESProducer,
0059     hcalQIETypesGPUESProducer,
0060     hcalSiPMParametersGPUESProducer,
0061     hcalSiPMCharacteristicsGPUESProducer,
0062     hcalMahiPulseOffsetsGPUESProducer,
0063     hcalDigisGPU,
0064     hbheRecHitProducerGPU
0065 )
0066 
0067 hbheRecHitProducerGPUSequence = cms.Sequence(hbheRecHitProducerGPUTask)