ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkSegment
TrkSegment
TrackSegment.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// TrackSegment.h, (c) ATLAS Detector software
8
9
#ifndef TRKSEGMENT_TRACKSEGMENT_H
10
#define TRKSEGMENT_TRACKSEGMENT_H
11
12
// Trk
13
#include "
TrkMeasurementBase/MeasurementBase.h
"
14
#include "
TrkSegment/Segment.h
"
15
#include "
TrkSurfaces/SurfaceHolders.h
"
16
// Identifier
17
#include "
AthContainers/DataVector.h
"
18
#include "Identifier/Identifier.h"
19
#include "
Identifier/IdentifierHash.h
"
20
//
21
#include <memory>
22
#include <ostream>
23
#include <vector>
24
class
MsgStream;
25
class
TrackSegmentCnv_p1
;
26
27
namespace
Trk
{
28
29
class
Surface
;
30
class
PrepRawData
;
31
class
LocalParameters
;
32
class
TrkDetElementBase
;
33
class
FitQuality
;
34
52
53
class
TrackSegment
final
54
:
public
Segment
55
,
public
SurfacePtrHolderDetEl
56
{
57
58
public
:
60
TrackSegment
();
62
TrackSegment
(
const
TrackSegment
& seg) =
default
;
64
TrackSegment
(
TrackSegment
&&) noexcept = default;
66
TrackSegment
& operator=(
const
TrackSegment
& seg) = default;
68
TrackSegment
& operator=(
TrackSegment
&&) noexcept = default;
69
71
TrackSegment
(
LocalParameters
&& locpars,
72
Amg
::MatrixX&& locerr,
73
const
Surface
* sf,
74
DataVector
<
const
MeasurementBase
>&& crots,
75
FitQuality
* fqual,
76
Segment
::
Author
author
=
Segment
::
AuthorUnknown
);
77
79
virtual ~
TrackSegment
() = default;
80
82
virtual
TrackSegment
*
clone
()
const
override final;
83
86
const
Surface
&
associatedSurface
()
const
override final;
87
90
const
Amg
::
Vector3D
&
globalPosition
()
const
override final;
91
94
MsgStream&
dump
(MsgStream& out)
const
override final;
97
std
::
ostream
&
dump
(
std
::
ostream
& out)
const
override final;
98
99
private
:
100
friend class ::
TrackSegmentCnv_p1
;
101
102
Amg
::
Vector3D
m_globalPosition
;
103
};
104
105
inline
TrackSegment
*
106
TrackSegment
::
clone
()
const
107
{
108
return
new
TrackSegment
(*
this
);
109
}
110
111
inline
const
Surface
&
112
TrackSegment::associatedSurface
()
const
113
{
114
return
(*
m_associatedSurface
);
115
}
116
117
}
118
119
#endif
// TRKSEGMENT_TRACKSEGMENT_H
120
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
IdentifierHash.h
MeasurementBase.h
SurfaceHolders.h
Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Segment.h
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
TrackSegmentCnv_p1
Definition
TrackSegmentCnv_p1.h:30
Trk::FitQuality
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
Definition
FitQuality.h:97
Trk::LocalParameters
Definition
LocalParameters.h:100
Trk::MeasurementBase
This class is the pure abstract base class for all fittable tracking measurements.
Definition
MeasurementBase.h:58
Trk::PrepRawData
Definition
PrepRawData.h:62
Trk::Segment::author
Author author() const
return segment author
Definition
Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h:199
Trk::Segment::Author
Author
enum to identify who created the segment.
Definition
Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h:63
Trk::Segment::AuthorUnknown
@ AuthorUnknown
Definition
Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h:64
Trk::Segment::Segment
Segment()
Default Constructor for POOL.
Definition
Tracking/TrkEvent/TrkSegment/src/Segment.cxx:15
Trk::SurfacePtrHolderImplDetEl< Surface >::m_associatedSurface
const Surface * m_associatedSurface
Definition
SurfaceHolderImpl.h:221
Trk::Surface
Abstract Base Class for tracking surfaces.
Definition
Surface.h:79
Trk::TrackSegment::TrackSegmentCnv_p1
friend class ::TrackSegmentCnv_p1
Definition
TrackSegment.h:100
Trk::TrackSegment::clone
virtual TrackSegment * clone() const override final
needed to avoid excessive RTTI
Definition
TrackSegment.h:106
Trk::TrackSegment::TrackSegment
TrackSegment(TrackSegment &&) noexcept=default
Move Constructor.
Trk::TrackSegment::associatedSurface
const Surface & associatedSurface() const override final
returns the surface for the local to global transformation
Definition
TrackSegment.h:112
Trk::TrackSegment::globalPosition
const Amg::Vector3D & globalPosition() const override final
Interface method to get the global Position.
Definition
TrackSegment.cxx:46
Trk::TrackSegment::m_globalPosition
Amg::Vector3D m_globalPosition
Definition
TrackSegment.h:102
Trk::TrackSegment::TrackSegment
TrackSegment(const TrackSegment &seg)=default
Copy Constructor.
Trk::TrackSegment::TrackSegment
TrackSegment()
Default Constructor for POOL.
Definition
TrackSegment.cxx:20
Trk::TrkDetElementBase
This is the base class for all tracking detector elements with read-out relevant information.
Definition
TrkDetElementBase.h:52
ostream
STL class.
const
Amg
Definition of ATLAS Math & Geometry primitives (Amg).
Definition
AmgStringHelpers.h:19
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::SurfacePtrHolderDetEl
Trk::SurfacePtrHolderImplDetEl< Surface > SurfacePtrHolderDetEl
Definition
SurfaceHolders.h:36
dump
-event-from-file
std
STL namespace.
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0