11 #include <boost/histogram.hpp> 16 inline auto hist_factory(
unsigned int const bin_number,
double const e_low,
17 double const e_high) {
18 namespace bh = boost::histogram;
19 namespace bha = bh::axis;
21 auto h = bh::make_histogram(
22 bha::category<int, bh::use_default, bha::option::growth_t>{{2212, 2112},
24 bha::regular<float, bha::transform::log>{bin_number, (float)e_low,
25 (
float)e_high,
"energy/eV"});
`, since they are used everywhere as integral part of the framework.