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

Definition at line 163 of file BayesianCalculator.cxx.

Public Member Functions

 PosteriorCdfFunction (const PosteriorCdfFunction &rhs)
 
 PosteriorCdfFunction (RooAbsReal &nll, RooArgList &bindParams, RooAbsReal *prior=nullptr, const char *integType=nullptr, double nllMinimum=0)
 
ROOT::Math::IGenFunctionClone () const override
 Clone a function.
 
bool HasError () const
 
void SetOffset (double offset)
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim
virtual ~IBaseFunctionOneDim ()=default
 
virtual bool HasGradient () const
 
double operator() (const double *x) const
 Evaluate the function at a point x[].
 
double operator() (double x) const
 Evaluate the function at a point x.
 

Private Member Functions

double DoEval (double x) const override
 implementation of the evaluation function. Must be implemented by derived classes
 
PosteriorCdfFunctionoperator= (const PosteriorCdfFunction &)
 

Private Attributes

bool fError = false
 
RooFunctor fFunctor
 
bool fHasNorm = false
 
ROOT::Math::IntegratorMultiDim fIntegrator
 
LikelihoodFunction fLikelihood
 
double fMaxPOI = 0
 
double fNorm = 1.0
 
std::map< double, doublefNormCdfValues
 
double fNormErr = 0.0
 
double fOffset = 0
 
std::shared_ptr< RooFunctorfPriorFunc
 
bool fUseOldValues = true
 
std::vector< doublefXmax
 
std::vector< doublefXmin
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionOneDim
typedef IBaseFunctionOneDim BaseFunc
 
Inheritance diagram for RooStats::PosteriorCdfFunction:
[legend]

Constructor & Destructor Documentation

◆ PosteriorCdfFunction() [1/2]

RooStats::PosteriorCdfFunction::PosteriorCdfFunction ( RooAbsReal nll,
RooArgList bindParams,
RooAbsReal prior = nullptr,
const char *  integType = nullptr,
double  nllMinimum = 0 
)
inline

Definition at line 167 of file BayesianCalculator.cxx.

◆ PosteriorCdfFunction() [2/2]

RooStats::PosteriorCdfFunction::PosteriorCdfFunction ( const PosteriorCdfFunction rhs)
inline

Definition at line 212 of file BayesianCalculator.cxx.

Member Function Documentation

◆ Clone()

ROOT::Math::IGenFunction * RooStats::PosteriorCdfFunction::Clone ( ) const
inlineoverridevirtual

Clone a function.

Each derived class will implement their version of the private DoClone method.

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 242 of file BayesianCalculator.cxx.

◆ DoEval()

double RooStats::PosteriorCdfFunction::DoEval ( double  x) const
inlineoverrideprivatevirtual

implementation of the evaluation function. Must be implemented by derived classes

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 257 of file BayesianCalculator.cxx.

◆ HasError()

bool RooStats::PosteriorCdfFunction::HasError ( ) const
inline

Definition at line 239 of file BayesianCalculator.cxx.

◆ operator=()

PosteriorCdfFunction & RooStats::PosteriorCdfFunction::operator= ( const PosteriorCdfFunction )
inlineprivate

Definition at line 253 of file BayesianCalculator.cxx.

◆ SetOffset()

void RooStats::PosteriorCdfFunction::SetOffset ( double  offset)
inline

Definition at line 248 of file BayesianCalculator.cxx.

Member Data Documentation

◆ fError

bool RooStats::PosteriorCdfFunction::fError = false
mutableprivate

Definition at line 337 of file BayesianCalculator.cxx.

◆ fFunctor

RooFunctor RooStats::PosteriorCdfFunction::fFunctor
mutableprivate

Definition at line 325 of file BayesianCalculator.cxx.

◆ fHasNorm

bool RooStats::PosteriorCdfFunction::fHasNorm = false
private

Definition at line 335 of file BayesianCalculator.cxx.

◆ fIntegrator

ROOT::Math::IntegratorMultiDim RooStats::PosteriorCdfFunction::fIntegrator
mutableprivate

Definition at line 328 of file BayesianCalculator.cxx.

◆ fLikelihood

LikelihoodFunction RooStats::PosteriorCdfFunction::fLikelihood
private

Definition at line 327 of file BayesianCalculator.cxx.

◆ fMaxPOI

double RooStats::PosteriorCdfFunction::fMaxPOI = 0
private

Definition at line 334 of file BayesianCalculator.cxx.

◆ fNorm

double RooStats::PosteriorCdfFunction::fNorm = 1.0
private

Definition at line 331 of file BayesianCalculator.cxx.

◆ fNormCdfValues

std::map<double,double> RooStats::PosteriorCdfFunction::fNormCdfValues
mutableprivate

Definition at line 338 of file BayesianCalculator.cxx.

◆ fNormErr

double RooStats::PosteriorCdfFunction::fNormErr = 0.0
mutableprivate

Definition at line 332 of file BayesianCalculator.cxx.

◆ fOffset

double RooStats::PosteriorCdfFunction::fOffset = 0
private

Definition at line 333 of file BayesianCalculator.cxx.

◆ fPriorFunc

std::shared_ptr<RooFunctor> RooStats::PosteriorCdfFunction::fPriorFunc
mutableprivate

Definition at line 326 of file BayesianCalculator.cxx.

◆ fUseOldValues

bool RooStats::PosteriorCdfFunction::fUseOldValues = true
private

Definition at line 336 of file BayesianCalculator.cxx.

◆ fXmax

std::vector<double> RooStats::PosteriorCdfFunction::fXmax
mutableprivate

Definition at line 330 of file BayesianCalculator.cxx.

◆ fXmin

std::vector<double> RooStats::PosteriorCdfFunction::fXmin
mutableprivate

Definition at line 329 of file BayesianCalculator.cxx.

  • roofit/roostats/src/BayesianCalculator.cxx