ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::MinNLLTestStat

class RooStats::MinNLLTestStat: public RooStats::TestStatistic


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.



Function Members (Methods)

public:
virtual~MinNLLTestStat()
static TClass*Class()
virtual voidEnableDetailedOutput(bool e = true)
virtual Double_tEvaluate(RooAbsData& data, RooArgSet& paramsOfInterest)
virtual const RooArgSet*GetDetailedOutput() const
virtual const TStringGetVarName() const
virtual TClass*IsA() const
RooStats::MinNLLTestStatMinNLLTestStat()
RooStats::MinNLLTestStatMinNLLTestStat(RooAbsPdf& pdf)
RooStats::MinNLLTestStatMinNLLTestStat(const RooStats::MinNLLTestStat& rhs)
RooStats::MinNLLTestStat&operator=(const RooStats::MinNLLTestStat& rhs)
virtual boolRooStats::TestStatistic::PValueIsRightTail() const
voidSetLOffset(Bool_t flag = kTRUE)
voidSetMinimizer(const char* minimizer)
voidSetOneSided(Bool_t flag = true)
voidSetOneSidedDiscovery(Bool_t flag = true)
voidSetPrintLevel(Int_t printlevel)
voidSetReuseNLL(Bool_t flag)
voidSetStrategy(Int_t strategy)
voidSetTolerance(double tol)
virtual voidSetVarName(const char* name)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Data Members

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

MinNLLTestStat()
 Proof constructor. Do not use.
MinNLLTestStat(RooAbsPdf& pdf)
MinNLLTestStat(const RooStats::MinNLLTestStat& rhs)
MinNLLTestStat & operator=(const RooStats::MinNLLTestStat& rhs)
virtual ~MinNLLTestStat()
void SetOneSided(Bool_t flag = true)
void SetOneSidedDiscovery(Bool_t flag = true)
void SetReuseNLL(Bool_t flag)
{ fProflts->SetReuseNLL(flag); }
void SetMinimizer(const char* minimizer)
{ fProflts->SetMinimizer(minimizer); }
void SetStrategy(Int_t strategy)
{ fProflts->SetStrategy(strategy); }
void SetTolerance(double tol)
void SetPrintLevel(Int_t printlevel)
{ fProflts->SetPrintLevel(printlevel); }
void SetLOffset(Bool_t flag = kTRUE)
{ fProflts->SetLOffset(flag) ; }
Double_t Evaluate(RooAbsData& data, RooArgSet& paramsOfInterest)
 Main interface to evaluate the test statistic on a dataset
void EnableDetailedOutput(bool e = true)
const RooArgSet* GetDetailedOutput(void)
 Returns detailed output. The value returned by this function is updated after each call to Evaluate().
 The returned RooArgSet contains the following:
 <ul>
 <li> the minimum nll, fitstatus and convergence quality for each fit </li>
 <li> for all non-constant parameters their value, error and pull </li>
 </ul>
void SetVarName(const char* name)
{ fProflts->SetVarName(name); }
const TString GetVarName() const
{ return fProflts->GetVarName(); }