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
 
TClassIsA () 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 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.
 
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 TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from RooStats::TestStatistic
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Attributes

RooArgSet fConditionalObs
 
TString fMinimizer
 
RooRealVarfParameter
 
RooAbsPdffPdf
 
Int_t fPrintLevel
 
Int_t fStrategy
 
bool fUpperLimit
 

#include <RooStats/MaxLikelihoodEstimateTestStat.h>

Inheritance diagram for RooStats::MaxLikelihoodEstimateTestStat:
[legend]

Constructor & Destructor Documentation

◆ MaxLikelihoodEstimateTestStat() [1/2]

RooStats::MaxLikelihoodEstimateTestStat::MaxLikelihoodEstimateTestStat ( )
inline

Definition at line 42 of file MaxLikelihoodEstimateTestStat.h.

◆ MaxLikelihoodEstimateTestStat() [2/2]

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

Definition at line 54 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 156 of file MaxLikelihoodEstimateTestStat.h.

◆ DeclFileName()

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

Definition at line 156 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 66 of file MaxLikelihoodEstimateTestStat.h.

◆ GetVarName()

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

Implements RooStats::TestStatistic.

Definition at line 130 of file MaxLikelihoodEstimateTestStat.h.

◆ IsA()

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

Reimplemented from RooStats::TestStatistic.

Definition at line 156 of file MaxLikelihoodEstimateTestStat.h.

◆ PValueIsRightTail() [1/2]

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

Definition at line 136 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 137 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 141 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 156 of file MaxLikelihoodEstimateTestStat.h.

Member Data Documentation

◆ fConditionalObs

RooArgSet RooStats::MaxLikelihoodEstimateTestStat::fConditionalObs
private

Definition at line 147 of file MaxLikelihoodEstimateTestStat.h.

◆ fMinimizer

TString RooStats::MaxLikelihoodEstimateTestStat::fMinimizer
private

Definition at line 149 of file MaxLikelihoodEstimateTestStat.h.

◆ fParameter

RooRealVar* RooStats::MaxLikelihoodEstimateTestStat::fParameter
private

Definition at line 146 of file MaxLikelihoodEstimateTestStat.h.

◆ fPdf

RooAbsPdf* RooStats::MaxLikelihoodEstimateTestStat::fPdf
private

Definition at line 145 of file MaxLikelihoodEstimateTestStat.h.

◆ fPrintLevel

Int_t RooStats::MaxLikelihoodEstimateTestStat::fPrintLevel
private

Definition at line 151 of file MaxLikelihoodEstimateTestStat.h.

◆ fStrategy

Int_t RooStats::MaxLikelihoodEstimateTestStat::fStrategy
private

Definition at line 150 of file MaxLikelihoodEstimateTestStat.h.

◆ fUpperLimit

bool RooStats::MaxLikelihoodEstimateTestStat::fUpperLimit
private

Definition at line 148 of file MaxLikelihoodEstimateTestStat.h.

Libraries for RooStats::MaxLikelihoodEstimateTestStat:

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