dguff / G4SOLAr

MIT License
1 stars 0 forks source link

19 output format #48

Closed dguff closed 1 year ago

dguff commented 1 year ago

Event data structure now uses references to static members instead of pointers to play on the safe side of memory management. Where this proved particularly inconvenient (i.e. for storing trajectories) I am now using a std::unique_ptr.

In addition I introduced a small modification to the IonAndScint class that should improve the performance of the simulation.

Depending on the physics lists used, the simulation requires ~3GB of RAM in standard conditions. Note that using a physics list that does not include HP cross section tables reduces the baseline memory requirement by ~1GB, while using HP cross sections for α,p and other light ions demands ~1GB more.