5#ifndef TRK_MATRIXNTUPLEBRANCH_H
6#define TRK_MATRIXNTUPLEBRANCH_H
12#include "CLHEP/Geometry/Transform3D.h"
36 bool initForWrite(TTree&
tree,
const std::string& varname,
int ncol,
int nrow,
const std::string& prefix =
"" );
39 bool initForRead(TTree&
tree,
const std::string& varname,
int ncol,
int nrow,
const std::string& prefix =
"" );
45 bool fill(
const HepGeom::Rotate3D& matrix );
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Ensure that the ATLAS eigen extensions are properly loaded.
This class provides a simple interface to write Matricis to a root tree The size of the Matrix cannot...
bool fill(const Amg::MatrixX &matrix)
fill a vector
static const int COLMAX
data
float m_matrix[COLMAX][ROWMAX]
bool initForWrite(TTree &tree, const std::string &varname, int ncol, int nrow, const std::string &prefix="")
initialize class for writing
bool initForRead(TTree &tree, const std::string &varname, int ncol, int nrow, const std::string &prefix="")
initialize class for reading