Random.Binomial Method
Coded from Los Alamos report LA-5061-MS
N is binomially distributed between 0 and ntot inclusive with mean prob*ntot. prob is between 0 and 1.
Note: This function should not be used when ntot is large (say >100). The normal approximation is then recommended instead (with mean =*ntot+0.5 and standard deviation sqrt(ntot*prob*(1-prob)).
Author: Rene Brun, root.cern.ch
N is binomially distributed between 0 and ntot inclusive with mean prob*ntot. prob is between 0 and 1.
Note: This function should not be used when ntot is large (say >100). The normal approximation is then recommended instead (with mean =*ntot+0.5 and standard deviation sqrt(ntot*prob*(1-prob)).
Author: Rene Brun, root.cern.ch