ATLAS Offline Software
Classes | Public Member Functions | Static Private Attributes | Friends | List of all members
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 }

Friends And Related Function Documentation

◆ 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:
RanSeed::s_ranseed
static RANSEED * s_ranseed
Definition: RanSeed.h:36
RanSeed::RANSEED::nseed
int nseed
Definition: RanSeed.h:33
RanSeed::RANSEED
friend struct RANSEED
Definition: RanSeed.h:28
ranseed_address_
uintptr_t ranseed_address_()