Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooStats::MaxLikelihoodEstimateTestStat Class Reference

MaxLikelihoodEstimateTestStat: TestStatistic that returns maximum likelihood estimate of a specified parameter.

Definition at line 37 of file MaxLikelihoodEstimateTestStat.h.

Public Member Functions

 MaxLikelihoodEstimateTestStat ()
 
 MaxLikelihoodEstimateTestStat (RooAbsPdf &pdf, RooRealVar &parameter)
 
double Evaluate (RooAbsData &data, RooArgSet &) override
 Main interface to evaluate the test statistic on a dataset given the values for the Null Parameters Of Interest.
 
const TString GetVarName () const override
 
TClass * IsA () const override
 
virtual void PValueIsRightTail (bool isright)
 
bool PValueIsRightTail (void) const override
 Defines the sign convention of the test statistic. Overwrite function if necessary.
 
void SetConditionalObservables (const RooArgSet &set) override
 interface to set conditional observables. If a test statistics needs them it will re-implement this function
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from RooStats::TestStatistic
virtual ~TestStatistic ()
 
virtual 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.
 
virtual void SetGlobalObservables (const RooArgSet &)
 interface to set global observables. If a test statistics needs them it will re-implement this function
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClass * Class ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from RooStats::TestStatistic
static TClass * Class ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Attributes

RooArgSet fConditionalObs
 
TString fMinimizer
 
RooRealVar * fParameter = nullptr
 
RooAbsPdf * fPdf = nullptr
 
Int_t fPrintLevel
 
Int_t fStrategy
 
bool fUpperLimit = true
 

#include <RooStats/MaxLikelihoodEstimateTestStat.h>

Inheritance diagram for RooStats::MaxLikelihoodEstimateTestStat:
[legend]

Constructor & Destructor Documentation

◆ MaxLikelihoodEstimateTestStat() [1/2]

RooStats::MaxLikelihoodEstimateTestStat::MaxLikelihoodEstimateTestStat ( )
inline

Definition at line 40 of file MaxLikelihoodEstimateTestStat.h.

◆ MaxLikelihoodEstimateTestStat() [2/2]

RooStats::MaxLikelihoodEstimateTestStat::MaxLikelihoodEstimateTestStat ( RooAbsPdf & pdf,
RooRealVar & parameter )
inline

Definition at line 46 of file MaxLikelihoodEstimateTestStat.h.

Member Function Documentation

◆ Class()

static TClass * RooStats::MaxLikelihoodEstimateTestStat::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooStats::MaxLikelihoodEstimateTestStat::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t RooStats::MaxLikelihoodEstimateTestStat::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 145 of file MaxLikelihoodEstimateTestStat.h.

◆ DeclFileName()

static const char * RooStats::MaxLikelihoodEstimateTestStat::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 145 of file MaxLikelihoodEstimateTestStat.h.

◆ Evaluate()

double RooStats::MaxLikelihoodEstimateTestStat::Evaluate ( RooAbsData & data,
RooArgSet & nullPOI )
inlineoverridevirtual

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 55 of file MaxLikelihoodEstimateTestStat.h.

◆ GetVarName()

const TString RooStats::MaxLikelihoodEstimateTestStat::GetVarName ( ) const
inlineoverridevirtual

Implements RooStats::TestStatistic.

Definition at line 119 of file MaxLikelihoodEstimateTestStat.h.

◆ IsA()

TClass * RooStats::MaxLikelihoodEstimateTestStat::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from RooStats::TestStatistic.

Definition at line 145 of file MaxLikelihoodEstimateTestStat.h.

◆ PValueIsRightTail() [1/2]

virtual void RooStats::MaxLikelihoodEstimateTestStat::PValueIsRightTail ( bool isright)
inlinevirtual

Definition at line 125 of file MaxLikelihoodEstimateTestStat.h.

◆ PValueIsRightTail() [2/2]

bool RooStats::MaxLikelihoodEstimateTestStat::PValueIsRightTail ( void ) const
inlineoverridevirtual

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

Reimplemented from RooStats::TestStatistic.

Definition at line 126 of file MaxLikelihoodEstimateTestStat.h.

◆ SetConditionalObservables()

void RooStats::MaxLikelihoodEstimateTestStat::SetConditionalObservables ( const RooArgSet & )
inlineoverridevirtual

interface to set conditional observables. If a test statistics needs them it will re-implement this function

Reimplemented from RooStats::TestStatistic.

Definition at line 130 of file MaxLikelihoodEstimateTestStat.h.

◆ Streamer()

void RooStats::MaxLikelihoodEstimateTestStat::Streamer ( TBuffer & )
overridevirtual

Reimplemented from RooStats::TestStatistic.

◆ StreamerNVirtual()

void RooStats::MaxLikelihoodEstimateTestStat::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 145 of file MaxLikelihoodEstimateTestStat.h.

Member Data Documentation

◆ fConditionalObs

RooArgSet RooStats::MaxLikelihoodEstimateTestStat::fConditionalObs
private

Definition at line 136 of file MaxLikelihoodEstimateTestStat.h.

◆ fMinimizer

TString RooStats::MaxLikelihoodEstimateTestStat::fMinimizer
private

Definition at line 138 of file MaxLikelihoodEstimateTestStat.h.

◆ fParameter

RooRealVar* RooStats::MaxLikelihoodEstimateTestStat::fParameter = nullptr
private

Definition at line 135 of file MaxLikelihoodEstimateTestStat.h.

◆ fPdf

RooAbsPdf* RooStats::MaxLikelihoodEstimateTestStat::fPdf = nullptr
private

Definition at line 134 of file MaxLikelihoodEstimateTestStat.h.

◆ fPrintLevel

Int_t RooStats::MaxLikelihoodEstimateTestStat::fPrintLevel
private

Definition at line 140 of file MaxLikelihoodEstimateTestStat.h.

◆ fStrategy

Int_t RooStats::MaxLikelihoodEstimateTestStat::fStrategy
private

Definition at line 139 of file MaxLikelihoodEstimateTestStat.h.

◆ fUpperLimit

bool RooStats::MaxLikelihoodEstimateTestStat::fUpperLimit = true
private

Definition at line 137 of file MaxLikelihoodEstimateTestStat.h.

Libraries for RooStats::MaxLikelihoodEstimateTestStat:

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