Skip to content
Snippets Groups Projects
Commit 1fcdfc05 authored by Lawson McCoy's avatar Lawson McCoy Committed by FASER Reco
Browse files

Fixed bug with match truth tracks always fill with zeroes on alma 9

parent be877038
No related branches found
No related tags found
No related merge requests found
......@@ -89,8 +89,7 @@ void TrackTruthMatchingTool::identifyContributingParticles(
continue;
const auto &deposits = simDataCollection.at(id).getdeposits();
for (const TrackerSimData::Deposit &deposit : deposits) {
//int barcode = deposit.first->barcode();
int barcode = deposit.first->id();
int barcode = deposit.first.barcode();
// count each barcode only once for a wafer
if (std::find(barcodes.begin(), barcodes.end(), barcode) ==
barcodes.end()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment