celeritas-project / celeritas

Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
https://celeritas-project.github.io/celeritas/user/index.html
Other
58 stars 32 forks source link

Add RootPrimaryGenerator sampler to celer-sim #1228

Closed stognini closed 1 month ago

stognini commented 2 months ago

This PR is a follow up on issue #1207 and adds the capability to sample primaries from an existing ROOT file with offloaded primaries generated by RootEventWriter

Main additions:

stognini commented 2 months ago

Currently RootPrimaryGenerator is in phys/, but maybe should be moved to io/ which is where RootEventWriter/Reader are?

stognini commented 1 month ago

The word clumped has an unpleasant feel to it

Totally agree. Somehow it felt like 'merged' was a bit off, and 'concatenated' was long... But I guess merged is fine.