Pvalue for poisson distrbution. More...
#include <XeStat.h>
Public Member Functions | |
bool | checkPValue () |
check that pValue is OK | |
double | eventsUpperLimit () |
Return upper limit of number of events in the fit. | |
double | getSigmaHat () |
Virtual method returning current estimated sigma. | |
double | nSignalPerCm2 () |
return expected number of signal events for 1 cm2 cross section | |
void | printFlagsAndParameters () |
print All flags and parameters | |
double | pValueS (double sigma) |
compute p-value for a given cross section | |
PVcountingSB (double sigToE=1., double bkg=0., double eff=1.) | |
void | setEventsUpperLimit (double lim) |
print All flags and parameters | |
bool | update () |
update after a change in conditions (mainly sigma test) |
Pvalue for poisson distrbution.
It must inherit virtually from SignalAndBackground
double PVcountingSB::getSigmaHat | ( | ) | [virtual] |
Virtual method returning current estimated sigma.
Reimplemented from PValue.
double PVcountingSB::pValueS | ( | double | sigma | ) | [virtual] |
compute p-value for a given cross section
sigma | true value of the cross section |
Implements PValue.
bool PVcountingSB::update | ( | ) | [virtual] |
update after a change in conditions (mainly sigma test)
Implements PValue.