Skip to content
Snippets Groups Projects

Update HepMcParticleLink to handle creation with GenParticle::id() as well as barcodes

Merged John Derek Chapman requested to merge jchapman/athena:HMPL_Barcode2_main into main
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -293,7 +293,7 @@ void DetailedTrackTruthBuilder::addTrack(DetailedTrackTruthCollection *output,
// add barcode 0 to pairs, we like to keep track of fake fakes
unsigned int BC(0);
unsigned int EV(0);
pairStat[HepMcParticleLink(BC,EV,HepMcParticLink::IS_EVENTNUM,HepMcParticleLink::IS_BARCODE)].subDetHits[subdet].insert(id);
pairStat[HepMcParticleLink(BC,EV,HepMcParticleLink::IS_EVENTNUM,HepMcParticleLink::IS_BARCODE)].subDetHits[subdet].insert(id);
}
} // orderedPRD_Truth[] available
} // subdet type check, warning in findSubDetType()
Loading