19 void multicolor(
Int_t isStack=0) {
22 TH2F *
h1 =
new TH2F(
"h1",
"h1",nbins,-4,4,nbins,-4,4);
24 TH2F *h2 =
new TH2F(
"h2",
"h2",nbins,-4,4,nbins,-4,4);
26 TH2F *h3 =
new TH2F(
"h3",
"h3",nbins,-4,4,nbins,-4,4);
40 if (val <= 0)
continue;
The Histogram stack class.
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...
virtual void Draw(Option_t *chopt="")
Draw this multihist with its current attributes.
This is the base class for the ROOT Random number generators.
virtual Double_t Rndm()
Machine independent random number generator.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
2-D histogram with a float per channel (see TH1 documentation)}
virtual void Add(TH1 *h, Option_t *option="")
add a new histogram to the list Only 1-d and 2-d histograms currently supported.
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual void SetBinContent(Int_t bin, Double_t content)
Set bin content.
virtual Int_t GetBin(Int_t binx, Int_t biny, Int_t binz=0) const
Return Global bin number corresponding to binx,y,z.
Int_t Fill(Double_t)
Invalid Fill method.
THist< 2, float, THistStatContent, THistStatUncertainty > TH2F