Celeritas 0.7+28f01d9
Loading...
Searching...
No Matches
Public Attributes | List of all members
celeritas::GeantOpticalPhysicsOptions Struct Reference

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< CherenkovPhysicsOptionscherenkov {std::in_place}
 Cherenkov radiation options (null: disabled)
 
std::optional< ScintillationPhysicsOptionsscintillation {std::in_place}
 Scintillation options (null: disabled)
 
Optical photon physics
std::optional< WavelengthShiftingOptionswavelength_shifting {std::in_place}
 Wavelength shifting options (null: disabled)
 
std::optional< WavelengthShiftingOptionswavelength_shifting2
 Second wavelength shifting options (null: disabled)
 
std::optional< BoundaryPhysicsOptionsboundary {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.
 

Detailed Description

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.

Todo:
When we require C++20, use friend bool operator==(...) = default; instead of manually writing the equality operators

Member Data Documentation

◆ wavelength_shifting2

std::optional<WavelengthShiftingOptions> celeritas::GeantOpticalPhysicsOptions::wavelength_shifting2
Initial value:
{
std::in_place}

Second wavelength shifting options (null: disabled)


The documentation for this struct was generated from the following file: