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
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::RandomNumberGeneratorState
Definition: RandomNumberGeneratorState.h:11
edm::RandomNumberGeneratorState::seed_
long seed_
Definition: RandomNumberGeneratorState.h:23
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
edm::RandomNumberGeneratorState::operator=
RandomNumberGeneratorState & operator=(RandomNumberGeneratorState const &)=default
edm::RandomNumberGeneratorState::state_
std::vector< unsigned long > state_
Definition: RandomNumberGeneratorState.h:22
edm::RandomNumberGeneratorState::RandomNumberGeneratorState
RandomNumberGeneratorState(std::vector< unsigned long > iState, long iSeed)
Definition: RandomNumberGeneratorState.h:13
edm::RandomNumberGeneratorState::RandomNumberGeneratorState
RandomNumberGeneratorState()=default