MarlinMT  0.1.0
RootHistV7ToV6Conversion.h File Reference
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include <type_traits>
#include "ROOT/RAxis.hxx"
#include "ROOT/RHist.hxx"
#include "ROOT/RHistImpl.hxx"
#include "TAxis.h"
#include <cxxabi.h>
#include <exception>
#include <sstream>
#include <string>
#include <tuple>
#include <typeinfo>
#include <utility>

Go to the source code of this file.

Classes

class  ROOT::Experimental::RHist< DIMS, PRECISION, STAT >
 
class  ROOT::Experimental::RHistStatContent< D_, P_ >
 
struct  marlinmt::book::HistConverter< Input, Enable >
 
struct  marlinmt::book::CheckStats< STAT >
 
struct  marlinmt::book::CheckRoot6Type< DIMENSIONS, PRECISION >
 
struct  marlinmt::book::CheckRoot6Type< 1, Char_t >
 
struct  marlinmt::book::CheckRoot6Type< 1, Short_t >
 
struct  marlinmt::book::CheckRoot6Type< 1, Int_t >
 
struct  marlinmt::book::CheckRoot6Type< 1, Float_t >
 
struct  marlinmt::book::CheckRoot6Type< 1, Double_t >
 
struct  marlinmt::book::CheckRoot6Type< 2, Char_t >
 
struct  marlinmt::book::CheckRoot6Type< 2, Short_t >
 
struct  marlinmt::book::CheckRoot6Type< 2, Int_t >
 
struct  marlinmt::book::CheckRoot6Type< 2, Float_t >
 
struct  marlinmt::book::CheckRoot6Type< 2, Double_t >
 
struct  marlinmt::book::CheckRoot6Type< 3, Char_t >
 
struct  marlinmt::book::CheckRoot6Type< 3, Short_t >
 
struct  marlinmt::book::CheckRoot6Type< 3, Int_t >
 
struct  marlinmt::book::CheckRoot6Type< 3, Float_t >
 
struct  marlinmt::book::CheckRoot6Type< 3, Double_t >
 
struct  marlinmt::book::HistConverter< RExp::RHist< DIMS, PRECISION, STAT... >, std::enable_if_t< CheckRoot6Type_v< DIMS, PRECISION > &&CheckStats_v< STAT... > > >
 
struct  marlinmt::book::MakeRoot6Hist< DIMS >
 
struct  marlinmt::book::MakeRoot6Hist< 3 >
 

Namespaces

 ROOT
 
 ROOT::Experimental
 
 marlinmt
 
 marlinmt::book
 contains classes needed to book and managed booked objects.
 

Typedefs

template<int DIMENSIONS, class PRECISION >
using marlinmt::book::CheckRoot6Type_t = typename CheckRoot6Type< DIMENSIONS, PRECISION >::type
 
template<int DIMS>
using marlinmt::book::RHistImplBase = RExp::Detail::RHistImplPrecisionAgnosticBase< DIMS >
 

Functions

template<class Output , class Input >
Output marlinmt::book::convert_hist (const Input &src, const char *name)
 
template TH1C marlinmt::book::convert_hist (const RExp::RHist< 1, Char_t > &, const char *)
 
template TH1S marlinmt::book::convert_hist (const RExp::RHist< 1, Short_t > &, const char *)
 
template TH1I marlinmt::book::convert_hist (const RExp::RHist< 1, Int_t > &, const char *)
 
template TH1F marlinmt::book::convert_hist (const RExp::RHist< 1, Float_t > &, const char *)
 
template TH1D marlinmt::book::convert_hist (const RExp::RHist< 1, Double_t > &, const char *)
 
template TH2C marlinmt::book::convert_hist (const RExp::RHist< 2, Char_t > &, const char *)
 
template TH2S marlinmt::book::convert_hist (const RExp::RHist< 2, Short_t > &, const char *)
 
template TH2I marlinmt::book::convert_hist (const RExp::RHist< 2, Int_t > &, const char *)
 
template TH2F marlinmt::book::convert_hist (const RExp::RHist< 2, Float_t > &, const char *)
 
template TH2D marlinmt::book::convert_hist (const RExp::RHist< 2, Double_t > &, const char *)
 
template TH3C marlinmt::book::convert_hist (const RExp::RHist< 3, Char_t > &, const char *)
 
template TH3S marlinmt::book::convert_hist (const RExp::RHist< 3, Short_t > &, const char *)
 
template TH3I marlinmt::book::convert_hist (const RExp::RHist< 3, Int_t > &, const char *)
 
template TH3F marlinmt::book::convert_hist (const RExp::RHist< 3, Float_t > &, const char *)
 
template TH3D marlinmt::book::convert_hist (const RExp::RHist< 3, Double_t > &, const char *)
 
template<typename Root7Hist >
auto into_root6_hist (const Root7Hist &src, const char *name)
 
std::string marlinmt::book::convert_hist_title (const std::string &title)
 
TAxis & marlinmt::book::get_root6_axis (TH1 &hist, size_t idx)
 
TAxis & marlinmt::book::get_root6_axis (TH2 &hist, size_t idx)
 
TAxis & marlinmt::book::get_root6_axis (TH3 &hist, size_t idx)
 
Double_t marlinmt::book::get_bin_from_root6 (const TAxis &axis, Int_t bin)
 
std::array< Double_t, 1 > marlinmt::book::get_bin_from_root6 (const TH1 &hist, Int_t bin)
 
std::array< Double_t, 2 > marlinmt::book::get_bin_from_root6 (const TH2 &hist, Int_t bin)
 
std::array< Double_t, 3 > marlinmt::book::get_bin_from_root6 (const TH3 &hist, Int_t bin)
 
void marlinmt::book::setup_axis_base (TAxis &dest, const RExp::RAxisBase &src)
 
template<class Output , int AXIS, int DIMS, class... BuildParams>
Output marlinmt::book::convert_hist_loop (const RHistImplBase< DIMS > &src_impl, std::tuple< BuildParams... > &&build_params)
 
template<class THx , int DIMS>
void marlinmt::book::check_binning (const THx &dest, const RHistImplBase< DIMS > &src_impl)
 

Variables

template<typename T >
constexpr bool marlinmt::book::always_false = false
 
template<template< int D_, class P_ > class... STAT>
constexpr bool marlinmt::book::stats_ok = true
 
template<template< int D_, class P_ > class SINGLE_STAT>
constexpr bool marlinmt::book::stats_ok< SINGLE_STAT > = false
 
template<template< int D_, class P_ > class STAT_HEAD, template< int D_, class P_ > class... STAT_TAIL>
constexpr bool marlinmt::book::stats_ok< STAT_HEAD, STAT_TAIL... >
 
template<template< int D_, class P_ > class... STAT>
static constexpr bool marlinmt::book::CheckStats_v = CheckStats<STAT...>::value
 
template<int DIMENSIONS, class PRECISION >
static constexpr bool marlinmt::book::CheckRoot6Type_v
 

Function Documentation

◆ into_root6_hist()

template<typename Root7Hist >
auto into_root6_hist ( const Root7Hist &  src,
const char *  name 
)