ATLAS Offline Software
Loading...
Searching...
No Matches
LinkToTrackParticleBase.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 TRKPARTICLEBASE_LINKTOTRACKPARTICLEBASE_H
6#define TRKPARTICLEBASE_LINKTOTRACKPARTICLEBASE_H
7
8#include "AthLinks/ElementLink.h"
11
12namespace Trk {
13
15 : public ITrackLink
16 , public ElementLink<TrackParticleBaseCollection>
17{
18
19public:
22
25
27 virtual ~LinkToTrackParticleBase() = default;
28
31 virtual const TrackParameters* parameters() const override final;
32
34 virtual const NeutralParameters* neutralParameters() const override final { return nullptr; }
35
37 virtual LinkToTrackParticleBase* clone() const override final;
38
39 virtual ITrackLinkType type() const override final {
41 }
42}; // end of class definitions
43} // end of namespace definitions
44
45#endif // LINKTOTRACKPARTICLEBASE_H
virtual const NeutralParameters * neutralParameters() const override final
return the neutral parameters of the NeutralParticle)
LinkToTrackParticleBase()
default constructor (needed for persistency)
virtual const TrackParameters * parameters() const override final
return the track parameters of the track (to which the EL< TrackParticleBaseCollection > points)
virtual LinkToTrackParticleBase * clone() const override final
method to clone the LinkToTrack object
virtual ITrackLinkType type() const override final
return the type
virtual ~LinkToTrackParticleBase()=default
default destructor
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersBase< NeutralParametersDim, Neutral > NeutralParameters
ParametersBase< TrackParametersDim, Charged > TrackParameters