OpenGATE / opengate

Gate 10 (beta)
http://www.opengatecollaboration.org
GNU Lesser General Public License v3.0
44 stars 40 forks source link

Add back to back source #381

Closed MaxTousss closed 5 months ago

MaxTousss commented 6 months ago

Start back to back source: the continuation.

David Sarrut made a branch which implements back-to-back. Here, it is the follow-up. Since I can't, I believe, "take-over" his Pull request, see #367, I branched it and started a "new" one. @dsarrut, as long as it seems that I make progress, I suggest that #367 to be closed to make sure that there a no mix-up.

For now, I am trying my teeth and I have added some tests for back-to-back. When this is done, I will implement the acolinearity feature.

However, I have a severe lack of understanding of what Geant4 does. If anyone can provide me a link to a comprehensive description of particle's attributes, it would be a great help. While testing, I do not know if I should look at 'PreDirection', 'Direction' or 'EventDirection'...

Also, @dsarrut , by doc, did you mean document the methods introduced in this PR or a document somewhere?