Logo ROOT   6.08/07
Reference Guide
Classes | Namespaces | Functions
THist.hxx File Reference
#include "ROOT/RArrayView.hxx"
#include "ROOT/TAxis.hxx"
#include "ROOT/TDrawable.hxx"
#include "ROOT/THistBinIter.hxx"
#include "ROOT/THistDrawable.hxx"
#include "ROOT/THistImpl.hxx"
#include "ROOT/THistData.hxx"
#include <initializer_list>
Include dependency graph for THist.hxx:
This graph shows which files directly or indirectly include this file:

Classes

class  ROOT::Experimental::THist< DIMENSIONS, PRECISION, STAT >
 Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value of type PRECISION. More...
 
class  ROOT::Experimental::THist< DIMENSIONS, PRECISION, STAT >
 Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value of type PRECISION. More...
 
struct  ROOT::Experimental::Internal::THistImplGen< NDIM, IDIM, DATA, PROCESSEDAXISCONFIG >
 Generate THist::fImpl from THist constructor arguments. More...
 
struct  ROOT::Experimental::Internal::THistImplGen< NDIM, NDIM, DATA, PROCESSEDAXISCONFIG... >
 Generate THist::fImpl from constructor arguments; recursion end. More...
 

Namespaces

 ROOT
 This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecutor::MapReduce.
 
 ROOT::Experimental
 
 ROOT::Experimental::Internal
 

Typedefs

THist Typedefs

Convenience typedefs (ROOT6-compatible type names)

using ROOT::Experimental::TH1D = THist< 1, double, THistStatContent, THistStatUncertainty >
 
using ROOT::Experimental::TH1F = THist< 1, float, THistStatContent, THistStatUncertainty >
 
using ROOT::Experimental::TH1C = THist< 1, char, THistStatContent >
 
using ROOT::Experimental::TH1I = THist< 1, int, THistStatContent >
 
using ROOT::Experimental::TH1LL = THist< 1, int64_t, THistStatContent >
 
using ROOT::Experimental::TH2D = THist< 2, double, THistStatContent, THistStatUncertainty >
 
using ROOT::Experimental::TH2F = THist< 2, float, THistStatContent, THistStatUncertainty >
 
using ROOT::Experimental::TH2C = THist< 2, char, THistStatContent >
 
using ROOT::Experimental::TH2I = THist< 2, int, THistStatContent >
 
using ROOT::Experimental::TH2LL = THist< 2, int64_t, THistStatContent >
 
using ROOT::Experimental::TH3D = THist< 3, double, THistStatContent, THistStatUncertainty >
 
using ROOT::Experimental::TH3F = THist< 3, float, THistStatContent, THistStatUncertainty >
 
using ROOT::Experimental::TH3C = THist< 3, char, THistStatContent >
 
using ROOT::Experimental::TH3I = THist< 3, int, THistStatContent >
 
using ROOT::Experimental::TH3LL = THist< 3, int64_t, THistStatContent >
 

Functions

template<int DIMENSIONS, class PRECISION_TO , class PRECISION_FROM , template< int D_, class P_, template< class P__ > class S_ > class... STAT_TO, template< int D_, class P_, template< class P__ > class S_ > class... STAT_FROM>
void ROOT::Experimental::Add (THist< DIMENSIONS, PRECISION_TO, STAT_TO... > &to, THist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &from)
 Add two histograms. More...
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_, template< class P__ > class S_ > class... STAT>
std::unique_ptr< Internal::TDrawable > ROOT::Experimental::GetDrawable (const std::shared_ptr< THist< DIMENSIONS, PRECISION, STAT... >> &hist, THistDrawOptions< DIMENSIONS > opts={})
 Interface to graphics taking a unique_ptr<THist>. More...
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_, template< class P__ > class S_ > class... STAT>
std::unique_ptr< Internal::TDrawable > ROOT::Experimental::GetDrawable (std::unique_ptr< THist< DIMENSIONS, PRECISION, STAT... >> &&hist, THistDrawOptions< DIMENSIONS > opts={})
 Interface to graphics taking a shared_ptr<THist>. More...
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_, template< class P__ > class S_ > class... STAT>
THist< DIMENSIONS, PRECISION, STAT... > ROOT::Experimental::HistFromImpl (std::unique_ptr< typename THist< DIMENSIONS, PRECISION, STAT... >::ImplBase_t > pHistImpl)
 Adopt an external, stand-alone THistImpl. The THist will take ownership. More...
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_, template< class P__ > class S_ > class... STAT>
class THist< DIMENSIONS, PRECISION, STAT... > ROOT::Experimental::HistFromImpl (std::unique_ptr< typename THist< DIMENSIONS, PRECISION, STAT... >::ImplBase_t > pHistImpl)
 Adopt an external, stand-alone THistImpl. The THist will take ownership. More...
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_, template< class P__ > class S_ > class... STAT>
void ROOT::Experimental::swap (THist< DIMENSIONS, PRECISION, STAT... > &a, THist< DIMENSIONS, PRECISION, STAT... > &b) noexcept
 Swap two histograms. More...