#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 12 of file BinomialProbability.h.
|
inline |
Definition at line 15 of file BinomialProbability.h.
|
inline |
|
inline |
|
inline |
Definition at line 24 of file BinomialProbability.h.
References f, AlCaHLTBitMon_ParallelJobs::p, mathSSE::sqrt(), theTotal, and value().
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 37 of file BinomialProbability.h.
References theHits, and theTotal.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
inline |
Definition at line 20 of file BinomialProbability.h.
References dqmMemoryStats::float, theHits, and theTotal.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), average.Average::average(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), error(), Mixins.UsingBlock::insertInto(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
|
private |