Project
Loading...
Searching...
No Matches
HistogramView.h File Reference

Non-owning, lightweight structure for histogram manipulation. More...

#include <iterator>
#include <algorithm>
#include <ostream>
#include <fairlogger/Logger.h>
#include "rANS/internal/common/utils.h"
#include "rANS/internal/transform/algorithm.h"

Go to the source code of this file.

Classes

class  o2::rans::HistogramView< Hist_IT >
 

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::rans
 
namespace  o2::rans::histogramview_impl
 

Functions

template<typename Hist_IT >
HistogramView< Hist_IT > o2::rans::trim (const HistogramView< Hist_IT > &buffer)
 
template<typename HistA_IT , typename HistB_IT >
std::ptrdiff_t o2::rans::getLeftOffset (const HistogramView< HistA_IT > &histA, const HistogramView< HistB_IT > &histB) noexcept
 
template<typename HistA_IT , typename HistB_IT >
std::ptrdiff_t o2::rans::getRightOffset (const HistogramView< HistA_IT > &histA, const HistogramView< HistB_IT > &histB)
 
template<typename HistA_IT , typename HistB_IT >
HistogramView< HistA_IT > o2::rans::getIntersection (const HistogramView< HistA_IT > &histA, const HistogramView< HistB_IT > &histB)
 
template<typename HistA_IT , typename HistB_IT >
HistogramView< HistA_IT > o2::rans::getLeftTail (const HistogramView< HistA_IT > &histA, const HistogramView< HistB_IT > &histB)
 
template<typename HistA_IT , typename HistB_IT >
HistogramView< HistA_IT > o2::rans::getRightTail (const HistogramView< HistA_IT > &histA, const HistogramView< HistB_IT > &histB)
 
template<typename container_T >
auto o2::rans::makeHistogramView (container_T &container, std::ptrdiff_t offset) noexcept -> HistogramView< decltype(std::begin(container))>
 
template<typename container_T >
auto o2::rans::makeHistogramView (const container_T &container, std::ptrdiff_t offset) noexcept -> HistogramView< decltype(std::cbegin(container))>
 
template<typename container_T , std::enable_if_t< histogramview_impl::has_getOffset_v< container_T >, bool > = true>
auto o2::rans::makeHistogramView (const container_T &container) noexcept -> HistogramView< decltype(std::cbegin(container))>
 
template<typename container_T , std::enable_if_t< histogramview_impl::has_getOffset_v< container_T >, bool > = true>
auto o2::rans::makeHistogramView (container_T &container) noexcept -> HistogramView< decltype(std::begin(container))>
 

Detailed Description

Non-owning, lightweight structure for histogram manipulation.

Author
micha.nosp@m.el.l.nosp@m.ettri.nosp@m.ch@c.nosp@m.ern.c.nosp@m.h

Definition in file HistogramView.h.