CbmRoot
Loading...
Searching...
No Matches
Histogram.h File Reference

ROOT-free implementation of a histogram. More...

#include "Accumulators.h"
#include <boost/histogram.hpp>
#include <boost/histogram/serialization.hpp>
#include <boost/serialization/access.hpp>
#include <boost/serialization/base_object.hpp>
#include <boost/serialization/string.hpp>
#include <boost/serialization/vector.hpp>
#include <algorithm>
#include <cstdint>
#include <memory>
#include <numeric>
#include <string>
#include <tuple>
#include <type_traits>
#include <fmt/format.h>
Include dependency graph for Histogram.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cbm::algo::qa::HistogramMetadata
 Metadata of the histogram. More...
 
class  cbm::algo::qa::TotalSums1D
 Storage for total sums of weights, squared weights, weights over x, weights over squared x. More...
 
class  cbm::algo::qa::TotalSums2D
 TotalSums1D including storage for total sums of w*x*y, w*y, w*y*y products. More...
 
class  cbm::algo::qa::Histogram< Axes, Storage, TotalSums >
 Interface to a histogram/profile. More...
 
class  cbm::algo::qa::H1D
 1D-histogram More...
 
class  cbm::algo::qa::H2D
 2D-histogram More...
 
class  cbm::algo::qa::Prof1D
 
class  cbm::algo::qa::Prof2D
 

Namespaces

namespace  cbm
 
namespace  cbm::algo
 
namespace  cbm::algo::qa
 

Typedefs

using cbm::algo::qa::RegularAxis_t = bh::axis::regular<>
 
using cbm::algo::qa::Axes1D_t = std::tuple<RegularAxis_t>
 
using cbm::algo::qa::Axes2D_t = std::tuple<RegularAxis_t, RegularAxis_t>
 
using cbm::algo::qa::HistStorage_t = bh::weight_storage
 
using cbm::algo::qa::ProfStorage_t = bh::RootStyleProfileStorage<double>
 
using cbm::algo::qa::BaseH1D = Histogram<Axes1D_t, HistStorage_t, TotalSums1D>
 
using cbm::algo::qa::BaseH2D = Histogram<Axes2D_t, HistStorage_t, TotalSums2D>
 
using cbm::algo::qa::BaseProf1D = Histogram<Axes1D_t, ProfStorage_t, TotalSums1D>
 
using cbm::algo::qa::BaseProf2D = Histogram<Axes2D_t, ProfStorage_t, TotalSums2D>
 

Enumerations

enum class  cbm::algo::qa::EAxis : unsigned { cbm::algo::qa::X = 0 , cbm::algo::qa::Y , cbm::algo::qa::Z }
 
enum class  cbm::algo::qa::EHistFlag : uint8_t { cbm::algo::qa::StoreVsTsId = 0b00000001 , cbm::algo::qa::OmitIntegrated = 0b00000010 }
 Histogram control flags (bit masks) More...
 

Detailed Description

ROOT-free implementation of a histogram.

Date
27.02.2024
Author
Sergei Zharko s.zha.nosp@m.rko@.nosp@m.gsi.d.nosp@m.e

Definition in file Histogram.h.