|
Celeritas 0.7.0-dev.196+develop.8d0d9047c
|
Manage the optical state counters and auxiliary data. More...
#include <CoreState.hh>

Public Types | |
Type aliases | |
| using | SPAuxStateVec = std::shared_ptr< AuxStateVec > |
Public Types inherited from celeritas::optical::CoreStateInterface | |
| using | size_type = TrackSlotId::size_type |
Public Types inherited from celeritas::AuxStateInterface | |
| using | SPState = std::shared_ptr< AuxStateInterface > |
| Default destructor. | |
Public Member Functions | |
| CoreStateCounters & | counters () |
| Track initialization counters. | |
| CoreStateCounters const & | counters () const final |
| Track initialization counters. | |
| OpticalAccumStats const & | accum () const |
| Optical loop statistics. | |
| OpticalAccumStats & | accum () |
| Optical loop statistics. | |
| SPAuxStateVec const & | aux () const |
| Access auxiliary core state data. | |
| SPAuxStateVec & | aux () |
| Access auxiliary core state data (mutable) | |
Public Member Functions inherited from celeritas::optical::CoreStateInterface | |
| ~CoreStateInterface () override | |
| Support polymorphic deletion, anchoring to avoid bugs. | |
| virtual StreamId | stream_id () const =0 |
| Thread/stream ID. | |
| virtual void | reseed (std::shared_ptr< RngParams const >, UniqueEventId)=0 |
| Reseed the RNGs at the start of an event for reproducibility. | |
| virtual size_type | size () const =0 |
| Number of track slots. | |
| virtual void | insert_primaries (Span< TrackInitializer const > host_primaries)=0 |
Public Member Functions inherited from celeritas::AuxStateInterface | |
| virtual | ~AuxStateInterface () |
| Default destructor. | |
Protected Member Functions | |
| ~CoreStateBase () override | |
| Default destructor, anchoring to avoid bugs. | |
Protected Member Functions inherited from celeritas::optical::CoreStateInterface | |
| CELER_DEFAULT_COPY_MOVE (CoreStateInterface) | |
Protected Member Functions inherited from celeritas::AuxStateInterface | |
| AuxStateInterface ()=default | |
| CELER_DEFAULT_COPY_MOVE (AuxStateInterface) | |
| Default destructor. | |
Manage the optical state counters and auxiliary data.
|
inlinefinalvirtual |
Track initialization counters.
Implements celeritas::optical::CoreStateInterface.