![]() |
Diana Software
|
Useful functions for random data. More...
Functions | |
| Diana::QVector | Gauss (UInt_t Size, double mean=0, double std=1.) |
| Diana::QVector | Uniform (UInt_t Size, double max=1) |
| Return a uniform distributed vector of size Size. More... | |
| Diana::QVector | Uniform (UInt_t Size, double min, double max) |
| Return a uniform distributed vector of size Size. More... | |
| Diana::QVector | NoiseWaveformFromANPS (const Diana::QVector &anps) |
| Build a noise waveform from an ANPS. More... | |
Useful functions for random data.
| Diana::QVector QVectorTools::Random::Gauss | ( | UInt_t | Size, |
| double | mean = 0, |
||
| double | std = 1. |
||
| ) |
brief Return a vector of size Size gaussian distributed about mean with std
| Diana::QVector QVectorTools::Random::NoiseWaveformFromANPS | ( | const Diana::QVector & | anps | ) |
Build a noise waveform from an ANPS.
Builds a random noise waveform given a particular expected ANPS. The magnitude of the freqeuncy components are chosen such that they will on average look like the ANPS, and the phases are random and uncorrelated.
| Diana::QVector QVectorTools::Random::Uniform | ( | UInt_t | Size, |
| double | max = 1 |
||
| ) |
Return a uniform distributed vector of size Size.
| Diana::QVector QVectorTools::Random::Uniform | ( | UInt_t | Size, |
| double | min, | ||
| double | max | ||
| ) |
Return a uniform distributed vector of size Size.