copy-in positron-deduced starting position/direction - #98
Conversation
moving the beam electrons back all the way to the edge of the world volume, they are very unlikely to interact with all that air and it allows us to copy the positron values into the configuration with ease. If this proves to be an issue, we can track more of the steps in the simulation to find out the position and direction immediately upstream of the first detector component but I'm not doing that right now.
|
Alright, I cleaned up my work area and validated that these new generator configurations indeed shoot the electron beam directly into the center of the target with minimal Note: You cannot see a |
bryngemark
left a comment
There was a problem hiding this comment.
Looks good to me. Should there be a positron beam function or is this just overkill?
|
I think that's a good idea, I'll put that function in and the merge this 👍 |

moving the beam electrons back all the way to the edge of the world volume, they are very unlikely to interact with all that air and it allows us to copy the positron values into the configuration with ease. If this proves to be an issue, we can track more of the steps in the simulation to find out the position and direction immediately upstream of the first detector component but I'm not doing that right now.
Thank you @bryngemark for pointing this out to me. My initial tests using the current configuration and the gyroradius calculation were getting close but not perfect. I will validate these changes and upload the validation plots and the config I used here for future reference.