ATLAS Offline Software
Loading...
Searching...
No Matches
LinkToTrack.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKTRACK_LINKTOTRACK_H
6#define TRKTRACK_LINKTOTRACK_H
7
8#include "AthLinks/ElementLink.h"
13
14namespace Trk {
16
18 : public ITrackLink
19 , public ElementLink<TrackCollection>
20{
21
22public:
25
28
30 virtual ~LinkToTrack() = default;
31
34 virtual const TrackParameters* parameters() const override final;
35
37 virtual const NeutralParameters* neutralParameters() const override final { return nullptr; }
38
40 virtual LinkToTrack* clone() const override final;
41
42 virtual ITrackLinkType type() const override final {
43 return ToTrack;
44 }
45
46 // This is here to make sure that the TrackCollection typedef
47 // will make it into the dictionary.
49}; // end of class definitions
50} // end of namespace definitions
51
52#endif // TRKTRACK_LINKTOTRACK_H
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
AUTO - An Undocumented Tracking Object.
Definition LinkToTrack.h:20
TrackCollection TrackCollectionForDict
Definition LinkToTrack.h:48
virtual ~LinkToTrack()=default
default destructor
virtual const TrackParameters * parameters() const override final
return the track parameters of the track (to which the EL< TrackCollection
virtual ITrackLinkType type() const override final
return the type
Definition LinkToTrack.h:42
virtual LinkToTrack * clone() const override final
method to clone the LinkToTrack object
LinkToTrack()
default constructor (needed for persistency)
virtual const NeutralParameters * neutralParameters() const override final
return the neutral parameters of the NeutralParticle)
Definition LinkToTrack.h:37
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersBase< NeutralParametersDim, Neutral > NeutralParameters
ParametersBase< TrackParametersDim, Charged > TrackParameters