|
qupid 0.2
Quasi-Signal Generation Model for Pixelized Detector
|
Header-only adapter: implements QPRandomBase on top of a caller-owned TRandom. More...
#include </home/runner/work/qupid/qupid/vis/include/QPRandomTRandom.hpp>
Public Member Functions | |
| QPRandomTRandom (TRandom *random) | |
| virtual | ~QPRandomTRandom () |
| Does not delete the wrapped TRandom. | |
| virtual void | SetSeed (unsigned long seed) |
| Delegates to TRandom::SetSeed. | |
| virtual double | Uniform (double a, double b) |
| Delegates to TRandom::Uniform(a, b). | |
| virtual double | Gaus (double mean, double sigma) |
| Delegates to TRandom::Gaus(mean, sigma). | |
Public Member Functions inherited from QPRandomBase | |
| virtual | ~QPRandomBase () |
| Virtual destructor for deletion through the interface. | |
Header-only adapter: implements QPRandomBase on top of a caller-owned TRandom.
Delegates Uniform(a,b) / Gaus(mean,sigma) one-to-one, so the TRandom stream (and any baseline built on it) is preserved exactly. Neither libqupid nor libqupidVis includes this header; only executables that include it link ROOT.
Definition at line 13 of file QPRandomTRandom.hpp.
|
inline |
| random | TRandom instance to delegate to; caller-owned, not deleted by the adapter |
Definition at line 17 of file QPRandomTRandom.hpp.
|
inlinevirtual |
Does not delete the wrapped TRandom.
Definition at line 19 of file QPRandomTRandom.hpp.
|
inlinevirtual |
Delegates to TRandom::SetSeed.
| seed | engine seed value |
Implements QPRandomBase.
Definition at line 23 of file QPRandomTRandom.hpp.
|
inlinevirtual |
Delegates to TRandom::Uniform(a, b).
| a | lower bound |
| b | upper bound |
Implements QPRandomBase.
Definition at line 28 of file QPRandomTRandom.hpp.
|
inlinevirtual |
Delegates to TRandom::Gaus(mean, sigma).
| mean | mean of the distribution |
| sigma | standard deviation |
Implements QPRandomBase.
Definition at line 33 of file QPRandomTRandom.hpp.