ATLAS Offline Software
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>
9 class TTree;
10 
14 #include "CLHEP/Geometry/Transform3D.h"
15 #include "CLHEP/Geometry/Point3D.h"
16 
17 namespace Trk {
18 
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
VectorNtupleBranch.h
Trk::TransformNtupleBranch::m_rotation
MatrixNtupleBranch m_rotation
data
Definition: TransformNtupleBranch.h:49
Trk::TransformNtupleBranch
This class provides a simple interface to write Transforms to a root tree.
Definition: TransformNtupleBranch.h:34
Trk::VectorNtupleBranch
This class provides a simple interface to write Vectors to a root tree The size of the vectors cannot...
Definition: VectorNtupleBranch.h:34
tree
TChain * tree
Definition: tile_monitor.h:30
Trk::TransformNtupleBranch::initForRead
void initForRead(TTree &tree, const std::string &prefix="")
initialize class for reading
Definition: TransformNtupleBranch.cxx:17
MatrixNtupleBranch.h
GeoPrimitives.h
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
checkCorrelInHIST.prefix
dictionary prefix
Definition: checkCorrelInHIST.py:391
Trk::TransformNtupleBranch::fill
void fill(const Amg::Transform3D &transform)
fill a transform
Definition: TransformNtupleBranch.cxx:24
Trk::MatrixNtupleBranch
This class provides a simple interface to write Matricis to a root tree The size of the Matrix cannot...
Definition: MatrixNtupleBranch.h:33
Trk::TransformNtupleBranch::m_translation
VectorNtupleBranch m_translation
Definition: TransformNtupleBranch.h:50
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::TransformNtupleBranch::initForWrite
void initForWrite(TTree &tree, const std::string &prefix="")
initialize class for writing
Definition: TransformNtupleBranch.cxx:12