15 TH3F *
h1 =
new TH3F(
"h1",
"h1", 10, -1., 1., 10, -1., 1., 10, -1., 1.);
16 TF3 *g3 =
new TF3(
"gaus3",
"xyzgaus");
18 h1->FillRandom(
"gaus3");
20 TH3F *h2 =
new TH3F(
"h2",
"h2", 10, -1., 1., 10, -1., 1., 10, -1., 1.);
21 TF3 *l3 =
new TF3(
"landau3",
"landau(x,[0],[1],[2])*gaus(y,1,[3],[4])*gaus(z,1,[3],[4])");
25 TH3F *h3 =
new TH3F(
"h3",
"h3", 10, -1., 1., 10, -1., 1., 10, -1., 1.);
26 TF3 *gx =
new TF3(
"gaus1",
"gaus(x)");
38 title->SetFillColor(32);
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetParameters(const Double_t *params)
void AddTH3(const TH3 *hist, ETH3BinShape shape=kBox)
Add TH3 into collection.
void Draw(Option_t *option="") override
Draw this histogram with options.
3-D histogram with a float per channel (see TH1 documentation)
void FillRandom(TF1 *f1, Int_t ntimes=5000, TRandom *rng=nullptr) override
Fill histogram following distribution in function fname.
A Pave (see TPave) with a text centered in the Pave.