|
Celeritas 0.7.0-dev.370+develop.9def02c
|
Model reflectivity as a user-prescribed function of energy. More...
#include <OpticalPhysics.hh>
Public Member Functions | |
| operator bool () const | |
Public Attributes | |
| Grid | reflectivity |
| Grid values [MeV -> unitless]. | |
| Grid | transmittance |
| Grid | efficiency |
| optional | |
Model reflectivity as a user-prescribed function of energy.
As per Geant4 conventions:
Only reflectivity and transmittance are defined by the user, while the remaining probability is the chance for the photon to be absorbed. If the photon is absorbed and an efficiency grid is defined, then the efficiency probability is used to determine if the photon is detected.
The reflectivity and transmittance grids are sampled together and must sum to between 0 and 1 at every grid point.
The efficiency grid is sampled independently (if provided), and must be in the range [0,1].