ROOT  6.06/09
Reference Guide
Public Member Functions | List of all members
RooStats::TestStatistic Class Referenceabstract

TestStatistic is an interface class to provide a facility for construction test statistics distributions to the NeymanConstruction class.

All the actual samplers inherit from this class.

Definition at line 33 of file TestStatistic.h.

Public Member Functions

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 TString GetVarName () const =0
 
virtual bool PValueIsRightTail (void) const
 Defines the sign convention of the test statistic. Overwrite function if necessary. 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...
 

#include <RooStats/TestStatistic.h>

+ Inheritance diagram for RooStats::TestStatistic:

Constructor & Destructor Documentation

virtual RooStats::TestStatistic::~TestStatistic ( )
inlinevirtual

Definition at line 37 of file TestStatistic.h.

Member Function Documentation

virtual Double_t RooStats::TestStatistic::Evaluate ( RooAbsData data,
RooArgSet nullPOI 
)
pure virtual
virtual const RooArgSet* RooStats::TestStatistic::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 in RooStats::SimpleLikelihoodRatioTestStat, RooStats::RatioOfProfiledLikelihoodsTestStat, RooStats::ProfileLikelihoodTestStat, and RooStats::MinNLLTestStat.

Definition at line 50 of file TestStatistic.h.

virtual const TString RooStats::TestStatistic::GetVarName ( ) const
pure virtual
virtual bool RooStats::TestStatistic::PValueIsRightTail ( void  ) const
inlinevirtual

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

Reimplemented in RooStats::MaxLikelihoodEstimateTestStat.

Definition at line 47 of file TestStatistic.h.


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