Skip to content

Commit 0637609

Browse files
authored
Merge pull request #218 from JeffersonLab/bugfix-save-pid-in-sumsbypid
Save pid in sum.by_pid.pid ROOT branch.
2 parents 86d176e + fb5e580 commit 0637609

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/remollGenericDetectorSum.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class remollGenericDetectorSum : public G4VHit {
4343
it = fSumByPID.begin();
4444
it != fSumByPID.end(); ++it) {
4545
sum.by_pid.push_back(it->second);
46+
sum.by_pid.back().pid = it->first;
4647
}
4748
return sum;
4849
}

0 commit comments

Comments
 (0)