Skip to content

Commit 1670e4a

Browse files
jesgumaalkin
authored andcommitted
fix offset
1 parent 042f70d commit 1670e4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ALICE3/TableProducer/OTF/onTheFlyDecayer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ struct OnTheFlyDecayer {
208208
// Particles for later collisions in df's needs to have thier mother
209209
// and daughter indices adjusted since their global index will be
210210
// shifted due to the appending of decay products
211-
indexOffset += allParticles.size();
211+
indexOffset += (allParticles.size() - mcParticles.size());
212212
}
213213
};
214214

0 commit comments

Comments
 (0)