ATLAS Offline Software
Loading...
Searching...
No Matches
TransformNtupleBranch.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRK_TRANSFORMNTUPLEBRANCH_H
6#define TRK_TRANSFORMNTUPLEBRANCH_H
7
8#include <string>
9class TTree;
10
14#include "CLHEP/Geometry/Transform3D.h"
15#include "CLHEP/Geometry/Point3D.h"
16
17namespace Trk {
18
33
35
37 void initForWrite(TTree& tree, const std::string& prefix = "" );
38
40 void initForRead(TTree& tree, const std::string& prefix = "" );
41
43 void fill( const Amg::Transform3D& transform );
44
46 void fill( const HepGeom::Transform3D& transform );
47
51 };
52
53}
54
55#endif
Eigen::Affine3d Transform3D
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...
This class provides a simple interface to write Transforms to a root tree.
void initForWrite(TTree &tree, const std::string &prefix="")
initialize class for writing
void initForRead(TTree &tree, const std::string &prefix="")
initialize class for reading
void fill(const Amg::Transform3D &transform)
fill a transform
MatrixNtupleBranch m_rotation
data
This class provides a simple interface to write Vectors to a root tree The size of the vectors cannot...
TChain * tree