|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRK_VECTORNTUPLEBRANCH_H
6 #define TRK_VECTORNTUPLEBRANCH_H
12 #include "CLHEP/Geometry/Vector3D.h"
13 #include "CLHEP/Geometry/Point3D.h"
14 #include "CLHEP/Matrix/Vector.h"
46 bool fill(
const CLHEP::HepVector&
vec );
49 bool fill(
const CLHEP::Hep3Vector&
vec );
52 bool fill(
const HepGeom::Point3D<double>&
vec );
55 bool fill(
const HepGeom::Vector3D<double>&
vec );
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
This class provides a simple interface to write Vectors to a root tree The size of the vectors cannot...
static const int ROWMAX
maximum size of the vector
bool initForRead(TTree &tree, const std::string &varname, int nrow, const std::string &prefix="")
initialize class for reading
std::vector< size_t > vec
bool initForWrite(TTree &tree, const std::string &varname, int nrow, const std::string &prefix="")
initialize class for writing
bool fill(const Amg::VectorX &matrix)
fill a vector
Ensure that the ATLAS eigen extensions are properly loaded.