Celeritas 0.6.0-83+develop.60cd5c38
|
Interface class for generating new tracks. More...
#include <GeneratorInterface.hh>
Public Member Functions | |
virtual | ~GeneratorInterface () |
Default destructor. | |
virtual GeneratorId | generator_id () const =0 |
Index of this class instance in its registry. | |
virtual std::string_view | label () const =0 |
Short unique label of the generator. | |
virtual GeneratorStateBase & | counters (AuxStateVec &) const =0 |
Get generator counters (mutable) | |
virtual GeneratorStateBase const & | counters (AuxStateVec const &) const =0 |
Get generator counters. | |
Protected Member Functions | |
CELER_DEFAULT_COPY_MOVE (GeneratorInterface) | |
Interface class for generating new tracks.
Generators store information about pending primary or secondary particles as auxiliary data and initialize the new tracks directly in the vacant slots.
|
protecteddefault |
Allow construction and assignment only through daughter classes
|
protected |
Allow construction and assignment only through daughter classes