59 const Transform3& tForm = Transform3::Identity())
75 const Transform3& tForm = Transform3::Identity())
89 const Transform3& tForm = Transform3::Identity())
120 const std::vector<BinningData>& bData = gbu.
binningData();
125 throw "BinUtility does not support dim > 3";
160 size_t bin1 = mdim > 1 ?
m_binningData[1].searchGlobal(bPosition) : 0;
161 size_t bin2 = mdim > 2 ?
m_binningData[2].searchGlobal(bPosition) : 0;
163 return {{bin0, bin1, bin2}};
190 size_t ba = 0)
const {
223 if (!(bData.
inside(bPosition))) {
237 std::vector<BinningData>::const_iterator bdIter =
m_binningData.begin();
239 if (!(*bdIter).inside(lposition)) {
255 size_t max(
size_t ba = 0)
const {
286 throw "dimension out of bounds";
296 size_t serializedBin = bin[0];
303 return serializedBin;
315 <<
"- dimensional array:" << std::endl;
317 sl << indent <<
"dimension : " << ibd << std::endl;
318 sl << bd.toString(indent) << std::endl;
329 std::stringstream ss;