1 #ifndef EIGEN_ROOT_HELPERS
2 #define EIGEN_ROOT_HELPERS
29 static TH2F*
get2DHist(Eigen::MatrixXf a_mat,
34 static TH1F*
get1DHist(Eigen::VectorXf a_vec,
Definition: EigenRootHelpers.h:13
static Eigen::VectorXf getEigenVector(TH1 *a_hist)
Definition: EigenRootHelpers.cpp:44
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
Definition: EigenRootHelpers.cpp:55
static Eigen::MatrixXf getEigenMat(TH2 *a_hist)
Definition: EigenRootHelpers.cpp:6
static TH1F * get1DHist(Eigen::VectorXf a_vec, double a_xMin, double a_yMin)
Definition: EigenRootHelpers.cpp:80