23void hist005_TH1_palettecolor()
32 auto *
h1 =
new TH1D(
"h1",
"Histogram drawn with full circles", 100, -4, 4);
33 auto *h2 =
new TH1D(
"h2",
"Histogram drawn with full squares", 100, -4, 4);
34 auto *h3 =
new TH1D(
"h3",
"Histogram drawn with full triangles up", 100, -4, 4);
35 auto *h4 =
new TH1D(
"h4",
"Histogram drawn with full triangles down", 100, -4, 4);
36 auto *h5 =
new TH1D(
"h5",
"Histogram drawn with empty circles", 100, -4, 4);
40 for (
int i = 0; i < 25000; i++) {
62 h2->Draw(
"SAME PLC PMC");
63 h3->Draw(
"SAME PLC PMC");
64 h4->Draw(
"SAME PLC PMC");
65 h5->Draw(
"SAME PLC PMC");
1-D histogram with a double per channel (see TH1 documentation)
Random number generator class based on M.
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.