NumEventsTestStat is a simple implementation of the TestStatistic interface used for simple number counting.
It should probably support simple cuts as well.
Definition at line 41 of file NumEventsTestStat.h.
Public Member Functions | |
NumEventsTestStat () | |
NumEventsTestStat (RooAbsPdf &pdf) | |
virtual | ~NumEventsTestStat () |
virtual Double_t | Evaluate (RooAbsData &data, RooArgSet &) |
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. More... | |
virtual const RooAbsArg * | GetTestStatistic () const |
virtual const TString | GetVarName () const |
Public Member Functions inherited from RooStats::TestStatistic | |
virtual | ~TestStatistic () |
virtual Double_t | Evaluate (RooAbsData &data, RooArgSet &nullPOI)=0 |
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. More... | |
virtual const RooArgSet * | GetDetailedOutput () const |
return detailed output: for fits this can be pulls, processing time, ... The returned pointer will not loose validity until another call to Evaluate. More... | |
virtual const TString | GetVarName () const =0 |
virtual bool | PValueIsRightTail (void) const |
Defines the sign convention of the test statistic. Overwrite function if necessary. More... | |
virtual void | SetConditionalObservables (const RooArgSet &) |
interface to set conditional observables. If a test statistics needs them it will re-implement this function More... | |
virtual void | SetGlobalObservables (const RooArgSet &) |
interface to set global observables. If a test statistics needs them it will re-implement this function More... | |
Private Attributes | |
RooAbsPdf * | fPdf |
#include <RooStats/NumEventsTestStat.h>
|
inline |
Definition at line 44 of file NumEventsTestStat.h.
|
inline |
Definition at line 45 of file NumEventsTestStat.h.
|
inlinevirtual |
Definition at line 48 of file NumEventsTestStat.h.
|
inlinevirtual |
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest.
Implements RooStats::TestStatistic.
Definition at line 54 of file NumEventsTestStat.h.
|
inlinevirtual |
Definition at line 83 of file NumEventsTestStat.h.
|
inlinevirtual |
Implements RooStats::TestStatistic.
Definition at line 85 of file NumEventsTestStat.h.
|
private |
Definition at line 89 of file NumEventsTestStat.h.