Celeritas 0.7.0-dev.220+develop.5ce7701da
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::inp::OpticalPrimaryGenerator Struct Reference

Generate optical photon primary particles. More...

#include <Events.hh>

Inheritance diagram for celeritas::inp::OpticalPrimaryGenerator:
Inheritance graph
[legend]

Public Member Functions

 operator bool () const
 True if there's at least one primary.
 

Public Attributes

size_type primaries {}
 Total number of primaries.
 
- Public Attributes inherited from celeritas::inp::PrimaryGenerator
ShapeDistribution shape
 Distribution for sampling spatial component (position)
 
AngleDistribution angle
 Distribution for sampling angular component (direction)
 
EnergyDistribution energy
 Distribution for sampling source energy.
 

Detailed Description

Generate optical photon primary particles.

Note
The sampled optical photon primaries are unpolarized.

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