SoLAr-Neutrinos / SOLAr-sim

SoLAr project simulation framework
MIT License
0 stars 0 forks source link

Trajectory truth handling #8

Closed dguff closed 1 year ago

dguff commented 1 year ago

Implement an option to avoid storing the full particle trajectories in the simulation output and store only the hits in the LAr volume instead.

dguff commented 1 year ago

In view of simulating high energy events (e.g., cosmic rays), we might want to store only trajectory points for particles produced with initial energy above a certain threshold

dguff commented 1 year ago

Global redesign needed. Avoid issues caused by filling the stack with secondaries (almost all of which are optical photons) waiting the program to track them. We can attach directly the SLArEventTrajectory to the track user information object.

dguff commented 1 year ago

Done in 6018567c4d7a1b3bf2ce020ed4b7c6d18b1d5b04