|
Celeritas 0.7+7c39d13
|
#include "GeantOffloadUtils.hh"#include <G4Step.hh>#include <G4Track.hh>#include "geocel/GeantGeoParams.hh"#include "geocel/GeoOpticalIdMap.hh"#include "celeritas/ext/GeantStepView.hh"#include "celeritas/ext/GeantTrackView.hh"#include "celeritas/optical/gen/GeneratorData.hh"Functions | |
| optical::GeneratorDistributionData | celeritas::distribution_from_step (G4Step const &g4_step) |
Populate a GeneratorDistributionData with G4Step data. | |
Populate a GeneratorDistributionData with G4Step data.
The global Geant4 geometry should be loaded so that the optical material may be determined from the Geant4 material.
The generator type and number of photons is not populated, and should be initialized by the caller.