22   auto hs = 
new THStack(
"hs", 
"Stacked 1D histograms colored using kOcean palette");
 
   27   auto h1st = 
new TH1F(
"h1st", 
"test hstack", 100, -4, 4);
 
   28   h1st->FillRandom(
"gaus", 20000);
 
   31   auto h2st = 
new TH1F(
"h2st", 
"test hstack", 100, -4, 4);
 
   32   h2st->FillRandom(
"gaus", 15000);
 
   35   auto h3st = 
new TH1F(
"h3st", 
"test hstack", 100, -4, 4);
 
   36   h3st->FillRandom(
"gaus", 10000);
 
   40   hs->Draw(
"pfc nostack");
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
R__EXTERN TStyle * gStyle
 
1-D histogram with a float per channel (see TH1 documentation)
 
The Histogram stack class.
 
void SetPalette(Int_t ncolors=kBird, Int_t *colors=nullptr, Float_t alpha=1.)
See TColor::SetPalette.