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

Definition at line 37 of file DebuggingTestStat.h.

Public Member Functions

 DebuggingTestStat ()
double Evaluate (RooAbsData &, RooArgSet &) override
 Main interface to evaluate the test statistic on a dataset.
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 const TString GetVarName () const =0
TClassIsA () const override
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 Streamer (TBuffer &) override
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 ()

Private Attributes

TRandomfRand
RooRealVarfTestStatistic

#include <RooStats/DebuggingTestStat.h>

Inheritance diagram for RooStats::DebuggingTestStat:
RooStats::TestStatistic

Constructor & Destructor Documentation

◆ DebuggingTestStat()

RooStats::DebuggingTestStat::DebuggingTestStat ( )
inline

Definition at line 40 of file DebuggingTestStat.h.

Member Function Documentation

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 61 of file DebuggingTestStat.h.

◆ DeclFileName()

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

Definition at line 61 of file DebuggingTestStat.h.

◆ Evaluate()

double RooStats::DebuggingTestStat::Evaluate ( RooAbsData & ,
RooArgSet &  )
inlineoverridevirtual

Main interface to evaluate the test statistic on a dataset.

Implements RooStats::TestStatistic.

Definition at line 46 of file DebuggingTestStat.h.

◆ GetDetailedOutput()

virtual const RooArgSet * RooStats::TestStatistic::GetDetailedOutput ( void ) const
inlinevirtualinherited

return detailed output: for fits this can be pulls, processing time, ... The returned pointer will not loose validity until another call to Evaluate.

Reimplemented in RooStats::ProfileLikelihoodTestStat, RooStats::RatioOfProfiledLikelihoodsTestStat, and RooStats::SimpleLikelihoodRatioTestStat.

Definition at line 48 of file TestStatistic.h.

◆ GetVarName()

◆ IsA()

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

Reimplemented from RooStats::TestStatistic.

Definition at line 61 of file DebuggingTestStat.h.

◆ PValueIsRightTail()

virtual bool RooStats::TestStatistic::PValueIsRightTail ( void ) const
inlinevirtualinherited

Defines the sign convention of the test statistic. Overwrite function if necessary.

Reimplemented in RooStats::MaxLikelihoodEstimateTestStat.

Definition at line 45 of file TestStatistic.h.

◆ SetConditionalObservables()

virtual void RooStats::TestStatistic::SetConditionalObservables ( const RooArgSet & )
inlinevirtualinherited

interface to set conditional observables. If a test statistics needs them it will re-implement this function

Reimplemented in RooStats::MaxLikelihoodEstimateTestStat, RooStats::ProfileLikelihoodTestStat, RooStats::RatioOfProfiledLikelihoodsTestStat, and RooStats::SimpleLikelihoodRatioTestStat.

Definition at line 51 of file TestStatistic.h.

◆ SetGlobalObservables()

virtual void RooStats::TestStatistic::SetGlobalObservables ( const RooArgSet & )
inlinevirtualinherited

interface to set global observables. If a test statistics needs them it will re-implement this function

Reimplemented in RooStats::ProfileLikelihoodTestStat, RooStats::RatioOfProfiledLikelihoodsTestStat, and RooStats::SimpleLikelihoodRatioTestStat.

Definition at line 54 of file TestStatistic.h.

◆ Streamer()

void RooStats::DebuggingTestStat::Streamer ( TBuffer & )
overridevirtual

Reimplemented from RooStats::TestStatistic.

◆ StreamerNVirtual()

void RooStats::DebuggingTestStat::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 61 of file DebuggingTestStat.h.

Member Data Documentation

◆ fRand

TRandom* RooStats::DebuggingTestStat::fRand
private

Definition at line 58 of file DebuggingTestStat.h.

◆ fTestStatistic

RooRealVar* RooStats::DebuggingTestStat::fTestStatistic
private

Definition at line 57 of file DebuggingTestStat.h.


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