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

Definition at line 35 of file DebuggingSampler.h.

Public Member Functions

 DebuggingSampler ()
 
 ~DebuggingSampler () override
 
double ConfidenceLevel () const override
 Get the Confidence level for the test.
 
double EvaluateTestStatistic (RooAbsData &, RooArgSet &) override
 Main interface to evaluate the test statistic on a dataset.
 
SamplingDistributionGetSamplingDistribution (RooArgSet &paramsOfInterest) override
 Main interface to get a ConfInterval, pure virtual.
 
TestStatisticGetTestStatistic () const override
 Get the TestStatistic.
 
void Initialize (RooAbsArg &, RooArgSet &, RooArgSet &) override
 Common Initialization.
 
TClassIsA () const override
 
void SetConfidenceLevel (double cl) override
 set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
 
void SetGlobalObservables (const RooArgSet &) override
 specify the conditional observables
 
void SetNuisanceParameters (const RooArgSet &) override
 specify the nuisance parameters (eg. the rest of the parameters)
 
virtual void SetParameters (RooArgSet &)
 specify the parameters of interest in the interval
 
void SetParametersForTestStat (const RooArgSet &) override
 specify the values of parameters used when evaluating test statistic
 
void SetPdf (RooAbsPdf &) override
 Set the Pdf, add to the workspace if not already there.
 
void SetTestSize (double size) override
 set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
 
void SetTestStatistic (TestStatistic *) override
 Set the TestStatistic (want the argument to be a function of the data & parameter points.
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from RooStats::TestStatSampler
virtual ~TestStatSampler ()
 
virtual void SetObservables (const RooArgSet &)=0
 specify the observables in the dataset (needed to evaluate the test statistic)
 
virtual void SetPriorNuisance (RooAbsPdf *)=0
 How to randomize the prior. Set to nullptr to deactivate randomization.
 
virtual void SetSamplingDistName (const char *name)=0
 Set the name of the sampling distribution used for plotting.
 
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::TestStatSampler
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Attributes

TRandomfRand
 
double fSize
 
RooRealVarfTestStatistic
 

#include <RooStats/DebuggingSampler.h>

Inheritance diagram for RooStats::DebuggingSampler:
[legend]

Constructor & Destructor Documentation

◆ DebuggingSampler()

RooStats::DebuggingSampler::DebuggingSampler ( )
inline

Definition at line 38 of file DebuggingSampler.h.

◆ ~DebuggingSampler()

RooStats::DebuggingSampler::~DebuggingSampler ( )
inlineoverride

Definition at line 42 of file DebuggingSampler.h.

Member Function Documentation

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 108 of file DebuggingSampler.h.

◆ ConfidenceLevel()

double RooStats::DebuggingSampler::ConfidenceLevel ( ) const
inlineoverridevirtual

Get the Confidence level for the test.

Implements RooStats::TestStatSampler.

Definition at line 73 of file DebuggingSampler.h.

◆ DeclFileName()

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

Definition at line 108 of file DebuggingSampler.h.

◆ EvaluateTestStatistic()

double RooStats::DebuggingSampler::EvaluateTestStatistic ( RooAbsData ,
RooArgSet  
)
inlineoverridevirtual

Main interface to evaluate the test statistic on a dataset.

Implements RooStats::TestStatSampler.

Definition at line 60 of file DebuggingSampler.h.

◆ GetSamplingDistribution()

SamplingDistribution * RooStats::DebuggingSampler::GetSamplingDistribution ( RooArgSet paramsOfInterest)
inlineoverridevirtual

Main interface to get a ConfInterval, pure virtual.

Implements RooStats::TestStatSampler.

Definition at line 48 of file DebuggingSampler.h.

◆ GetTestStatistic()

TestStatistic * RooStats::DebuggingSampler::GetTestStatistic ( void  ) const
inlineoverridevirtual

Get the TestStatistic.

Implements RooStats::TestStatSampler.

Definition at line 67 of file DebuggingSampler.h.

◆ Initialize()

void RooStats::DebuggingSampler::Initialize ( RooAbsArg ,
RooArgSet ,
RooArgSet  
)
inlineoverridevirtual

Common Initialization.

Implements RooStats::TestStatSampler.

Definition at line 76 of file DebuggingSampler.h.

◆ IsA()

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

Reimplemented from RooStats::TestStatSampler.

Definition at line 108 of file DebuggingSampler.h.

◆ SetConfidenceLevel()

void RooStats::DebuggingSampler::SetConfidenceLevel ( double  cl)
inlineoverridevirtual

set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)

Implements RooStats::TestStatSampler.

Definition at line 95 of file DebuggingSampler.h.

◆ SetGlobalObservables()

void RooStats::DebuggingSampler::SetGlobalObservables ( const RooArgSet )
inlineoverridevirtual

specify the conditional observables

Implements RooStats::TestStatSampler.

Definition at line 89 of file DebuggingSampler.h.

◆ SetNuisanceParameters()

void RooStats::DebuggingSampler::SetNuisanceParameters ( const RooArgSet )
inlineoverridevirtual

specify the nuisance parameters (eg. the rest of the parameters)

Implements RooStats::TestStatSampler.

Definition at line 85 of file DebuggingSampler.h.

◆ SetParameters()

virtual void RooStats::DebuggingSampler::SetParameters ( RooArgSet )
inlinevirtual

specify the parameters of interest in the interval

Definition at line 83 of file DebuggingSampler.h.

◆ SetParametersForTestStat()

void RooStats::DebuggingSampler::SetParametersForTestStat ( const RooArgSet )
inlineoverridevirtual

specify the values of parameters used when evaluating test statistic

Implements RooStats::TestStatSampler.

Definition at line 87 of file DebuggingSampler.h.

◆ SetPdf()

void RooStats::DebuggingSampler::SetPdf ( RooAbsPdf )
inlineoverridevirtual

Set the Pdf, add to the workspace if not already there.

Implements RooStats::TestStatSampler.

Definition at line 80 of file DebuggingSampler.h.

◆ SetTestSize()

void RooStats::DebuggingSampler::SetTestSize ( double  size)
inlineoverridevirtual

set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)

Implements RooStats::TestStatSampler.

Definition at line 93 of file DebuggingSampler.h.

◆ SetTestStatistic()

void RooStats::DebuggingSampler::SetTestStatistic ( TestStatistic )
inlineoverridevirtual

Set the TestStatistic (want the argument to be a function of the data & parameter points.

Implements RooStats::TestStatSampler.

Definition at line 98 of file DebuggingSampler.h.

◆ Streamer()

void RooStats::DebuggingSampler::Streamer ( TBuffer )
overridevirtual

Reimplemented from RooStats::TestStatSampler.

◆ StreamerNVirtual()

void RooStats::DebuggingSampler::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 108 of file DebuggingSampler.h.

Member Data Documentation

◆ fRand

TRandom* RooStats::DebuggingSampler::fRand
private

Definition at line 105 of file DebuggingSampler.h.

◆ fSize

double RooStats::DebuggingSampler::fSize
private

Definition at line 103 of file DebuggingSampler.h.

◆ fTestStatistic

RooRealVar* RooStats::DebuggingSampler::fTestStatistic
private

Definition at line 104 of file DebuggingSampler.h.

Libraries for RooStats::DebuggingSampler:

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