ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::DebuggingTestStat

class RooStats::DebuggingTestStat: public RooStats::TestStatistic


DebuggingTestStat is a simple implementation of the DistributionCreator interface used for debugging. The sampling distribution is uniformly random between [0,1] and is INDEPENDENT of the data. So it is not useful for true statistical tests, but it is useful for debugging.



Function Members (Methods)

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

public:
virtual~DebuggingTestStat()
static TClass*Class()
virtual Double_tEvaluate(RooAbsData&, RooArgSet&)
virtual const RooAbsArg*GetTestStatistic() const
virtual const TStringRooStats::TestStatistic::GetVarName() const
virtual TClass*IsA() const
RooStats::DebuggingTestStat&operator=(const RooStats::DebuggingTestStat&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

private:
TRandom*fRand
RooRealVar*fTestStatistic

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

virtual ~DebuggingTestStat()
       delete fRand;
       delete fTestStatistic;
Double_t Evaluate(RooAbsData& , RooArgSet& )
 Main interface to evaluate the test statistic on a dataset
const RooAbsArg* GetTestStatistic() const
 Get the TestStatistic
{return fTestStatistic;}