#include <EigenRootHelpers.h>
|
static Eigen::MatrixXf | getEigenMat (TH2 *a_hist) |
|
static Eigen::MatrixXf | getEigenMat (TH2 *a_hist, int a_xBinMin, int a_xBinMax, int a_yBinMin, int a_yBinMax) |
|
static Eigen::VectorXf | getEigenVector (TH1 *a_hist) |
|
static TH2F * | get2DHist (Eigen::MatrixXf a_mat, double a_xMin, double a_xMax, double a_yMin, double a_yMax) |
| constructs 2D root histogram assuming constant bin width in X and Y More...
|
|
static TH1F * | get1DHist (Eigen::VectorXf a_vec, double a_xMin, double a_yMin) |
|
static TH1F * | get1DHist (Eigen::VectorXf a_vec, std::vector< double > a_xBinEdges) |
|
this class is intended to provide conversion interfaces between root object and eigen objects for doing linear algebra and returning results to root objects for visualization
◆ get1DHist() [1/2]
TH1F * EigenRootHelpers::get1DHist |
( |
Eigen::VectorXf |
a_vec, |
|
|
double |
a_xMin, |
|
|
double |
a_yMin |
|
) |
| |
|
static |
◆ get1DHist() [2/2]
TH1F * EigenRootHelpers::get1DHist |
( |
Eigen::VectorXf |
a_vec, |
|
|
std::vector< double > |
a_xBinEdges |
|
) |
| |
|
static |
◆ get2DHist()
TH2F * EigenRootHelpers::get2DHist |
( |
Eigen::MatrixXf |
a_mat, |
|
|
double |
a_xMin, |
|
|
double |
a_xMax, |
|
|
double |
a_yMin, |
|
|
double |
a_yMax |
|
) |
| |
|
static |
constructs 2D root histogram assuming constant bin width in X and Y
◆ getEigenMat() [1/2]
Eigen::MatrixXf EigenRootHelpers::getEigenMat |
( |
TH2 * |
a_hist | ) |
|
|
static |
this function provides a one to one mapping between the bin content of a 2d histogram and a dynamic eigen matrix of floats abondoning under and overflow
this function provides a one to one mapping between the bin content of a 2d histogram and a dynamic eigen matrix of floats
◆ getEigenMat() [2/2]
Eigen::MatrixXf EigenRootHelpers::getEigenMat |
( |
TH2 * |
a_hist, |
|
|
int |
a_xBinMin, |
|
|
int |
a_xBinMax, |
|
|
int |
a_yBinMin, |
|
|
int |
a_yBinMax |
|
) |
| |
|
static |
◆ getEigenVector()
Eigen::VectorXf EigenRootHelpers::getEigenVector |
( |
TH1 * |
a_hist | ) |
|
|
static |
this function provides a one to one mapping between the bin content of a 1d histogram and a dynamic eigen vector of floats abandoning under and overflow
The documentation for this class was generated from the following files: