ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkUtilityPackages
TrkValidationUtils
TrkValidationUtils
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
11
#include "
GeoPrimitives/GeoPrimitives.h
"
12
#include "
TrkValidationUtils/MatrixNtupleBranch.h
"
13
#include "
TrkValidationUtils/VectorNtupleBranch.h
"
14
#include "CLHEP/Geometry/Transform3D.h"
15
#include "CLHEP/Geometry/Point3D.h"
16
17
namespace
Trk
{
18
33
34
struct
TransformNtupleBranch
{
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
49
MatrixNtupleBranch
m_rotation
;
50
VectorNtupleBranch
m_translation
;
51
};
52
53
}
54
55
#endif
GeoPrimitives.h
MatrixNtupleBranch.h
VectorNtupleBranch.h
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition
GeoPrimitives.h:46
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
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
This class provides a simple interface to write Transforms to a root tree.
Definition
TransformNtupleBranch.h:34
Trk::TransformNtupleBranch::m_translation
VectorNtupleBranch m_translation
Definition
TransformNtupleBranch.h:50
Trk::TransformNtupleBranch::initForWrite
void initForWrite(TTree &tree, const std::string &prefix="")
initialize class for writing
Definition
TransformNtupleBranch.cxx:12
Trk::TransformNtupleBranch::initForRead
void initForRead(TTree &tree, const std::string &prefix="")
initialize class for reading
Definition
TransformNtupleBranch.cxx:17
Trk::TransformNtupleBranch::fill
void fill(const Amg::Transform3D &transform)
fill a transform
Definition
TransformNtupleBranch.cxx:24
Trk::TransformNtupleBranch::m_rotation
MatrixNtupleBranch m_rotation
data
Definition
TransformNtupleBranch.h:49
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
Generated on
for ATLAS Offline Software by
1.17.0