mist-hep 0.1.0
ROOT-backed analysis helpers built on mist
Loading...
Searching...
No Matches
histo.h File Reference
#include <cmath>
#include <string>
#include <type_traits>
#include <vector>
#include <TH1.h>
#include <TH2.h>
#include <TH3.h>
#include <TH1F.h>
#include <mist/logger/logger.h>
#include <mist/hep/owned.h>
#include <mist/hep/stats.h>
Include dependency graph for histo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mist
 
namespace  mist::hep
 
namespace  mist::hep::histo
 
namespace  mist::hep::histo::detail
 

Functions

template<typename TH >
int mist::hep::histo::dimension (const TH *h)
 
template<typename TH1Type , typename TH2Type >
int mist::hep::histo::pair_dimension (const TH1Type *a, const TH2Type *b)
 
template<typename TH1Type , typename TH2Type >
bool mist::hep::histo::is_consistent (const TH1Type *a, const TH2Type *b)
 
std::vector< double > mist::hep::histo::uniform_binning (double width, double low, double high)
 
std::vector< double > mist::hep::histo::log_binning (int n_bins, double low, double high)
 
int & mist::hep::histo::detail::build_counter ()
 
template<typename TH1Type = TH1F, typename T >
requires std::is_arithmetic_v<T>
owned::root_ptr< TH1Type > mist::hep::histo::make_th1_from_vector (const std::vector< T > &data, int n_bins=-1, double offset=0.0, double low=0.0, double high=0.0)
 
template<typename TH >
owned::root_ptr< TH > mist::hep::histo::detail::clone_as (const TH *h)
 
template<typename TH >
owned::root_ptr< TH > mist::hep::histo::offset (const TH *h, double value, bool absolute=false)
 
template<typename TH >
owned::root_ptr< TH > mist::hep::histo::absolute (const TH *h)
 
template<typename TH >
owned::root_ptr< TH > mist::hep::histo::scale (const TH *h, double factor, double factor_error=0.0)