ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/externals/clhep/include/CLHEP/Random/NonRandomEngine.h>
Public Member Functions | |
NonRandomEngine () | |
virtual | ~NonRandomEngine () |
void | setNextRandom (double r) |
void | setRandomSequence (double *s, int n) |
void | setRandomInterval (double x) |
double | flat () |
void | flatArray (const int size, double *vect) |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
Public Member Functions inherited from CLHEP::HepRandomEngine | |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
virtual void | saveStatus (const char filename[]="Config.conf") const =0 |
virtual void | restoreStatus (const char filename[]="Config.conf")=0 |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
virtual | operator unsigned int () |
Static Public Member Functions | |
static std::string | beginTag () |
static std::string | engineName () |
Static Public Member Functions inherited from CLHEP::HepRandomEngine | |
static std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
Private Member Functions | |
virtual void | setSeed (long, int) |
virtual void | setSeeds (const long *, int) |
virtual void | saveStatus (const char *) const |
virtual void | restoreStatus (const char *) |
virtual void | showStatus () const |
Private Attributes | |
bool | nextHasBeenSet |
bool | sequenceHasBeenSet |
bool | intervalHasBeenSet |
double | nextRandom |
std::vector< double > | sequence |
unsigned int | nInSeq |
double | randomInterval |
Additional Inherited Members | |
Static Protected Member Functions inherited from CLHEP::HepRandomEngine | |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
Protected Attributes inherited from CLHEP::HepRandomEngine | |
long | theSeed |
const long * | theSeeds |
Definition at line 38 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 38 of file NonRandomEngine.h
CLHEP::NonRandomEngine::NonRandomEngine | ( | ) |
Definition at line 32 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 32 of file NonRandomEngine.cc
|
virtual |
Definition at line 39 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 39 of file NonRandomEngine.cc
|
static |
Definition at line 140 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 140 of file NonRandomEngine.cc
|
inlinestatic |
Definition at line 70 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 70 of file NonRandomEngine.h
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 64 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 64 of file NonRandomEngine.cc
References a, g4zmq::exit(), intervalHasBeenSet, nextHasBeenSet, nextRandom, nInSeq, randomInterval, sequence, sequenceHasBeenSet, and v.
Referenced by flatArray().
Implements CLHEP::HepRandomEngine.
Definition at line 91 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 91 of file NonRandomEngine.cc
References flat().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 127 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 127 of file NonRandomEngine.cc
References getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 201 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 201 of file NonRandomEngine.cc
References getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 144 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 144 of file NonRandomEngine.cc
References intervalHasBeenSet, nextHasBeenSet, nextRandom, nInSeq, CLHEP::possibleKeywordInput(), randomInterval, sequence, sequenceHasBeenSet, v, and x.
Referenced by get().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 210 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 210 of file NonRandomEngine.cc
References intervalHasBeenSet, CLHEP::DoubConv::longs2double(), nextHasBeenSet, nextRandom, nInSeq, randomInterval, sequence, sequenceHasBeenSet, and t.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 30 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 30 of file NonRandomEngine.cc
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 97 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 97 of file NonRandomEngine.cc
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 107 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 107 of file NonRandomEngine.cc
References CLHEP::DoubConv::dto2longs(), intervalHasBeenSet, nextHasBeenSet, nextRandom, nInSeq, randomInterval, sequence, sequenceHasBeenSet, t, and v.
Referenced by put().
|
inlineprivatevirtual |
Definition at line 92 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 92 of file NonRandomEngine.h
|
inlineprivatevirtual |
Definition at line 91 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 91 of file NonRandomEngine.h
void CLHEP::NonRandomEngine::setNextRandom | ( | double | r | ) |
Definition at line 42 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 42 of file NonRandomEngine.cc
References nextHasBeenSet, nextRandom, and r.
void CLHEP::NonRandomEngine::setRandomInterval | ( | double | x | ) |
Definition at line 58 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 58 of file NonRandomEngine.cc
References intervalHasBeenSet, randomInterval, and x.
Definition at line 48 of file NonRandomEngine.cc.
View newest version in sPHENIX GitHub at line 48 of file NonRandomEngine.cc
References int(), n, nextHasBeenSet, nInSeq, sequence, and sequenceHasBeenSet.
Implements CLHEP::HepRandomEngine.
Definition at line 89 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 89 of file NonRandomEngine.h
Implements CLHEP::HepRandomEngine.
Definition at line 90 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 90 of file NonRandomEngine.h
|
inlineprivatevirtual |
Implements CLHEP::HepRandomEngine.
Definition at line 93 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 93 of file NonRandomEngine.h
|
private |
Definition at line 80 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 80 of file NonRandomEngine.h
Referenced by flat(), getState(), put(), and setRandomInterval().
|
private |
Definition at line 78 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 78 of file NonRandomEngine.h
Referenced by flat(), getState(), put(), setNextRandom(), and setRandomSequence().
|
private |
Definition at line 81 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 81 of file NonRandomEngine.h
Referenced by flat(), getState(), put(), and setNextRandom().
|
private |
Definition at line 83 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 83 of file NonRandomEngine.h
Referenced by flat(), getState(), put(), and setRandomSequence().
|
private |
Definition at line 84 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 84 of file NonRandomEngine.h
Referenced by flat(), getState(), put(), and setRandomInterval().
|
private |
Definition at line 82 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 82 of file NonRandomEngine.h
Referenced by flat(), getState(), put(), and setRandomSequence().
|
private |
Definition at line 79 of file NonRandomEngine.h.
View newest version in sPHENIX GitHub at line 79 of file NonRandomEngine.h
Referenced by flat(), getState(), put(), and setRandomSequence().