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) | |
double | Evaluate (RooAbsData &data, RooArgSet &) override |
Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. | |
virtual const RooAbsArg * | GetTestStatistic () const |
const TString | GetVarName () const override |
TClass * | IsA () const override |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
![]() | |
virtual | ~TestStatistic () |
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. | |
virtual bool | PValueIsRightTail (void) const |
Defines the sign convention of the test statistic. Overwrite function if necessary. | |
virtual void | SetConditionalObservables (const RooArgSet &) |
interface to set conditional observables. If a test statistics needs them it will re-implement this function | |
virtual void | SetGlobalObservables (const RooArgSet &) |
interface to set global observables. If a test statistics needs them it will re-implement this function | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
![]() | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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.
Definition at line 82 of file NumEventsTestStat.h.
Definition at line 82 of file NumEventsTestStat.h.
|
inlineoverridevirtual |
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 48 of file NumEventsTestStat.h.
Definition at line 73 of file NumEventsTestStat.h.
Implements RooStats::TestStatistic.
Definition at line 75 of file NumEventsTestStat.h.
|
inlineoverridevirtual |
Reimplemented from RooStats::TestStatistic.
Definition at line 82 of file NumEventsTestStat.h.
|
overridevirtual |
Reimplemented from RooStats::TestStatistic.
|
inline |
Definition at line 82 of file NumEventsTestStat.h.
|
private |
Definition at line 79 of file NumEventsTestStat.h.