apt-sim / AdePT

Accelerated demonstrator of electromagnetic Particle Transport
Apache License 2.0
25 stars 34 forks source link

Keeping track of original particle ID #296

Closed JuanGonzalezCaminero closed 1 month ago

JuanGonzalezCaminero commented 1 month ago

AdePT tracks were previously not storing any track ID. With this change we will propagate the ID of particles coming into AdePT to their secondaries. This ID is added to the hit information returned to Geant4.

In addition to the hits, the ID is also set as the mother for leaked particles.

phsft-bot commented 1 month ago

Can one of the admins verify this patch?

WitekPokorski commented 1 month ago

Yes, I confirm, it works fine now.