Skip to content

Commit a80ed5f

Browse files
committed
Fix in CPV clusterer TriggerRecord creation
The RangeReference used in TriggerRecord needs the number of entries for given trigger and not the container size
1 parent a5da8c4 commit a80ed5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/CPV/reconstruction/src/Clusterer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void Clusterer::process(gsl::span<const Digit> digits, gsl::span<const TriggerRe
6868

6969
LOG(DEBUG) << "Found clusters from " << indexStart << " to " << clusters->size();
7070

71-
trigRec->emplace_back(tr.getBCData(), indexStart, clusters->size());
71+
trigRec->emplace_back(tr.getBCData(), indexStart, clusters->size() - indexStart);
7272
}
7373
}
7474
//____________________________________________________________________________

0 commit comments

Comments
 (0)