11 #include <boost/histogram.hpp> 16 inline auto hist_factory() {
17 namespace bh = boost::histogram;
18 namespace bha = bh::axis;
19 auto h = bh::make_histogram(
20 bha::regular<float, bha::transform::log>{11 * 5, 1e0, 1e11,
"muon energy"},
21 bha::regular<float, bha::transform::log>{11 * 5, 1e0, 1e11,
23 bha::category<int, bh::use_default, bha::option::growth_t>{
24 {211, -211, 2212, -2212},
"projectile PDG"});