From 24f9d12814ccc14a5f99fc06c54f9d43277a41c5 Mon Sep 17 00:00:00 2001 From: Andrea Bocci Date: Tue, 15 Dec 2020 01:28:01 +0100 Subject: [PATCH] Use gpuClustering::invalidModuleId instead of 9999 --- .../SiPixelRecHits/plugins/SiPixelRecHitSoAFromLegacy.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RecoLocalTracker/SiPixelRecHits/plugins/SiPixelRecHitSoAFromLegacy.cc b/RecoLocalTracker/SiPixelRecHits/plugins/SiPixelRecHitSoAFromLegacy.cc index 52c02e2510aa3..b3c77f2e17788 100644 --- a/RecoLocalTracker/SiPixelRecHits/plugins/SiPixelRecHitSoAFromLegacy.cc +++ b/RecoLocalTracker/SiPixelRecHits/plugins/SiPixelRecHitSoAFromLegacy.cc @@ -25,7 +25,7 @@ #include "RecoLocalTracker/SiPixelRecHits/interface/PixelCPEBase.h" #include "RecoLocalTracker/SiPixelRecHits/interface/PixelCPEFast.h" -#include "RecoLocalTracker/SiPixelRecHits/plugins/gpuPixelRecHits.h" +#include "gpuPixelRecHits.h" class SiPixelRecHitSoAFromLegacy : public edm::global::EDProducer<> { public: @@ -215,7 +215,7 @@ void SiPixelRecHitSoAFromLegacy::produce(edm::StreamID streamID, edm::Event& iEv if (h - fc < maxHitsInModule) assert(gind == output->view()->detectorIndex(h)); else - assert(9999 == output->view()->detectorIndex(h)); + assert(gpuClustering::invalidModuleId == output->view()->detectorIndex(h)); if (convert2Legacy_) { SiPixelRecHitCollectionNew::FastFiller recHitsOnDetUnit(*legacyOutput, detid); for (auto h = fc; h < lc; ++h) {