Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

MarcoDAndrea
Copy link
Contributor

@MarcoDAndrea MarcoDAndrea commented Mar 16, 2021

When a particle experiences a nuclear interaction while being channeled by a crystal collimator, a variable "t" is used to calculate the resulting change in angular coordinates. This variable was not initialized when the particle was absorbed (i.e. lost) in the interaction. While physically there is not any "angular kick" to speak of since the particle is lost, the missing initialization could lead to different deflection calculation depending on the building environment, with the crystal-related tests failing as a result. This pull requests fixes this issue by adding the missing variable initialization.

@MarcoDAndrea MarcoDAndrea changed the title [WIP] Added missing inizialization for particles lost while channeled by a crystal collimator [WIP] Added missing initialization for particles lost while channeled by a crystal collimator Mar 16, 2021
@MarcoDAndrea MarcoDAndrea changed the title [WIP] Added missing initialization for particles lost while channeled by a crystal collimator Added missing initialization for particles lost while channeled by a crystal collimator Mar 16, 2021
@MarcoDAndrea MarcoDAndrea marked this pull request as ready for review March 16, 2021 12:32
@MarcoDAndrea MarcoDAndrea reopened this Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants