DUNE / larnd-sim

Simulation framework for a pixelated Liquid Argon TPC
Apache License 2.0
10 stars 29 forks source link

Improve light simulation by getting rid of structured types #89

Open peter-madigan opened 2 years ago

peter-madigan commented 2 years ago

A number of steps within the light simulation are significantly slower than they could be because the LUT, the track segments array, and the light incidence data are all numpy structured arrays which are copied to the GPU on each execution. We would be better off pre-allocating these things.