A software for numerical calculations of the trajectory of particlesin the Earth’s magnetosphere and its application for data processingof the PAMELA experiment
We present a software package created for numerical calculations of the trajectory of particles in the Earth’s magnetosphere and gives examples of its application for processing the data of the PAMELA experiment. To solve the equation of motion, the particle-in-cell method was implemented according to the Buneman-Boris scheme. The method is compared with other calculation methods often used to simulate the motion of charged particles in electromagnetic fields. The software package was tested by reproducing known effects, and also used to reconstruct the particle trajectories recorded by the magnetic spectrometer of the PAMELA experiment.