ATLAS Offline Software
Loading...
Searching...
No Matches
RanSeed Class Reference

Class definition for RanSeed, which is used to modify the Hijing RANSEED common. More...

#include <RanSeed.h>

Collaboration diagram for RanSeed:

Classes

struct  RANSEED

Public Member Functions

 RanSeed ()
 ~RanSeed ()
int & nseed (void)

Static Private Attributes

static RANSEEDs_ranseed =0

Friends

struct RANSEED

Detailed Description

Class definition for RanSeed, which is used to modify the Hijing RANSEED common.

Definition at line 18 of file RanSeed.h.

Constructor & Destructor Documentation

◆ RanSeed()

RanSeed::RanSeed ( )
inline

Definition at line 43 of file RanSeed.h.

44{}

◆ ~RanSeed()

RanSeed::~RanSeed ( )
inline

Definition at line 47 of file RanSeed.h.

48{}

Member Function Documentation

◆ nseed()

int & RanSeed::nseed ( void )
inline

Definition at line 51 of file RanSeed.h.

52{
53 if (!s_ranseed) s_ranseed = reinterpret_cast<RANSEED*>(ranseed_address_());
54 return s_ranseed->nseed;
55}
uintptr_t ranseed_address_()
static RANSEED * s_ranseed
Definition RanSeed.h:36

◆ RANSEED

friend struct RANSEED
friend

Definition at line 29 of file RanSeed.h.

Member Data Documentation

◆ s_ranseed

RanSeed::RANSEED * RanSeed::s_ranseed =0
staticprivate

Definition at line 36 of file RanSeed.h.


The documentation for this class was generated from the following file: