Example describing how to use the different cumulative distribution functions in ROOT.
The macro shows four of them with respect to their two variables. In order to run the macro type:
TF2 *
f1a =
new TF2(
"f1a",
"ROOT::Math::breitwigner_cdf_c(x, y)",-10,10,0,10);
TF2 *
f2a =
new TF2(
"f2a",
"ROOT::Math::cauchy_cdf(x,y)",0,20, 0,20);
TF2 *
f3a =
new TF2(
"f3a",
"ROOT::Math::normal_cdf(x,y)",-10,10,0,5);
TF2 *
f4a =
new TF2(
"f4a",
"ROOT::Math::exponential_cdf_c(x,y)",0,10,0,5);
c1->cd(1);
f1a->SetLineWidth(1);
c1->cd(2);
f2a->SetLineWidth(1);
c1->cd(3);
f3a->SetLineWidth(1);
c1->cd(4);
f4a->SetLineWidth(1);
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A 2-Dim function with parameters.
- Author
- Lorenzo Moneta
Definition in file mathcoreCDF.C.