ATLAS Offline Software
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 
14 namespace Trk {
18  : public ITrackLink
19  , public ElementLink<TrackCollection>
20 {
21 
22 public:
24  LinkToTrack();
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
TrackParameters.h
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
NeutralParameters.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Trk::LinkToTrack::neutralParameters
virtual const NeutralParameters * neutralParameters() const override final
return the neutral parameters of the NeutralParticle)
Definition: LinkToTrack.h:37
TrackCollection.h
Trk::LinkToTrack::TrackCollectionForDict
TrackCollection TrackCollectionForDict
Definition: LinkToTrack.h:48
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 >
Trk::LinkToTrack::type
virtual ITrackLinkType type() const override final
return the type
Definition: LinkToTrack.h:42
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::LinkToTrack::~LinkToTrack
virtual ~LinkToTrack()=default
default destructor