Celeritas 0.6.0-109+develop.d7e7e1e9
Loading...
Searching...
No Matches
Public Attributes | List of all members
celeritas::inp::PrimaryGenerator Struct Reference

Generate from a hardcoded distribution of primary particles. More...

#include <Events.hh>

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

Public Attributes

size_type num_events {}
 Number of events to generate.
 
size_type primaries_per_event {}
 Number of primaries per event.
 
ShapeDistribution shape
 Distribution for sampling source position.
 
AngleDistribution angle
 Distribution for sampling source direction.
 
EnergyDistribution energy
 Distribution for sampling source energy.
 

Detailed Description

Generate from a hardcoded distribution of primary particles.

Todo:
Units?

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