Logo ROOT  
Reference Guide
RooStats::MinNLLTestStat Class Reference

MinNLLTestStat is an implementation of the TestStatistic interface that calculates the minimum value of the negative log likelihood function and returns it as a test statistic.

Internally it operates by delegating to a MinNLLTestStat object.

Definition at line 47 of file MinNLLTestStat.h.

Public Member Functions

 MinNLLTestStat ()
 
 MinNLLTestStat (const MinNLLTestStat &rhs)
 
 MinNLLTestStat (RooAbsPdf &pdf)
 
 ~MinNLLTestStat () override
 
virtual void EnableDetailedOutput (bool e=true)
 
double Evaluate (RooAbsData &data, RooArgSet &paramsOfInterest) override
 Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. More...
 
const RooArgSetGetDetailedOutput (void) const override
 return detailed output: for fits this can be pulls, processing time, ... The returned pointer will not loose validity until another call to Evaluate. More...
 
const TString GetVarName () const override
 
TClassIsA () const override
 
MinNLLTestStatoperator= (const MinNLLTestStat &rhs)
 
void SetLOffset (bool flag=true)
 
void SetMinimizer (const char *minimizer)
 
void SetOneSided (bool flag=true)
 
void SetOneSidedDiscovery (bool flag=true)
 
void SetPrintLevel (Int_t printlevel)
 
void SetReuseNLL (bool flag)
 
void SetStrategy (Int_t strategy)
 
void SetTolerance (double tol)
 
virtual void SetVarName (const char *name)
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from RooStats::TestStatistic
virtual ~TestStatistic ()
 
virtual double 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 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. More...
 
virtual const TString GetVarName () const =0
 
virtual TClassIsA () const
 
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...
 
virtual void Streamer (TBuffer &)
 
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

ProfileLikelihoodTestStatfProflts
 

#include <RooStats/MinNLLTestStat.h>

Inheritance diagram for RooStats::MinNLLTestStat:
[legend]

Constructor & Destructor Documentation

◆ MinNLLTestStat() [1/3]

RooStats::MinNLLTestStat::MinNLLTestStat ( )
inline

Definition at line 50 of file MinNLLTestStat.h.

◆ MinNLLTestStat() [2/3]

RooStats::MinNLLTestStat::MinNLLTestStat ( RooAbsPdf pdf)
inline

Definition at line 54 of file MinNLLTestStat.h.

◆ MinNLLTestStat() [3/3]

RooStats::MinNLLTestStat::MinNLLTestStat ( const MinNLLTestStat rhs)
inline

Definition at line 58 of file MinNLLTestStat.h.

◆ ~MinNLLTestStat()

RooStats::MinNLLTestStat::~MinNLLTestStat ( )
inlineoverride

Definition at line 72 of file MinNLLTestStat.h.

Member Function Documentation

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 109 of file MinNLLTestStat.h.

◆ DeclFileName()

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

Definition at line 109 of file MinNLLTestStat.h.

◆ EnableDetailedOutput()

virtual void RooStats::MinNLLTestStat::EnableDetailedOutput ( bool  e = true)
inlinevirtual

Definition at line 90 of file MinNLLTestStat.h.

◆ Evaluate()

double RooStats::MinNLLTestStat::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 86 of file MinNLLTestStat.h.

◆ GetDetailedOutput()

const RooArgSet * RooStats::MinNLLTestStat::GetDetailedOutput ( void  ) const
inlineoverridevirtual

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

Reimplemented from RooStats::TestStatistic.

Definition at line 92 of file MinNLLTestStat.h.

◆ GetVarName()

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

Implements RooStats::TestStatistic.

Definition at line 103 of file MinNLLTestStat.h.

◆ IsA()

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

Reimplemented from RooStats::TestStatistic.

Definition at line 109 of file MinNLLTestStat.h.

◆ operator=()

MinNLLTestStat & RooStats::MinNLLTestStat::operator= ( const MinNLLTestStat rhs)
inline

Definition at line 63 of file MinNLLTestStat.h.

◆ SetLOffset()

void RooStats::MinNLLTestStat::SetLOffset ( bool  flag = true)
inline

Definition at line 83 of file MinNLLTestStat.h.

◆ SetMinimizer()

void RooStats::MinNLLTestStat::SetMinimizer ( const char *  minimizer)
inline

Definition at line 79 of file MinNLLTestStat.h.

◆ SetOneSided()

void RooStats::MinNLLTestStat::SetOneSided ( bool  flag = true)
inline

Definition at line 76 of file MinNLLTestStat.h.

◆ SetOneSidedDiscovery()

void RooStats::MinNLLTestStat::SetOneSidedDiscovery ( bool  flag = true)
inline

Definition at line 77 of file MinNLLTestStat.h.

◆ SetPrintLevel()

void RooStats::MinNLLTestStat::SetPrintLevel ( Int_t  printlevel)
inline

Definition at line 82 of file MinNLLTestStat.h.

◆ SetReuseNLL()

void RooStats::MinNLLTestStat::SetReuseNLL ( bool  flag)
inline

Definition at line 78 of file MinNLLTestStat.h.

◆ SetStrategy()

void RooStats::MinNLLTestStat::SetStrategy ( Int_t  strategy)
inline

Definition at line 80 of file MinNLLTestStat.h.

◆ SetTolerance()

void RooStats::MinNLLTestStat::SetTolerance ( double  tol)
inline

Definition at line 81 of file MinNLLTestStat.h.

◆ SetVarName()

virtual void RooStats::MinNLLTestStat::SetVarName ( const char *  name)
inlinevirtual

Definition at line 101 of file MinNLLTestStat.h.

◆ Streamer()

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

Reimplemented from RooStats::TestStatistic.

◆ StreamerNVirtual()

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

Definition at line 109 of file MinNLLTestStat.h.

Member Data Documentation

◆ fProflts

ProfileLikelihoodTestStat* RooStats::MinNLLTestStat::fProflts
private

Definition at line 106 of file MinNLLTestStat.h.

Libraries for RooStats::MinNLLTestStat:
[legend]

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