CMS 3D CMS Logo

RandomNumberGeneratorState.h
Go to the documentation of this file.
1 #ifndef DataFormats_Common_RandomNumberGeneratorState_h
2 #define DataFormats_Common_RandomNumberGeneratorState_h
3 
4 /*----------------------------------------------------------------------
5 
6 RandomNumberGeneratorState is used to communicate with an external process
7 ----------------------------------------------------------------------*/
8 
9 #include <vector>
10 namespace edm {
12  RandomNumberGeneratorState() = default;
13  RandomNumberGeneratorState(std::vector<unsigned long> iState, long iSeed)
14  : state_(std::move(iState)), seed_{iSeed} {}
15 
18 
21 
22  std::vector<unsigned long> state_;
23  long seed_;
24  };
25 } // namespace edm
26 #endif
std::vector< unsigned long > state_
RandomNumberGeneratorState & operator=(RandomNumberGeneratorState const &)=default
RandomNumberGeneratorState(std::vector< unsigned long > iState, long iSeed)
HLT enums.
def move(src, dest)
Definition: eostools.py:511