New Journal of Physics (Jan 2017)

Kassiopeia: a modern, extensible C++ particle tracking package

  • Daniel Furse,
  • Stefan Groh,
  • Nikolaus Trost,
  • Martin Babutzka,
  • John P Barrett,
  • Jan Behrens,
  • Nicholas Buzinsky,
  • Thomas Corona,
  • Sanshiro Enomoto,
  • Moritz Erhard,
  • Joseph A Formaggio,
  • Ferenc Glück,
  • Fabian Harms,
  • Florian Heizmann,
  • Daniel Hilk,
  • Wolfgang Käfer,
  • Marco Kleesiek,
  • Benjamin Leiber,
  • Susanne Mertens,
  • Noah S Oblath,
  • Pascal Renschler,
  • Johannes Schwarz,
  • Penny L Slocum,
  • Nancy Wandkowsky,
  • Kevin Wierman,
  • Michael Zacher

DOI
https://doi.org/10.1088/1367-2630/aa6950
Journal volume & issue
Vol. 19, no. 5
p. 053012

Abstract

Read online

The Kassiopeia particle tracking framework is an object-oriented software package using modern C++ techniques, written originally to meet the needs of the KATRIN collaboration. Kassiopeia features a new algorithmic paradigm for particle tracking simulations which targets experiments containing complex geometries and electromagnetic fields, with high priority put on calculation efficiency, customizability, extensibility, and ease-of-use for novice programmers. To solve Kassiopeia 's target physics problem the software is capable of simulating particle trajectories governed by arbitrarily complex differential equations of motion, continuous physics processes that may in part be modeled as terms perturbing that equation of motion, stochastic processes that occur in flight such as bulk scattering and decay, and stochastic surface processes occurring at interfaces, including transmission and reflection effects. This entire set of computations takes place against the backdrop of a rich geometry package which serves a variety of roles, including initialization of electromagnetic field simulations and the support of state-dependent algorithm-swapping and behavioral changes as a particle’s state evolves. Thanks to the very general approach taken by Kassiopeia it can be used by other experiments facing similar challenges when calculating particle trajectories in electromagnetic fields. It is publicly available at https://github.com/KATRIN-Experiment/Kassiopeia .

Keywords