#include <EvtTRandom.h>
Definition at line 25 of file EvtTRandom.h.
◆ anonymous enum
◆ EvtTRandom() [1/2]
Definition at line 15 of file EvtTRandom.cpp.
18 SetTitle(
"Random number generator: EvtRandom");
◆ ~EvtTRandom() [1/2]
EvtTRandom::~EvtTRandom |
( |
| ) |
|
|
virtual |
◆ EvtTRandom() [2/2]
Definition at line 24 of file IEvtRandom.h.
27 SetName(
"EvtTRandom");
28 SetTitle(
"Random number generator: EvtTRandom");
MINT::IEvtRandom * m_rand
◆ ~EvtTRandom() [2/2]
virtual MINT::EvtTRandom::~EvtTRandom |
( |
| ) |
|
|
inlinevirtual |
◆ GetSeed()
UInt_t EvtTRandom::GetSeed |
( |
| ) |
const |
|
virtual |
Definition at line 56 of file EvtTRandom.cpp.
59 Error(
"MINT::EvtTRandom::GetSeed",
60 "EvtRandom engine not set. Returning zero.");
virtual UInt_t GetSeed() const =0
◆ Rndm() [1/2]
Double_t EvtTRandom::Rndm |
( |
Int_t |
i = 0 | ) |
|
|
virtual |
Definition at line 22 of file EvtTRandom.cpp.
25 Error(
"MINT::EvtTRandom::Rndm",
26 "EvtRandom engine not set. Returning 'kBigNumber'.");
virtual double Rndm(Int_t i)=0
◆ Rndm() [2/2]
virtual Double_t MINT::EvtTRandom::Rndm |
( |
Int_t |
i = 0 | ) |
|
|
inlinevirtual |
Definition at line 34 of file IEvtRandom.h.
virtual double Rndm(Int_t i)=0
MINT::IEvtRandom * m_rand
◆ RndmArray() [1/2]
void EvtTRandom::RndmArray |
( |
Int_t |
n, |
|
|
Float_t * |
array |
|
) |
| |
|
virtual |
Definition at line 32 of file EvtTRandom.cpp.
36 for(Int_t i=0; i<n; i++) array[i]=(Float_t)this->
Rndm();
virtual Double_t Rndm(Int_t i=0)
◆ RndmArray() [2/2]
void EvtTRandom::RndmArray |
( |
Int_t |
n, |
|
|
Double_t * |
array |
|
) |
| |
|
virtual |
Definition at line 39 of file EvtTRandom.cpp.
43 for(Int_t i=0; i<n; i++) array[i]=this->
Rndm();
virtual Double_t Rndm(Int_t i=0)
◆ SetSeed()
void EvtTRandom::SetSeed |
( |
UInt_t |
seed = 0 | ) |
|
|
virtual |
Definition at line 46 of file EvtTRandom.cpp.
49 Error(
"MINT::EvtTRandom::SetSeed",
50 "EvtRandom engine not set.");
virtual void SetSeed(UInt_t seed)=0
◆ m_rand
◆ m_rnd
The documentation for this class was generated from the following files: