14void hist018_TH2_cutg()
17 Float_t x[6] = {1, 2, 1, -1, -2, -1};
20 TH2F *hist =
new TH2F(
"hist",
"Histogram with cut", 40, -10., 10., 40, -10., 10.);
21 for (
int i = 0; i < 100000; i++)
24 hist->
Draw(
"col [cut]");
float Float_t
Float 4 bytes (float).
void Draw(Option_t *chopt="") override
Default Draw method for all objects.
void Draw(Option_t *option="") override
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)
Int_t Fill(Double_t) override
Invalid Fill method.