8 #include "GaudiKernel/ISvcLocator.h"
23 return StatusCode::FAILURE;
27 return StatusCode::FAILURE;
34 for (std::size_t
x = 0;
x < xSize; ++
x) {
38 return StatusCode::SUCCESS;
43 return StatusCode::FAILURE;
47 return StatusCode::FAILURE;
50 return StatusCode::FAILURE;
58 for (std::size_t
x = 0;
x < xSize; ++
x) {
59 for (std::size_t
y = 0;
y < ySize; ++
y) {
60 const std::size_t position =
x +
y*xSize;
65 return StatusCode::SUCCESS;
70 return StatusCode::FAILURE;
74 return StatusCode::FAILURE;
77 return StatusCode::FAILURE;
80 return StatusCode::FAILURE;
89 for (std::size_t
x = 0;
x < xSize; ++
x) {
90 for (std::size_t
y = 0;
y < ySize; ++
y) {
91 for (std::size_t
z = 0;
z < zSize; ++
z) {
92 const std::size_t position =
x + xSize*(
y + (ySize *
z));
98 return StatusCode::SUCCESS;
111 axis.nBins = rootAxis->GetNbins();
112 axis.min = rootAxis->GetXmin();
113 axis.max = rootAxis->GetXmax();
115 if (
axis.nBins < 1) {
120 const float width = rootAxis->GetBinWidth(1);
121 for (std::size_t ibin = 2; ibin <=
axis.nBins; ++ibin) {
123 if (std::abs(rootAxis->GetBinWidth(ibin) -
width) > 0.01*
width) {