LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 16 of file RNGsnapshot.h.
using art::RNGsnapshot::CLHEP_t = unsigned long |
Definition at line 19 of file RNGsnapshot.h.
using art::RNGsnapshot::engine_state_t = std::vector<CLHEP_t> |
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.
using art::RNGsnapshot::snapshot_state_t = std::vector<saved_t> |
Definition at line 24 of file RNGsnapshot.h.
|
default |
|
explicit |
|
inline |
|
inline |
Definition at line 51 of file RNGsnapshot.h.
References label_.
std::vector< unsigned long > art::RNGsnapshot::restoreState | ( | ) | const |
void art::RNGsnapshot::saveFrom | ( | std::string const & | , |
label_t const & | , | ||
engine_state_t const & | |||
) |
|
inline |
|
private |
Definition at line 66 of file RNGsnapshot.h.
Referenced by ekind().
|
private |
Definition at line 67 of file RNGsnapshot.h.
Referenced by label().
|
private |
Definition at line 68 of file RNGsnapshot.h.
Referenced by state().