BCTH1Prior.cxx
83 integral = GetFunction().Integral(fPriorHistogram->GetXaxis()->GetXmin(), fPriorHistogram->GetXaxis()->GetXmax());
116 return fPriorHistogram->GetMean() * fPriorHistogram->GetMean() + fPriorHistogram->GetRMS() * fPriorHistogram->GetRMS();
148 I -= fPriorHistogram->GetBinContent(xmin) * (xmin - fPriorHistogram->GetXaxis()->GetBinLowEdge(bmin));
149 I -= fPriorHistogram->GetBinContent(xmax) * (fPriorHistogram->GetXaxis()->GetBinUpEdge(bmax) - xmax);
virtual double GetKurtosis(double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get kurtosis of prior.
Definition: BCPrior.h:205
virtual double GetStandardizedMoment(unsigned n, double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get standardised moment of prior distrubion.
Definition: BCTH1Prior.cxx:121
virtual TF1 & GetFunction()
Return back ROOT TF1 evaluating BCPrior::GetPrior.
Definition: BCPrior.h:118
virtual double GetIntegral(double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get integral of prior.
Definition: BCTH1Prior.cxx:135
virtual BCH1D GetBCH1D(TH1 *bins, const std::string &name="prior")
Get BCH1D object for prior.
Definition: BCTH1Prior.cxx:154
virtual double GetMode(double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Return mode of prior (in range).
Definition: BCTH1Prior.cxx:103
bool fInterpolate
whether to interpolate values of hist for prior function
Definition: BCTH1Prior.h:197
virtual double GetSkewness(double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get skewness of prior.
Definition: BCPrior.h:197
virtual double GetRawMoment(unsigned n, double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get raw moment of prior distrubion.
Definition: BCTH1Prior.cxx:109
virtual BCH1D GetBCH1D(TH1 *bins, const std::string &name="prior")
Get BCH1D object for prior.
Definition: BCPrior.cxx:159
virtual double GetStandardizedMoment(unsigned n, double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get standardised moment of prior distrubion.
Definition: BCPrior.cxx:112
virtual double GetRawMoment(unsigned n, double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get raw moment of prior distrubion.
Definition: BCPrior.cxx:72