ATLAS Offline Software
Loading...
Searching...
No Matches
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
6#include "TrkTrack/Track.h"
8
9namespace Trk {
13
17
18const TrackParameters*
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
33{
34 return new LinkToTrack(*this);
35}
36
37} // end of namespace definitions
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
AUTO - An Undocumented Tracking Object.
Definition LinkToTrack.h:20
virtual const TrackParameters * parameters() const override final
return the track parameters of the track (to which the EL< TrackCollection
virtual LinkToTrack * clone() const override final
method to clone the LinkToTrack object
LinkToTrack()
default constructor (needed for persistency)
const Perigee * perigeeParameters() const
return Perigee.
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersBase< TrackParametersDim, Charged > TrackParameters