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

◆ RandomNumberGeneratorState() [1/4]

edm::RandomNumberGeneratorState::RandomNumberGeneratorState ( )
default

◆ RandomNumberGeneratorState() [2/4]

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

Definition at line 13 of file RandomNumberGeneratorState.h.

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

◆ RandomNumberGeneratorState() [3/4]

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

◆ RandomNumberGeneratorState() [4/4]

edm::RandomNumberGeneratorState::RandomNumberGeneratorState ( RandomNumberGeneratorState &&  )
default

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ seed_

long edm::RandomNumberGeneratorState::seed_

Definition at line 23 of file RandomNumberGeneratorState.h.

◆ state_

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

Definition at line 22 of file RandomNumberGeneratorState.h.