40   TF1 * 
f1 = 
new TF1(
"logNormal",
"ROOT::Math::lognormal_pdf(x,[0],[1])",0,500);
 
   48   TH1D* 
h1smp = 
new TH1D(
"h1smp", 
"LogNormal distribution histogram", 100, 0, 500);
 
  106#ifdef TEST_ERROR_MESSAGE 
  116   pt1->SetFillColor(18);
 
  117   pt1->SetTextFont(20);
 
  118   pt1->SetTextColor(4);
 
  131   TH1D* 
h2smps_1 = 
new TH1D(
"h2smps_1", 
"Gaussian distribution histograms", 100, 0, 500);
 
  134   TH1D* 
h2smps_2 = 
new TH1D(
"h2smps_2", 
"Gaussian distribution histograms", 100, 0, 500);
 
  186#ifdef TEST_ERROR_MESSAGE 
  196   pt2->SetFillColor(18);
 
  197   pt2->SetTextFont(20);
 
  198   pt2->SetTextColor(4);
 
  235   std::cout << 
" \n\nTEST with LANDAU distribution:\t";
 
  237      std::cout << 
"FAILED " << std::endl;
 
  238      Error(
"goftest",
"Error in comparing testing using Landau and Landau CDF");
 
  242      std::cout << 
"OK ( pvalues = " << 
pvalueAD_2 << 
"  )" << std::endl;
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
 
R__EXTERN TRandom * gRandom
 
Functor1D class for one-dimensional functions.
 
GoFTest class implementing the 1 sample and 2 sample goodness of fit tests for uni-variate distributi...
 
@ kLogNormal
Gaussian distribution with default mean=0, sigma=1.
 
@ kKS
Anderson-Darling 2-Samples Test.
 
@ kKS2s
Kolmogorov-Smirnov Test.
 
@ kAD2s
Anderson-Darling Test. Default value.
 
@ kPDF
Input distribution is a CDF : cumulative distribution function.
 
virtual void SetLineColor(Color_t lcolor)
Set the line color.
 
virtual void SetNpx(Int_t npx=100)
Set the number of points used to draw the function.
 
void Draw(Option_t *option="") override
Draw this function with its current attributes.
 
virtual void SetParameters(const Double_t *params)
 
1-D histogram with a double per channel (see TH1 documentation)
 
The most important graphics class in the ROOT system.
 
A Pave (see TPave) with text, lines or/and boxes inside.
 
Random number generator class based on M.
 
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
 
double landau_pdf(double x, double xi=1, double x0=0)
Probability density function of the Landau distribution:
 
double lognormal_cdf(double x, double m, double s, double x0=0)
Cumulative distribution function of the lognormal distribution (lower tail).
 
double landau(double x, double mu, double sigma)
 
Double_t Exp(Double_t x)
Returns the base-e exponential function of x, which is e raised to the power x.
 
T MinElement(Long64_t n, const T *a)
Returns minimum of array a of length n.
 
T MaxElement(Long64_t n, const T *a)
Returns maximum of array a of length n.
 
Double_t LandauI(Double_t x)
Returns the cumulative (lower tail integral) of the Landau distribution function at point x.
 
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.