ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkUtilityPackages
TrkValidationUtils
TrkValidationUtils
SurfaceNtupleBranch.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRK_SURFACENTUPLEBRANCH_H
6
#define TRK_SURFACENTUPLEBRANCH_H
7
8
9
10
#include "
GeoPrimitives/GeoPrimitives.h
"
11
#include "
TrkValidationUtils/TransformNtupleBranch.h
"
12
#include "
TrkValidationUtils/VectorNtupleBranch.h
"
13
#include <string_view>
14
class
TTree;
15
16
17
namespace
Trk
{
18
class
Surface
;
19
34
35
36
struct
SurfaceNtupleBranch
{
37
39
void
initForWrite
(TTree&
tree
, std::string_view prefix =
""
);
40
42
void
initForRead
(TTree&
tree
, std::string_view prefix =
""
);
43
45
void
fill
(
const
Trk::Surface
& surface );
46
48
TransformNtupleBranch
m_transform
;
49
VectorNtupleBranch
m_center
;
50
VectorNtupleBranch
m_normal
;
51
int
m_id
= 0;
52
};
53
54
}
55
56
#endif
GeoPrimitives.h
TransformNtupleBranch.h
VectorNtupleBranch.h
Trk::Surface
Abstract Base Class for tracking surfaces.
Definition
Surface.h:79
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::SurfaceNtupleBranch
This class provides a simple interface to write Surfaces to a root tree.
Definition
SurfaceNtupleBranch.h:36
Trk::SurfaceNtupleBranch::m_transform
TransformNtupleBranch m_transform
data
Definition
SurfaceNtupleBranch.h:48
Trk::SurfaceNtupleBranch::m_center
VectorNtupleBranch m_center
Definition
SurfaceNtupleBranch.h:49
Trk::SurfaceNtupleBranch::initForWrite
void initForWrite(TTree &tree, std::string_view prefix="")
initialize class for writing
Definition
SurfaceNtupleBranch.cxx:11
Trk::SurfaceNtupleBranch::m_normal
VectorNtupleBranch m_normal
Definition
SurfaceNtupleBranch.h:50
Trk::SurfaceNtupleBranch::fill
void fill(const Trk::Surface &surface)
fill a vector
Definition
SurfaceNtupleBranch.cxx:30
Trk::SurfaceNtupleBranch::m_id
int m_id
Definition
SurfaceNtupleBranch.h:51
Trk::SurfaceNtupleBranch::initForRead
void initForRead(TTree &tree, std::string_view prefix="")
initialize class for reading
Definition
SurfaceNtupleBranch.cxx:21
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
Generated on
for ATLAS Offline Software by
1.17.0