mist-hep 0.1.0
ROOT-backed analysis helpers built on mist
Loading...
Searching...
No Matches
algebra.h File Reference
#include <array>
#include <cmath>
#include <utility>
#include <vector>
#include <TF1.h>
#include <TGraphErrors.h>
#include <TProfile.h>
#include <mist/hep/owned.h>
Include dependency graph for algebra.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::graph
 

Functions

std::pair< double, double > mist::hep::graph::eval (const TGraphErrors &g, double x)
 
std::array< double, 2 > mist::hep::graph::eval_with_errors (const TGraphErrors &g, double x_target)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::add (const TGraphErrors &g, double addend, double addend_error=0.0)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::offset (const TGraphErrors &g, std::array< double, 2 > add_value)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::power (const TGraphErrors &g, double exponent)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::scale_values (const TGraphErrors &g, double factor, double factor_error=0.0)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::log (const TGraphErrors &g)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::log10 (const TGraphErrors &g)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::ratio (const TGraphErrors &numerator, const TGraphErrors &denominator, bool propagate_error=true)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::product (const TGraphErrors &a, const TGraphErrors &b, bool propagate_error=true)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::difference (const TGraphErrors &a, const TGraphErrors &b, bool propagate_error=true)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::difference (const TGraphErrors &g, const TF1 &f)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::trim (const TGraphErrors &g, double min_x, double max_x)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::mean_of (const std::vector< TGraphErrors * > &graphs)
 
owned::root_ptr< TGraphErrors > mist::hep::graph::average_rms (const TGraphErrors &g, int n_bins, double x_min, double x_max)
 
owned::root_ptr< TGraph > mist::hep::graph::derivative (const TGraph &g, double factor=1.0)