celeritas
celeritas copied to clipboard
Add particle weight to simulations
The concept of "weight" is used for variance reduction to allow splitting and rouletting of particles. We ignore the weight parameter for G4Track, which defaults to zero and can therefore break some SD implementations
Since Celeritas itself doesn't (yet) perform variance reduction, a first step we will require offloaded particles to have unit weight, and set the weight to unity for reconstructed tracks.