Class RMGRun

Inheritance Relationships

Base Type

  • public G4Run

Class Documentation

class RMGRun : public G4Run

Per-run object extending G4Run with bookkeeping needed by remage.

Currently stores the wall-clock start time of the run, used by RMGRunAction to report run duration.

Public Types

using TimePoint = std::chrono::time_point<std::chrono::system_clock>

Public Functions

inline const TimePoint &GetStartTime() const

Wall-clock time at which the run was started.

inline void SetStartTime(TimePoint t)

Record the wall-clock time at which the run was started.