|
Celeritas 0.7+28f01d9
|
Construction options for Geant optical physics. More...
#include <GeantOpticalPhysicsOptions.hh>
Public Attributes | |
| bool | verbose {false} |
| Print detailed Geant4 output. | |
Optical photon creation physics | |
| std::optional< CherenkovPhysicsOptions > | cherenkov {std::in_place} |
| Cherenkov radiation options (null: disabled) | |
| std::optional< ScintillationPhysicsOptions > | scintillation {std::in_place} |
| Scintillation options (null: disabled) | |
Optical photon physics | |
| std::optional< WavelengthShiftingOptions > | wavelength_shifting {std::in_place} |
| Wavelength shifting options (null: disabled) | |
| std::optional< WavelengthShiftingOptions > | wavelength_shifting2 |
| Second wavelength shifting options (null: disabled) | |
| std::optional< BoundaryPhysicsOptions > | boundary {std::in_place} |
| Boundary process options (null: disabled) | |
| bool | absorption {true} |
| Enable absorption. | |
| bool | rayleigh_scattering {true} |
| Enable Rayleigh scattering. | |
| bool | mie_scattering {true} |
| Enable Mie scattering. | |
Construction options for Geant optical physics.
These options attempt to default to our closest match to G4OpticalPhysics from Geant4 10.5 onwards. Sub-struct options use std::nullopt to disable the corresponding process.
friend bool operator==(...) = default; instead of manually writing the equality operators | std::optional<WavelengthShiftingOptions> celeritas::GeantOpticalPhysicsOptions::wavelength_shifting2 |
Second wavelength shifting options (null: disabled)