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 49 of file MinNLLTestStat.h.

Public Member Functions

 MinNLLTestStat ()
 
 MinNLLTestStat (const MinNLLTestStat &rhs)
 
 MinNLLTestStat (RooAbsPdf &pdf)
 
virtual ~MinNLLTestStat ()
 
virtual void EnableDetailedOutput (bool e=true)
 
virtual Double_t Evaluate (RooAbsData &data, RooArgSet &paramsOfInterest)
 Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest. More...
 
virtual const RooArgSetGetDetailedOutput (void) 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
 
MinNLLTestStatoperator= (const MinNLLTestStat &rhs)
 
void SetLOffset (Bool_t flag=kTRUE)
 
void SetMinimizer (const char *minimizer)
 
void SetOneSided (Bool_t flag=true)
 
void SetOneSidedDiscovery (Bool_t flag=true)
 
void SetPrintLevel (Int_t printlevel)
 
void SetReuseNLL (Bool_t flag)
 
void SetStrategy (Int_t strategy)
 
void SetTolerance (double tol)
 
virtual void SetVarName (const char *name)
 
- 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 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 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

ProfileLikelihoodTestStatfProflts
 

#include <RooStats/MinNLLTestStat.h>

Inheritance diagram for RooStats::MinNLLTestStat:
[legend]

Constructor & Destructor Documentation

◆ MinNLLTestStat() [1/3]

RooStats::MinNLLTestStat::MinNLLTestStat ( )
inline

Definition at line 52 of file MinNLLTestStat.h.

◆ MinNLLTestStat() [2/3]

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

Definition at line 56 of file MinNLLTestStat.h.

◆ MinNLLTestStat() [3/3]

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

Definition at line 60 of file MinNLLTestStat.h.

◆ ~MinNLLTestStat()

virtual RooStats::MinNLLTestStat::~MinNLLTestStat ( )
inlinevirtual

Definition at line 74 of file MinNLLTestStat.h.

Member Function Documentation

◆ EnableDetailedOutput()

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

Definition at line 92 of file MinNLLTestStat.h.

◆ Evaluate()

virtual Double_t RooStats::MinNLLTestStat::Evaluate ( RooAbsData data,
RooArgSet nullPOI 
)
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 88 of file MinNLLTestStat.h.

◆ GetDetailedOutput()

virtual const RooArgSet * RooStats::MinNLLTestStat::GetDetailedOutput ( void  ) const
inlinevirtual

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 94 of file MinNLLTestStat.h.

◆ GetVarName()

virtual const TString RooStats::MinNLLTestStat::GetVarName ( ) const
inlinevirtual

Implements RooStats::TestStatistic.

Definition at line 105 of file MinNLLTestStat.h.

◆ operator=()

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

Definition at line 65 of file MinNLLTestStat.h.

◆ SetLOffset()

void RooStats::MinNLLTestStat::SetLOffset ( Bool_t  flag = kTRUE)
inline

Definition at line 85 of file MinNLLTestStat.h.

◆ SetMinimizer()

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

Definition at line 81 of file MinNLLTestStat.h.

◆ SetOneSided()

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

Definition at line 78 of file MinNLLTestStat.h.

◆ SetOneSidedDiscovery()

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

Definition at line 79 of file MinNLLTestStat.h.

◆ SetPrintLevel()

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

Definition at line 84 of file MinNLLTestStat.h.

◆ SetReuseNLL()

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

Definition at line 80 of file MinNLLTestStat.h.

◆ SetStrategy()

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

Definition at line 82 of file MinNLLTestStat.h.

◆ SetTolerance()

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

Definition at line 83 of file MinNLLTestStat.h.

◆ SetVarName()

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

Definition at line 103 of file MinNLLTestStat.h.

Member Data Documentation

◆ fProflts

ProfileLikelihoodTestStat* RooStats::MinNLLTestStat::fProflts
private

Definition at line 108 of file MinNLLTestStat.h.

Libraries for RooStats::MinNLLTestStat:
[legend]

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