Celeritas 0.6.0-110+develop.c7dc37d1
|
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
|
pure virtual |
Get generator counters (mutable)
Implemented in celeritas::optical::GeneratorBase.
|
pure virtual |
Get generator counters.
Implemented in celeritas::optical::GeneratorBase.
|
pure virtual |
Index of this class instance in its registry.
Implemented in celeritas::optical::GeneratorBase.
|
pure virtual |
Short unique label of the generator.
Implemented in celeritas::optical::GeneratorBase.