Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Tracking
TrkEvent
TrkTrack
src
LinkToTrack.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrkTrack/LinkToTrack.h
"
6
#include "
TrkTrack/Track.h
"
7
#include "
TrkTrack/TrackCollection.h
"
8
9
namespace
Trk
{
10
LinkToTrack::LinkToTrack
()
11
:
ElementLink
<
TrackCollection
>()
12
{}
13
14
LinkToTrack::LinkToTrack
(
ElementLink<TrackCollection>
& link)
15
:
ElementLink
<
TrackCollection
>(link)
16
{}
17
18
const
TrackParameters
*
19
LinkToTrack::parameters
()
const
20
{
21
if
(
isValid
()) {
22
const
Trk::Track
* trk = this->
cachedElement
();
23
if
(
nullptr
!= trk) {
24
return
trk->
perigeeParameters
();
25
}
26
return
nullptr
;
27
}
28
return
nullptr
;
29
}
// end of parameters method
30
31
Trk::LinkToTrack
*
32
Trk::LinkToTrack::clone
()
const
33
{
34
return
new
LinkToTrack
(*
this
);
35
}
36
37
}
// end of namespace definitions
LinkToTrack.h
ElementLink< TrackCollection >::cachedElement
ElementType cachedElement() const
Return the cached element, if any.
Trk::Track
The ATLAS Track class.
Definition:
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::LinkToTrack::parameters
virtual const TrackParameters * parameters() const override final
return the track parameters of the track (to which the EL< TrackCollection points)
Definition:
LinkToTrack.cxx:19
ElementLink< TrackCollection >::isValid
bool isValid() const
Test to see if the link can be dereferenced.
Track.h
TrackCollection.h
Trk::LinkToTrack
AUTO - An Undocumented Tracking Object.
Definition:
LinkToTrack.h:20
Trk::LinkToTrack::LinkToTrack
LinkToTrack()
default constructor (needed for persistency)
Definition:
LinkToTrack.cxx:10
Trk::LinkToTrack::clone
virtual LinkToTrack * clone() const override final
method to clone the LinkToTrack object
Definition:
LinkToTrack.cxx:32
Trk::ParametersBase
Definition:
ParametersBase.h:55
DataVector< Trk::Track >
ElementLink
ElementLink implementation for ROOT usage.
Definition:
AthLinks/ElementLink.h:123
Trk::Track::perigeeParameters
const Perigee * perigeeParameters() const
return Perigee.
Definition:
Tracking/TrkEvent/TrkTrack/src/Track.cxx:163
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Generated on Thu May 8 2025 21:13:18 for ATLAS Offline Software by
1.8.18