Celeritas 0.6.0-83+develop.60cd5c38
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::GeneratorInterface Class Referenceabstract

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 GeneratorStateBasecounters (AuxStateVec &) const =0
 Get generator counters (mutable)
 
virtual GeneratorStateBase constcounters (AuxStateVec const &) const =0
 Get generator counters.
 

Protected Member Functions

 CELER_DEFAULT_COPY_MOVE (GeneratorInterface)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ GeneratorInterface()

celeritas::GeneratorInterface::GeneratorInterface ( )
protecteddefault

Allow construction and assignment only through daughter classes

Member Function Documentation

◆ CELER_DEFAULT_COPY_MOVE()

celeritas::GeneratorInterface::CELER_DEFAULT_COPY_MOVE ( GeneratorInterface  )
protected

Allow construction and assignment only through daughter classes


The documentation for this class was generated from the following files: