Skip to content

Commit

Permalink
Merge pull request #37193 from tsusa/assertInSoAFromLegacy
Browse files Browse the repository at this point in the history
Removing assert to address the issue #35668
  • Loading branch information
cmsbuild committed Mar 14, 2022
2 parents 689d470 + 071fc68 commit 62d26a2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -217,7 +217,7 @@ void SiPixelRecHitSoAFromLegacy::produce(edm::StreamID streamID, edm::Event& iEv
clus.push_back(ic);
++ndigi;
}
assert(clust.originalId() == ic); // make sure hits and clus are in sync

if (convert2Legacy_)
clusterRef.emplace_back(edmNew::makeRefTo(hclusters, &clust));
ic++;
Expand Down

0 comments on commit 62d26a2

Please sign in to comment.