Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooStats::NumEventsTestStat Class Reference

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)
 
 ~NumEventsTestStat () override
 
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 RooAbsArgGetTestStatistic () const
 
const TString GetVarName () const override
 
TClassIsA () const override
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from RooStats::TestStatistic
virtual ~TestStatistic ()
 
virtual const RooArgSetGetDetailedOutput () 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 TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from RooStats::TestStatistic
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Attributes

RooAbsPdffPdf
 

#include <RooStats/NumEventsTestStat.h>

Inheritance diagram for RooStats::NumEventsTestStat:
[legend]

Constructor & Destructor Documentation

◆ NumEventsTestStat() [1/2]

RooStats::NumEventsTestStat::NumEventsTestStat ( )
inline

Definition at line 44 of file NumEventsTestStat.h.

◆ NumEventsTestStat() [2/2]

RooStats::NumEventsTestStat::NumEventsTestStat ( RooAbsPdf pdf)
inline

Definition at line 45 of file NumEventsTestStat.h.

◆ ~NumEventsTestStat()

RooStats::NumEventsTestStat::~NumEventsTestStat ( )
inlineoverride

Definition at line 48 of file NumEventsTestStat.h.

Member Function Documentation

◆ Class()

static TClass * RooStats::NumEventsTestStat::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooStats::NumEventsTestStat::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t RooStats::NumEventsTestStat::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 88 of file NumEventsTestStat.h.

◆ DeclFileName()

static const char * RooStats::NumEventsTestStat::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 88 of file NumEventsTestStat.h.

◆ Evaluate()

double RooStats::NumEventsTestStat::Evaluate ( RooAbsData data,
RooArgSet nullPOI 
)
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 54 of file NumEventsTestStat.h.

◆ GetTestStatistic()

virtual const RooAbsArg * RooStats::NumEventsTestStat::GetTestStatistic ( ) const
inlinevirtual

Definition at line 79 of file NumEventsTestStat.h.

◆ GetVarName()

const TString RooStats::NumEventsTestStat::GetVarName ( ) const
inlineoverridevirtual

Implements RooStats::TestStatistic.

Definition at line 81 of file NumEventsTestStat.h.

◆ IsA()

TClass * RooStats::NumEventsTestStat::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from RooStats::TestStatistic.

Definition at line 88 of file NumEventsTestStat.h.

◆ Streamer()

void RooStats::NumEventsTestStat::Streamer ( TBuffer )
overridevirtual

Reimplemented from RooStats::TestStatistic.

◆ StreamerNVirtual()

void RooStats::NumEventsTestStat::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 88 of file NumEventsTestStat.h.

Member Data Documentation

◆ fPdf

RooAbsPdf* RooStats::NumEventsTestStat::fPdf
private

Definition at line 85 of file NumEventsTestStat.h.

Libraries for RooStats::NumEventsTestStat:

The documentation for this class was generated from the following file: