CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edm::RandomNumberGeneratorState Struct Reference

#include <RandomNumberGeneratorState.h>

Public Member Functions

RandomNumberGeneratorStateoperator= (RandomNumberGeneratorState const &)=default
 
RandomNumberGeneratorStateoperator= (RandomNumberGeneratorState &&)=default
 
 RandomNumberGeneratorState ()=default
 
 RandomNumberGeneratorState (std::vector< unsigned long > iState, long iSeed)
 
 RandomNumberGeneratorState (RandomNumberGeneratorState const &)=default
 
 RandomNumberGeneratorState (RandomNumberGeneratorState &&)=default
 

Public Attributes

long seed_
 
std::vector< unsigned long > state_
 

Detailed Description

Definition at line 11 of file RandomNumberGeneratorState.h.

Constructor & Destructor Documentation

edm::RandomNumberGeneratorState::RandomNumberGeneratorState ( )
default
edm::RandomNumberGeneratorState::RandomNumberGeneratorState ( std::vector< unsigned long >  iState,
long  iSeed 
)
inline

Definition at line 13 of file RandomNumberGeneratorState.h.

References operator=(), and RandomNumberGeneratorState().

14  : state_(std::move(iState)), seed_{iSeed} {}
std::vector< unsigned long > state_
def move(src, dest)
Definition: eostools.py:511
edm::RandomNumberGeneratorState::RandomNumberGeneratorState ( RandomNumberGeneratorState const &  )
default
edm::RandomNumberGeneratorState::RandomNumberGeneratorState ( RandomNumberGeneratorState &&  )
default

Member Function Documentation

RandomNumberGeneratorState& edm::RandomNumberGeneratorState::operator= ( RandomNumberGeneratorState const &  )
default
RandomNumberGeneratorState& edm::RandomNumberGeneratorState::operator= ( RandomNumberGeneratorState &&  )
default

Member Data Documentation

long edm::RandomNumberGeneratorState::seed_

Definition at line 23 of file RandomNumberGeneratorState.h.

std::vector<unsigned long> edm::RandomNumberGeneratorState::state_

Definition at line 22 of file RandomNumberGeneratorState.h.