Go to the documentation of this file.
14 template <
class TC,
class TO,
class TN,
class TW,
class TH>
132 return ::sqrt(::fabs((sx2w / sw) - mean * mean));
143 return ::sqrt(::fabs((sx2w / sw) - mean * mean));
156 if(!
parent::m_axes[0].in_range_to_absolute_index(aI,ibin))
return 0;
160 for(
bn_t jbin=0;jbin<ybins;jbin++) {
170 if(!
parent::m_axes[0].in_range_to_absolute_index(aI,ibin))
return 0;
174 for(
bn_t jbin=0;jbin<ybins;jbin++) {
184 if(!
parent::m_axes[1].in_range_to_absolute_index(aJ,jbin))
return 0;
188 for(
bn_t ibin=0;ibin<xbins;ibin++) {
198 if(!
parent::m_axes[1].in_range_to_absolute_index(aJ,jbin))
return 0;
202 for(
bn_t ibin=0;ibin<xbins;ibin++) {
257 <<
" " << height_6 <<
" " << height_7 <<
" " << height_8 << std::endl;
259 <<
" " << height_3 <<
" " << height_4 <<
" " << height_5 << std::endl;
261 <<
" " << height_0 <<
" " << height_1 <<
" " << height_2 << std::endl;
267 <<
" * ENTRIES[0,0] = "
269 <<
" * HEIGHT[0,0] = "
271 <<
" * ERROR[0,0] = "
275 <<
" * ENTRIES[N/2,N/2] = "
277 <<
" * HEIGHT[N/2,N/2] = "
279 <<
" * ERROR[N/2,N/2] = "
283 <<
" * ENTRIES[N-1,N-1] = "
285 <<
" * HEIGHT[N-1,N-1] = "
287 <<
" * ERROR[N-1,N-1] = "
292 b2(
const std::string& a_title,
bn_t aXnumber,TC aXmin,TC aXmax,
bn_t aYnumber,TC aYmin,TC aYmax) {
294 std::vector<bn_t> nbins;
295 nbins.push_back(aXnumber);
296 nbins.push_back(aYnumber);
297 std::vector<TC> mins;
298 mins.push_back(aXmin);
299 mins.push_back(aYmin);
300 std::vector<TC> maxs;
301 maxs.push_back(aXmax);
302 maxs.push_back(aYmax);
306 b2(
const std::string& a_title,
const std::vector<TC>& a_edges_x,
const std::vector<TC>& a_edges_y) {
308 std::vector< std::vector<TC> > edges(2);
309 edges[0] = a_edges_x;
310 edges[1] = a_edges_y;
320 std::vector<bn_t> nbins;
321 nbins.push_back(aXnumber);
322 nbins.push_back(aYnumber);
323 std::vector<TC> mins;
324 mins.push_back(aXmin);
325 mins.push_back(aYmin);
326 std::vector<TC> maxs;
327 maxs.push_back(aXmax);
328 maxs.push_back(aYmax);
332 bool configure(
const std::vector<TC>& a_edges_x,
const std::vector<TC>& a_edges_y){
333 std::vector< std::vector<TC> > edges(2);
334 edges[0] = a_edges_x;
335 edges[1] = a_edges_y;
343 if(!
parent::m_axes[0].in_range_to_absolute_index(aI,ibin)) {a_offset=0;
return false;}
344 if(!
parent::m_axes[1].in_range_to_absolute_index(aJ,jbin)) {a_offset=0;
return false;}