Skip to content

Commit

Permalink
Use gpuClustering::invalidModuleId instead of 9999
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Dec 15, 2020
1 parent af9e979 commit 24f9d12
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 24f9d12

Please sign in to comment.