Replies: 1 comment 4 replies
-
It's been years since I've looked at that part of the code, but I think you're misinterpreting it. I assume you're referring to this section of the code. Here, the reference to Russian Roulette in the comment is referring to how the energy of the electron is only randomly decreased in BCSE (I had to look up Ali and Dave's BCSE paper to refresh my memory on this!). The actual Russian Roulette that kills electrons still happens normally within the EGSnrc macros. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was pleasantly surprised to discover that
egs_brachy
has the ability to do UBS and BCSE!Looking at the method
EB_Application::doPhotonSplitting
in egs_brachy.cpp I noticed that after a brems event, if bcse is on and the electron loses the Russian roulette game, rather than killing the electron, it is turned into a "regular" electron that can be traced normally.Am I interpreting this correctly?
Beta Was this translation helpful? Give feedback.
All reactions