39 for (
int row = 15; row > 0; row--) {
42 static constexpr int Scale = 15;
43 std::cout << (
value >= (row * Scale) ?
'*' :
' ');
51 for (
auto bin : axis.GetNormalRange()) {
66 std::normal_distribution
normal(10.0, 4.0);
67 for (std::size_t i = 0; i < 1000; i++) {
76 auto hist = std::make_shared<ROOT::Experimental::RHist<int>>(axis);
81 std::vector<std::thread>
threads;
82 for (std::size_t t = 0; t < 4; t++) {
85 auto context =
filler.CreateFillContext();
86 FillHistogram(t, *context);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
A bin index with special values for underflow and overflow bins.
static RBinIndex Overflow()
static RBinIndex Underflow()
A histogram filler to concurrently fill an RHist.
A context to concurrently fill an RHist.
void Fill(const std::tuple< A... > &args)
Fill an entry into the histogram.
A histogram for aggregation of data along multiple dimensions.
double ComputeMean(std::size_t dim=0) const
Compute the arithmetic mean of unbinned values.
double ComputeStdDev(std::size_t dim=0) const
Compute the standard deviation of unbinned values.
const BinContentType & GetBinContent(const std::array< RBinIndex, N > &indices) const
Get the content of a single bin.
const std::vector< RAxisVariant > & GetAxes() const
std::uint64_t GetNEntries() const
A regular axis with equidistant bins in the interval .