18   h2p->SetName(
"Boxes");
 
   19   h2p->SetTitle(
"Boxes");
 
   29   for (i = 0; i < 
nx; i++) {
 
   32      for (
j = 0; 
j < 
ny; 
j++) {
 
   42   for (i = 0; i < 300000; i++) {
 
   43      h2p->Fill(50 * 
ran.Gaus(2., 1), 
ran.Gaus(2., 1));
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TStyle * gStyle
2D Histogram with Polygonal Bins
This is the base class for the ROOT Random number generators.
void SetPalette(Int_t ncolors=kBird, Int_t *colors=nullptr, Float_t alpha=1.)
See TColor::SetPalette.