17 _x(
"x",
"Observable",
this,
x),
18 _mean(
"mean",
"Mean",
this, mean),
20 _ndf(
"ndf",
" Degrees of freedom",
this, ndf)
#define R__ASSERT(e)
Checks condition e and reports a fatal error if it's false.
Abstract interface for all probability density functions.
A RooAbsReal::Ref can be constructed from a RooAbsReal& or a double that will be implicitly converted...
Abstract base class for objects that represent a real value and implements functionality common to al...
bool matchArgs(const RooArgSet &allDeps, RooArgSet &analDeps, const RooArgProxy &a, const Proxies &... proxies) const
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Location-scale Student's t-distribution.
RooRealProxy _ndf
degrees of freedom
RooRealProxy _sigma
standard deviation
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
double analyticalIntegral(Int_t code, const char *rangeName=nullptr) const override
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
Int_t getMaxVal(const RooArgSet &vars) const override
Advertise that we know the maximum of self for given (mean,ndf,sigma).
RooAbsReal const & sigma() const
Get the standard deviation parameter.
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
double maxVal(Int_t code) const override
Return maximum value for set of observables identified by code assigned in getMaxVal.
RooAbsReal const & ndf() const
Get the degrees of freedom parameter.
double max(const char *rname=nullptr) const
Query upper limit of range. This requires the payload to be RooAbsRealLValue or derived.
double min(const char *rname=nullptr) const
Query lower limit of range. This requires the payload to be RooAbsRealLValue or derived.
void checkRangeOfParameters(const RooAbsReal *callingClass, std::initializer_list< const RooAbsReal * > pars, double min=-std::numeric_limits< double >::max(), double max=std::numeric_limits< double >::max(), bool limitsInAllowedRange=false, std::string const &extraMessage="")
Check if the parameters have a range, and warn if the range extends below / above the set limits.
Double_t Student(Double_t T, Double_t ndf)
Computes density function for Student's t- distribution.
Double_t StudentI(Double_t T, Double_t ndf)
Calculates the cumulative distribution function of Student's t-distribution second parameter stands f...