#include <RNGsnapshot.h>
Public Types | |
using | CLHEP_t = unsigned long |
using | engine_state_t = std::vector< CLHEP_t > |
using | saved_t = unsigned int |
using | snapshot_state_t = std::vector< saved_t > |
using | label_t = std::string |
Public Member Functions | |
RNGsnapshot ()=default | |
RNGsnapshot (std::string const &ekind, label_t const &label, engine_state_t const &est) | |
std::string const & | ekind () const |
label_t const & | label () const |
snapshot_state_t const & | state () const |
void | saveFrom (std::string const &, label_t const &, engine_state_t const &) |
engine_state_t | restoreState () const |
Private Attributes | |
std::string | engine_kind_ {} |
label_t | label_ {} |
snapshot_state_t | state_ {} |
Definition at line 16 of file RNGsnapshot.h.
using art::RNGsnapshot::CLHEP_t = unsigned long |
Definition at line 19 of file RNGsnapshot.h.
Definition at line 20 of file RNGsnapshot.h.
using art::RNGsnapshot::label_t = std::string |
Definition at line 25 of file RNGsnapshot.h.
using art::RNGsnapshot::saved_t = unsigned int |
Definition at line 23 of file RNGsnapshot.h.
Definition at line 24 of file RNGsnapshot.h.
|
default |
|
explicit |
|
inline |
Definition at line 46 of file RNGsnapshot.h.
|
inline |
Definition at line 51 of file RNGsnapshot.h.
std::vector< unsigned long > art::RNGsnapshot::restoreState | ( | ) | const |
Definition at line 32 of file RNGsnapshot.cc.
void art::RNGsnapshot::saveFrom | ( | std::string const & | , |
label_t const & | , | ||
engine_state_t const & | |||
) |
Definition at line 21 of file RNGsnapshot.cc.
|
inline |
Definition at line 56 of file RNGsnapshot.h.
|
private |
Definition at line 66 of file RNGsnapshot.h.
|
private |
Definition at line 67 of file RNGsnapshot.h.
|
private |
Definition at line 68 of file RNGsnapshot.h.