This PR opens up the allowed particle species that can be written in GPT format. This list supported by ParticleGroup is electron, positron, and proton.
How was this tested?
This was tested with the devel version of Lume-GPT by creating a single electron, positron, and proton - all of which given a total momentum of 1 GeV/c. The particles were then tracked through a bending magnet with radius 1 meter (at 1 GeV/c momentum):
Each particle was then tracked using GPT. We expect the electron to bend up, and the others to bend down, all with the same radius. We also expect the proton to travel less distance in the same amount of time:
Loading the particles verifies the correct dynamical variables:
Description
This PR opens up the allowed particle species that can be written in GPT format. This list supported by ParticleGroup is electron, positron, and proton.
How was this tested?
This was tested with the devel version of Lume-GPT by creating a single electron, positron, and proton - all of which given a total momentum of 1 GeV/c. The particles were then tracked through a bending magnet with radius 1 meter (at 1 GeV/c momentum):
Each particle was then tracked using GPT. We expect the electron to bend up, and the others to bend down, all with the same radius. We also expect the proton to travel less distance in the same amount of time:
Loading the particles verifies the correct dynamical variables: