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=0, const char *integType=0, 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
 IBaseFunctionOneDim ()
 
virtual ~IBaseFunctionOneDim ()
 virtual destructor
 
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 Use the a pure virtual private method DoEval which must be implemented by sub-classes.
 

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
 
RooFunctor fFunctor
 
bool fHasNorm
 
ROOT::Math::IntegratorMultiDim fIntegrator
 
LikelihoodFunction fLikelihood
 
double fMaxPOI
 
double fNorm
 
std::map< double, doublefNormCdfValues
 
double fNormErr
 
double fOffset
 
std::shared_ptr< RooFunctorfPriorFunc
 
bool fUseOldValues
 
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 = 0,
const char *  integType = 0,
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 215 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 provate DoClone method

Implements ROOT::Math::IBaseFunctionOneDim.

Definition at line 245 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 260 of file BayesianCalculator.cxx.

◆ HasError()

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

Definition at line 242 of file BayesianCalculator.cxx.

◆ operator=()

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

Definition at line 256 of file BayesianCalculator.cxx.

◆ SetOffset()

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

Definition at line 251 of file BayesianCalculator.cxx.

Member Data Documentation

◆ fError

bool RooStats::PosteriorCdfFunction::fError
mutableprivate

Definition at line 338 of file BayesianCalculator.cxx.

◆ fFunctor

RooFunctor RooStats::PosteriorCdfFunction::fFunctor
mutableprivate

Definition at line 326 of file BayesianCalculator.cxx.

◆ fHasNorm

bool RooStats::PosteriorCdfFunction::fHasNorm
private

Definition at line 336 of file BayesianCalculator.cxx.

◆ fIntegrator

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

Definition at line 329 of file BayesianCalculator.cxx.

◆ fLikelihood

LikelihoodFunction RooStats::PosteriorCdfFunction::fLikelihood
private

Definition at line 328 of file BayesianCalculator.cxx.

◆ fMaxPOI

double RooStats::PosteriorCdfFunction::fMaxPOI
private

Definition at line 335 of file BayesianCalculator.cxx.

◆ fNorm

double RooStats::PosteriorCdfFunction::fNorm
private

Definition at line 332 of file BayesianCalculator.cxx.

◆ fNormCdfValues

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

Definition at line 339 of file BayesianCalculator.cxx.

◆ fNormErr

double RooStats::PosteriorCdfFunction::fNormErr
mutableprivate

Definition at line 333 of file BayesianCalculator.cxx.

◆ fOffset

double RooStats::PosteriorCdfFunction::fOffset
private

Definition at line 334 of file BayesianCalculator.cxx.

◆ fPriorFunc

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

Definition at line 327 of file BayesianCalculator.cxx.

◆ fUseOldValues

bool RooStats::PosteriorCdfFunction::fUseOldValues
private

Definition at line 337 of file BayesianCalculator.cxx.

◆ fXmax

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

Definition at line 331 of file BayesianCalculator.cxx.

◆ fXmin

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

Definition at line 330 of file BayesianCalculator.cxx.

  • roofit/roostats/src/BayesianCalculator.cxx