Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simpleRandom Class Reference

#include <online_distribution/blob/master/newbasic/simpleRandom.h>

Public Member Functions

 simpleRandom ()
 
 simpleRandom (const int iseed)
 
float gauss (const float mean, const float sigma)
 
float rnd (int low, int high)
 
 simpleRandom ()
 
 simpleRandom (const int iseed)
 
float gauss (const float mean, const float sigma)
 
float rnd (int low, int high)
 

Private Member Functions

void byteSwap (word32 *buf, unsigned words)
 
void xMD5Init (struct xMD5Context *ctx)
 
void xMD5Update (struct xMD5Context *ctx, xbyte const *buf, unsigned int len)
 
void xMD5Final (xbyte digest[16], struct xMD5Context *ctx)
 
void xMD5Transform (word32 buf[4], word32 const in[16])
 
void MD5 (xbyte *dest, const xbyte *orig, unsigned int len)
 
void load_seed ()
 
void byteSwap (word32 *buf, unsigned words)
 
void xMD5Init (struct xMD5Context *ctx)
 
void xMD5Update (struct xMD5Context *ctx, byte const *buf, int len)
 
void xMD5Final (byte digest[16], struct xMD5Context *ctx)
 
void xMD5Transform (word32 buf[4], word32 const in[16])
 
void MD5 (byte *dest, const byte *orig, int len)
 
void load_seed ()
 

Private Attributes

unsigned int digest [4]
 

Detailed Description

Definition at line 66 of file simpleRandom.h.

View newest version in sPHENIX GitHub at line 66 of file simpleRandom.h

Constructor & Destructor Documentation

simpleRandom::simpleRandom ( )

Definition at line 232 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 232 of file simpleRandom.cc

References digest.

simpleRandom::simpleRandom ( const int  iseed)

Definition at line 242 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 242 of file simpleRandom.cc

References digest.

simpleRandom::simpleRandom ( )
simpleRandom::simpleRandom ( const int  iseed)

Member Function Documentation

void simpleRandom::byteSwap ( word32 buf,
unsigned  words 
)
private

Definition at line 15 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 15 of file simpleRandom.cc

References merge_hashes::p.

Referenced by xMD5Final(), and xMD5Update().

+ Here is the caller graph for this function:

void simpleRandom::byteSwap ( word32 buf,
unsigned  words 
)
private
float simpleRandom::gauss ( const float  mean,
const float  sigma 
)
float simpleRandom::gauss ( const float  mean,
const float  sigma 
)

Definition at line 251 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 251 of file simpleRandom.cc

References BIGNUMBER, rnd(), ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.

Referenced by testEventiterator::getNextEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void simpleRandom::load_seed ( )
private
void simpleRandom::load_seed ( )
private
void simpleRandom::MD5 ( byte dest,
const byte orig,
int  len 
)
private

Definition at line 218 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 218 of file simpleRandom.cc

References xMD5Final(), xMD5Init(), and xMD5Update().

+ Here is the call graph for this function:

void simpleRandom::MD5 ( xbyte dest,
const xbyte orig,
unsigned int  len 
)
private

Definition at line 221 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 221 of file simpleRandom.cc

References xMD5Final(), xMD5Init(), and xMD5Update().

Referenced by rnd().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float simpleRandom::rnd ( int  low,
int  high 
)
float simpleRandom::rnd ( int  low,
int  high 
)

Definition at line 276 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 276 of file simpleRandom.cc

References digest, mask, MD5(), and physmon_track_finding_ttbar::r.

Referenced by gauss().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void simpleRandom::xMD5Final ( xbyte  digest[16],
struct xMD5Context ctx 
)
private

Definition at line 87 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 87 of file simpleRandom.cc

References xMD5Context::buf, xMD5Context::bytes, byteSwap(), test_fpe::count, if(), xMD5Context::in, merge_hashes::p, and xMD5Transform().

Referenced by MD5().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void simpleRandom::xMD5Final ( byte  digest[16],
struct xMD5Context ctx 
)
private
void simpleRandom::xMD5Init ( struct xMD5Context ctx)
private
void simpleRandom::xMD5Init ( struct xMD5Context ctx)
private

Definition at line 31 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 31 of file simpleRandom.cc

References xMD5Context::buf, and xMD5Context::bytes.

Referenced by MD5().

+ Here is the caller graph for this function:

void simpleRandom::xMD5Transform ( word32  buf[4],
word32 const  in[16] 
)
private
void simpleRandom::xMD5Transform ( word32  buf[4],
word32 const  in[16] 
)
private

Definition at line 137 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 137 of file simpleRandom.cc

References KFPMath::a, KFPMath::b, Acts::PhysicalConstants::c, F1, F2, F3, F4, and MD5STEP.

Referenced by xMD5Final(), and xMD5Update().

+ Here is the caller graph for this function:

void simpleRandom::xMD5Update ( struct xMD5Context ctx,
byte const *  buf,
int  len 
)
private

Definition at line 44 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 44 of file simpleRandom.cc

References xMD5Context::buf, xMD5Context::bytes, byteSwap(), xMD5Context::in, t, and xMD5Transform().

+ Here is the call graph for this function:

void simpleRandom::xMD5Update ( struct xMD5Context ctx,
xbyte const *  buf,
unsigned int  len 
)
private

Definition at line 47 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 47 of file simpleRandom.cc

References xMD5Context::buf, xMD5Context::bytes, byteSwap(), xMD5Context::in, t, and xMD5Transform().

Referenced by MD5().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

unsigned int simpleRandom::digest
private

Definition at line 84 of file simpleRandom.h.

View newest version in sPHENIX GitHub at line 84 of file simpleRandom.h

Referenced by rnd(), and simpleRandom().


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