tudo-astroparticlephysics / PROPOSAL

Monte Carlo Simulation propagating charged Leptons through Media as C++ Library
GNU Lesser General Public License v3.0
35 stars 21 forks source link

Serialization of `Secondaries` class #357

Open Jean1995 opened 1 year ago

Jean1995 commented 1 year ago

An interesting feature would be the serialization of the Secondaries class, allowing one to save a propagation output to a file, and load it at the later point of time to still be able to re-propagate events.

For this, one needs to save information about...

The second points doesn't need to be stored for every individual propagation, but could be stored once for a lot of propagation if all use the same propagation settings.