4 #include "cetlib/container_algorithms.h" 13 RNGsnapshot::RNGsnapshot(std::string
const& ekind,
14 std::string
const& lbl,
15 std::vector<unsigned long>
const& est)
17 saveFrom(ekind, lbl, est);
21 RNGsnapshot::saveFrom(std::string
const& ekind,
22 std::string
const& lbl,
23 std::vector<unsigned long>
const& est)
28 cet::copy_all(est, std::back_inserter(state_));
31 std::vector<unsigned long>
32 RNGsnapshot::restoreState()
const 34 std::vector<unsigned long> est;
36 cet::copy_all(state_, std::back_inserter(est));