diff --git a/HLTrigger/Configuration/python/customizeHLTforAlpaka.py b/HLTrigger/Configuration/python/customizeHLTforAlpaka.py index d1ca276fb3e4d..1c6e4d49cd4b0 100644 --- a/HLTrigger/Configuration/python/customizeHLTforAlpaka.py +++ b/HLTrigger/Configuration/python/customizeHLTforAlpaka.py @@ -192,7 +192,6 @@ def customizeHLTforAlpakaParticleFlowClustering(process): process.hltLegacyPFClusterProducer = cms.EDProducer("LegacyPFClusterProducer", src = cms.InputTag("hltPFClusterSoAProducer"), - pfClusterParams = cms.ESInputTag("pfClusterParamsESProducer:"), pfClusterBuilder = process.hltParticleFlowClusterHBHE.pfClusterBuilder, usePFThresholdsFromDB = cms.bool(True), recHitsSource = cms.InputTag("hltLegacyPFRecHitProducer"), @@ -413,7 +412,7 @@ def customizeHLTforDQMGPUvsCPUPixel(process): def customizeHLTforAlpakaPixelRecoLocal(process): '''Customisation to introduce the Local Pixel Reconstruction in Alpaka ''' - process.hltESPSiPixelCablingSoA = cms.ESProducer('SiPixelCablingSoAESProducer@alpaka', + process.hltESPSiPixelCablingSoA = cms.ESProducer('SiPixelCablingSoAESProducer@alpaka', CablingMapLabel = cms.string(''), UseQualityInfo = cms.bool(False), appendToDataLabel = cms.string(''), @@ -429,7 +428,7 @@ def customizeHLTforAlpakaPixelRecoLocal(process): ) ) - process.hltESPPixelCPEFastParamsPhase1 = cms.ESProducer('PixelCPEFastParamsESProducerAlpakaPhase1@alpaka', + process.hltESPPixelCPEFastParamsPhase1 = cms.ESProducer('PixelCPEFastParamsESProducerAlpakaPhase1@alpaka', appendToDataLabel = cms.string(''), alpaka = cms.untracked.PSet( backend = cms.untracked.string('') @@ -729,7 +728,7 @@ def customizeHLTforAlpakaPixelRecoVertexing(process): process.HLTRecoPixelTracksTask, process.hltPixelVerticesSoA, process.hltPixelVertices, - process.hltTrimmedPixelVertices + process.hltTrimmedPixelVertices ) process.HLTRecopixelvertexingCPUSerialTask = cms.ConditionalTask( @@ -797,7 +796,7 @@ def customizeHLTforAlpakaPixelRecoTheRest(process): track_pt_max = cms.double(10.0), track_pt_min = cms.double(1.0) ) - + return process def customizeHLTforAlpakaPixelReco(process): @@ -807,7 +806,7 @@ def customizeHLTforAlpakaPixelReco(process): process = customizeHLTforAlpakaPixelRecoLocal(process) process = customizeHLTforAlpakaPixelRecoTracking(process) process = customizeHLTforAlpakaPixelRecoVertexing(process) - process = customizeHLTforDQMGPUvsCPUPixel(process) + process = customizeHLTforDQMGPUvsCPUPixel(process) process = customizeHLTforAlpakaPixelRecoTheRest(process) return process @@ -815,7 +814,7 @@ def customizeHLTforAlpakaPixelReco(process): ## ECAL HLT in Alpaka def customizeHLTforAlpakaEcalLocalReco(process): - + if hasattr(process, 'hltEcalDigisGPU'): process.hltEcalDigisPortable = cms.EDProducer("EcalRawToDigiPortable@alpaka", FEDs = process.hltEcalDigisGPU.FEDs, @@ -913,7 +912,7 @@ def customizeHLTforAlpaka(process): process.load("HeterogeneousCore.AlpakaCore.ProcessAcceleratorAlpaka_cfi") process.load('Configuration.StandardSequences.Accelerators_cff') - + process = customizeHLTforAlpakaEcalLocalReco(process) process = customizeHLTforAlpakaPixelReco(process) process = customizeHLTforAlpakaParticleFlowClustering(process) diff --git a/RecoParticleFlow/PFClusterProducer/plugins/LegacyPFClusterProducer.cc b/RecoParticleFlow/PFClusterProducer/plugins/LegacyPFClusterProducer.cc index 4027bb340a168..7b87809b2e478 100644 --- a/RecoParticleFlow/PFClusterProducer/plugins/LegacyPFClusterProducer.cc +++ b/RecoParticleFlow/PFClusterProducer/plugins/LegacyPFClusterProducer.cc @@ -32,7 +32,6 @@ #include "DataFormats/ParticleFlowReco/interface/PFRecHitFractionHostCollection.h" #include "HeterogeneousCore/CUDACore/interface/JobConfigurationGPURecord.h" #include "RecoParticleFlow/PFClusterProducer/interface/PFCPositionCalculatorBase.h" -#include "RecoParticleFlow/PFClusterProducer/interface/PFClusterParamsHostCollection.h" class LegacyPFClusterProducer : public edm::stream::EDProducer<> { public: @@ -40,7 +39,6 @@ class LegacyPFClusterProducer : public edm::stream::EDProducer<> { : pfClusterSoAToken_(consumes(config.getParameter("src"))), pfRecHitFractionSoAToken_(consumes(config.getParameter("src"))), InputPFRecHitSoA_Token_{consumes(config.getParameter("PFRecHitsLabelIn"))}, - pfClusParamsToken_(esConsumes(config.getParameter("pfClusterParams"))), legacyPfClustersToken_(produces()), recHitsLabel_(consumes(config.getParameter("recHitsSource"))), hcalCutsToken_(esConsumes(edm::ESInputTag("", "withTopo"))), @@ -66,10 +64,9 @@ class LegacyPFClusterProducer : public edm::stream::EDProducer<> { static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) { edm::ParameterSetDescription desc; - desc.add("src"); - desc.add("PFRecHitsLabelIn"); - desc.add("pfClusterParams"); - desc.add("recHitsSource"); + desc.add("src", edm::InputTag("pfClusterSoAProducer")); + desc.add("PFRecHitsLabelIn", edm::InputTag("pfRecHitSoAProducerHCAL")); + desc.add("recHitsSource", edm::InputTag("legacyPFRecHitProducer")); desc.add("usePFThresholdsFromDB", true); { edm::ParameterSetDescription pfClusterBuilder; @@ -183,7 +180,6 @@ class LegacyPFClusterProducer : public edm::stream::EDProducer<> { const edm::EDGetTokenT pfClusterSoAToken_; const edm::EDGetTokenT pfRecHitFractionSoAToken_; const edm::EDGetTokenT InputPFRecHitSoA_Token_; - const edm::ESGetToken pfClusParamsToken_; const edm::EDPutTokenT legacyPfClustersToken_; const edm::EDGetTokenT recHitsLabel_; const edm::ESGetToken hcalCutsToken_; diff --git a/RecoParticleFlow/PFClusterProducer/python/pfClusterHBHEAlpaka_cff.py b/RecoParticleFlow/PFClusterProducer/python/pfClusterHBHEAlpaka_cff.py index e1c000b5a3d4a..30fc5672153c1 100644 --- a/RecoParticleFlow/PFClusterProducer/python/pfClusterHBHEAlpaka_cff.py +++ b/RecoParticleFlow/PFClusterProducer/python/pfClusterHBHEAlpaka_cff.py @@ -72,7 +72,6 @@ legacyPFClusterProducer = _legacyPFClusterProducer.clone( src = 'pfClusterSoAProducer', - pfClusterParams = 'pfClusterParamsESProducer:', pfClusterBuilder = particleFlowClusterHBHE.pfClusterBuilder, recHitsSource = 'legacyPFRecHitProducer', PFRecHitsLabelIn = 'pfRecHitSoAProducerHCAL' @@ -135,7 +134,6 @@ legacyPFClusterProducerHBHEOnly = _legacyPFClusterProducer.clone( src = 'pfClusterSoAProducerHBHEOnly', - pfClusterParams = 'pfClusterParamsESProducer:', pfClusterBuilder = particleFlowClusterHBHE.pfClusterBuilder, recHitsSource = 'legacyPFRecHitProducerHBHEOnly', PFRecHitsLabelIn = 'pfRecHitSoAProducerHBHEOnly'