Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Random.cc File Reference
#include <cmath>
#include <iostream>
#include <TMath.h>
#include "Garfield/Random.hh"

Go to the source code of this file.

Namespaces

namespace  Garfield
 

Functions

double Garfield::RndmLandau ()
 Draw a random number from a Landau distribution.
 
double Garfield::RndmVavilov (const double rkappa, const double beta2)
 Draw a random number from a Vavilov distribution.
 
int Garfield::RndmPoisson (const double mean)
 Draw a random number from a Poisson distribution.
 
double Garfield::RndmHeedWF (const double w, const double f)