ATLAS Offline Software
|
This class provides a simple interface to write Transforms to a root tree. More...
#include <TransformNtupleBranch.h>
Public Member Functions | |
void | initForWrite (TTree &tree, const std::string &prefix="") |
initialize class for writing More... | |
void | initForRead (TTree &tree, const std::string &prefix="") |
initialize class for reading More... | |
void | fill (const Amg::Transform3D &transform) |
fill a transform More... | |
void | fill (const HepGeom::Transform3D &transform) |
fill a transform More... | |
Public Attributes | |
MatrixNtupleBranch | m_rotation |
data More... | |
VectorNtupleBranch | m_translation |
This class provides a simple interface to write Transforms to a root tree.
Usage:
TTree* myTree = new TTree("data","data"); TransformNtupleBranch branch; branch.initForWrite(*myTree,"");
for(int i=0;i<n;++i){ branch.fill( ); myTree->Fill(); }
Definition at line 34 of file TransformNtupleBranch.h.
void Trk::TransformNtupleBranch::fill | ( | const Amg::Transform3D & | transform | ) |
void Trk::TransformNtupleBranch::fill | ( | const HepGeom::Transform3D & | transform | ) |
void Trk::TransformNtupleBranch::initForRead | ( | TTree & | tree, |
const std::string & | prefix = "" |
||
) |
void Trk::TransformNtupleBranch::initForWrite | ( | TTree & | tree, |
const std::string & | prefix = "" |
||
) |
MatrixNtupleBranch Trk::TransformNtupleBranch::m_rotation |
data
Definition at line 49 of file TransformNtupleBranch.h.
VectorNtupleBranch Trk::TransformNtupleBranch::m_translation |
Definition at line 50 of file TransformNtupleBranch.h.