ROOT  6.06/09
Reference Guide
Public Member Functions | Private Attributes | List of all members
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.

Internaly it operates by delegating to a MinNLLTestStat object.

Definition at line 54 of file MinNLLTestStat.h.

Public Member Functions

 MinNLLTestStat ()
 
 MinNLLTestStat (RooAbsPdf &pdf)
 
 MinNLLTestStat (const MinNLLTestStat &rhs)
 
MinNLLTestStatoperator= (const MinNLLTestStat &rhs)
 
virtual ~MinNLLTestStat ()
 
void SetOneSided (Bool_t flag=true)
 
void SetOneSidedDiscovery (Bool_t flag=true)
 
void SetReuseNLL (Bool_t flag)
 
void SetMinimizer (const char *minimizer)
 
void SetStrategy (Int_t strategy)
 
void SetTolerance (double tol)
 
void SetPrintLevel (Int_t printlevel)
 
void SetLOffset (Bool_t flag=kTRUE)
 
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 void EnableDetailedOutput (bool e=true)
 
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 void SetVarName (const char *name)
 
virtual const TString GetVarName () const
 
- Public Member Functions inherited from RooStats::TestStatistic
virtual ~TestStatistic ()
 
virtual bool PValueIsRightTail (void) const
 Defines the sign convention of the test statistic. Overwrite function if necessary. More...
 

Private Attributes

ProfileLikelihoodTestStatfProflts
 

#include <RooStats/MinNLLTestStat.h>

+ Inheritance diagram for RooStats::MinNLLTestStat:
+ Collaboration diagram for RooStats::MinNLLTestStat:

Constructor & Destructor Documentation

RooStats::MinNLLTestStat::MinNLLTestStat ( )
inline

Definition at line 57 of file MinNLLTestStat.h.

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

Definition at line 61 of file MinNLLTestStat.h.

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

Definition at line 65 of file MinNLLTestStat.h.

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

Definition at line 79 of file MinNLLTestStat.h.

Member Function Documentation

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

Definition at line 97 of file MinNLLTestStat.h.

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

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

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

Implements RooStats::TestStatistic.

Definition at line 111 of file MinNLLTestStat.h.

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

Definition at line 70 of file MinNLLTestStat.h.

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

Definition at line 90 of file MinNLLTestStat.h.

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

Definition at line 86 of file MinNLLTestStat.h.

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

Definition at line 83 of file MinNLLTestStat.h.

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

Definition at line 84 of file MinNLLTestStat.h.

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

Definition at line 89 of file MinNLLTestStat.h.

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

Definition at line 85 of file MinNLLTestStat.h.

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

Definition at line 87 of file MinNLLTestStat.h.

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

Definition at line 88 of file MinNLLTestStat.h.

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

Definition at line 109 of file MinNLLTestStat.h.

Member Data Documentation

ProfileLikelihoodTestStat* RooStats::MinNLLTestStat::fProflts
private

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