ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::TestStatistic

class RooStats::TestStatistic


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.



Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TestStatistic()
static TClass*Class()
virtual Double_tEvaluate(RooAbsData& data, RooArgSet& nullPOI)
virtual const RooArgSet*GetDetailedOutput() const
virtual const TStringGetVarName() const
virtual TClass*IsA() const
RooStats::TestStatistic&operator=(const RooStats::TestStatistic&)
virtual boolPValueIsRightTail() const
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

virtual ~TestStatistic()
TestStatistic();
Double_t Evaluate(RooAbsData& data, RooArgSet& nullPOI)
 Main interface to evaluate the test statistic on a dataset given the
 values for the Null Parameters Of Interest.
const TString GetVarName() const
bool PValueIsRightTail(void)
 Defines the sign convention of the test statistic. Overwrite function if necessary.
{ return true; }
const RooArgSet* GetDetailedOutput() const
 return detailed output: for fits this can be pulls, processing time, ... The returned pointer will not loose validity until another call to Evaluate.
{ return NULL; }