Skip to content

Commit

Permalink
FastTrackerRecHit id is index in FastTrackerRecHitCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas committed Apr 21, 2016
1 parent 5fc878e commit 044fc04
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -640,7 +640,7 @@ void SiTrackerGaussianSmearingRecHitConverter::produce(edm::Event& e, const edm:
? fastTrackerRecHitType::siStrip2D
: fastTrackerRecHitType::siPixel);
recHit->addSimTrackId(simHit.trackId());
recHit->setId(simHitCounter);
recHit->setId(output_recHits->size());
output_recHits->push_back(std::move(recHit));


Expand Down

0 comments on commit 044fc04

Please sign in to comment.