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.
This PR is a follow up on issue #1207 and adds the capability to sample primaries from an existing ROOT file with offloaded primaries (see RootEventWriter).
Main additions:
New RootPrimaryGenerator and RootPrimaryGeneratorAction classes.
Expanded json input options to input the path of the offloaded ROOT file, the number of events, and number of primaries per event to be sampled.
This PR is a follow up on issue #1207 and adds the capability to sample primaries from an existing ROOT file with offloaded primaries (see
RootEventWriter
).Main additions:
RootPrimaryGenerator
andRootPrimaryGeneratorAction
classes.