#include <BinomialProbability.h>
Public Member Functions | |
BinomialProbability () | |
BinomialProbability (int hits, int entries) | |
int | entries () const |
float | error () const |
void | hit () |
int | hits () const |
void | miss () |
void | update (bool hit) |
float | value () const |
Private Attributes | |
int | theHits |
int | theTotal |
A simple class for accumulating binomial "events", i.e. events that have a yes/no outcome, and for computing the binomial error on the fraction of positive hits.
Definition at line 10 of file BinomialProbability.h.
|
inline |
Definition at line 13 of file BinomialProbability.h.
|
inline |
Definition at line 15 of file BinomialProbability.h.
|
inline |
|
inline |
Definition at line 22 of file BinomialProbability.h.
References f, AlCaHLTBitMon_ParallelJobs::p, mathSSE::sqrt(), theTotal, and value().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 35 of file BinomialProbability.h.
References theHits, and theTotal.
Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().
|
inline |
Definition at line 18 of file BinomialProbability.h.
References theHits, and theTotal.
Referenced by average.Average::average(), and error().
|
private |