19 TF1 *
fgamma =
new TF1(
"fgamma",
"TMath::GammaDist(x, [0], [1], [2])", 0, 10);
20 fgamma->SetParameters(0.5, 0, 1);
24 fgamma->SetParameters(1, 0, 1);
27 fgamma->SetParameters(2, 0, 1);
30 fgamma->SetParameters(5, 0, 1);
34 legend1->AddEntry(
f1,
"gamma = 0.5 mu = 0 beta = 1",
"l");
35 legend1->AddEntry(f2,
"gamma = 1 mu = 0 beta = 1",
"l");
36 legend1->AddEntry(f3,
"gamma = 2 mu = 0 beta = 1",
"l");
37 legend1->AddEntry(f4,
"gamma = 5 mu = 0 beta = 1",
"l");
44 TF1 *
flog =
new TF1(
"flog",
"TMath::LogNormal(x, [0], [1], [2])", 0, 5);
45 flog->SetParameters(0.5, 0, 1);
48 flog->SetParameters(1, 0, 1);
51 flog->SetParameters(2, 0, 1);
54 flog->SetParameters(5, 0, 1);
58 legend2->AddEntry(
g1,
"sigma = 0.5 theta = 0 m = 1",
"l");
59 legend2->AddEntry(
g2,
"sigma = 1 theta = 0 m = 1",
"l");
60 legend2->AddEntry(
g3,
"sigma = 2 theta = 0 m = 1",
"l");
61 legend2->AddEntry(
g4,
"sigma = 5 theta = 0 m = 1",
"l");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetMinimum(Double_t minimum=-1111)
Set the minimum value along Y for this function In case the function is already drawn,...
This class displays a legend box (TPaveText) containing several legend entries.
The most important graphics class in the ROOT system.