![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#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 40 of file RNGsnapshot.h.
| using art::RNGsnapshot::CLHEP_t = unsigned long |
Definition at line 43 of file RNGsnapshot.h.
| using art::RNGsnapshot::engine_state_t = std::vector<CLHEP_t> |
Definition at line 44 of file RNGsnapshot.h.
| using art::RNGsnapshot::label_t = std::string |
Definition at line 49 of file RNGsnapshot.h.
| using art::RNGsnapshot::saved_t = unsigned int |
Definition at line 47 of file RNGsnapshot.h.
| using art::RNGsnapshot::snapshot_state_t = std::vector<saved_t> |
Definition at line 48 of file RNGsnapshot.h.
|
default |
|
explicit |
Definition at line 12 of file RNGsnapshot.cc.
References saveFrom().
|
inline |
|
inline |
Definition at line 68 of file RNGsnapshot.h.
References label_.
| RNGsnapshot::engine_state_t RNGsnapshot::restoreState | ( | ) | const |
| void RNGsnapshot::saveFrom | ( | std::string const & | ekind, |
| label_t const & | lbl, | ||
| engine_state_t const & | est | ||
| ) |
Definition at line 20 of file RNGsnapshot.cc.
References ekind(), engine_kind_, label_, and state_.
Referenced by RNGsnapshot(), and state().
|
inline |
|
private |
Definition at line 83 of file RNGsnapshot.h.
Referenced by ekind(), and saveFrom().
|
private |
Definition at line 84 of file RNGsnapshot.h.
Referenced by label(), and saveFrom().
|
private |
Definition at line 85 of file RNGsnapshot.h.
Referenced by restoreState(), saveFrom(), and state().