30 auto item = std::make_unique<RHistDisplayItem>(*
this);
32 auto frame =
ctxt.GetPad()->GetFrame();
34 if (frame) frame->GetClientRanges(
ctxt.GetConnId(), ranges);
47 if (
i1 <= 1)
i1 = 0;
else i1--;
80 auto &bins = item->GetBinContent();
87 double min{0},
minpos{0}, max{0};
89 min = max =
himpl->GetBinContentAsDouble(1);
94 for (
int i = 0; i <
nbinsx; ++i) {
95 double val =
himpl->GetBinContentAsDouble(i + 1);
96 if (val < min) min = val;
else
97 if (val > max) max = val;
110 double vmin =
himpl->GetBinContentAsDouble(i + 1);
116 double val =
himpl->GetBinContentAsDouble(
ii + 1);
129 item->SetContentMinMax(min,
minpos, max);
138 auto item = std::make_unique<RHistDisplayItem>(*
this);
140 auto frame =
ctxt.GetPad()->GetFrame();
142 if (frame) frame->GetClientRanges(
ctxt.GetConnId(), ranges);
156 if (
i1 <= 1)
i1 = 0;
else i1--;
163 if (
j1 <= 1)
j1 = 0;
else j1--;
197 auto &bins = item->GetBinContent();
200 double min{0},
minpos{0}, max{0};
202 min = max =
himpl->GetBinContentAsDouble(1);
203 if (max > 0)
minpos = max;
207 for (
int i = 0; i <
nbinsx; ++i) {
208 double val =
himpl->GetBinContentAsDouble(
j*
nbinsx + i + 1);
209 if (val < min) min = val;
else
210 if (val > max) max = val;
238 item->SetContentMinMax(min,
minpos, max);
249 auto item = std::make_unique<RHistDisplayItem>(*
this);
251 auto frame =
ctxt.GetPad()->GetFrame();
253 if (frame) frame->GetClientRanges(
ctxt.GetConnId(), ranges);
270 if (
i1 <= 1)
i1 = 0;
else i1--;
277 if (
j1 <= 1)
j1 = 0;
else j1--;
284 if (
k1 <= 1)
k1 = 0;
else k1--;
327 auto &bins = item->GetBinContent();
330 double min{0},
minpos{0}, max{0};
332 min = max =
himpl->GetBinContentAsDouble(1);
333 if (max > 0)
minpos = max;
336 for (
int k = 0; k <
nbinsz; ++k)
338 for (
int i = 0; i <
nbinsx; ++i) {
340 if (val < min) min = val;
else
341 if (val > max) max = val;
373 item->SetContentMinMax(min,
minpos, max);