ATLAS Offline Software
LinkToXAODTrackParticle.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_LINKTOXAODTRACKPARTICLE_H
6 #define TRKTRACK_LINKTOXAODTRACKPARTICLE_H
7 
8 #include "AthLinks/ElementLink.h"
10 
14 
15 namespace Trk {
31  : public ITrackLink
32  , public ElementLink<xAOD::TrackParticleContainer>
33 {
34 
35 public:
38 
41 
46  virtual ~LinkToXAODTrackParticle() = default;
47 
50  virtual const TrackParameters* parameters() const override final;
51 
53  virtual const NeutralParameters* neutralParameters() const override final
54  {
55  return nullptr;
56  }
57 
59  virtual LinkToXAODTrackParticle* clone() const override final;
60 
61  virtual ITrackLinkType type() const override final
62  {
63  return ToxAODTrackParticle;
64  }
65 
66 }; // end of class definitions
67 } // end of namespace definitions
68 
69 #endif // TRKTRACK_LINKTOXAODTRACKPARTICLE_H
TrackParameters.h
Trk::LinkToXAODTrackParticle::LinkToXAODTrackParticle
LinkToXAODTrackParticle()
default constructor (needed for persistency)
Definition: LinkToXAODTrackParticle.cxx:10
NeutralParameters.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Trk::LinkToXAODTrackParticle::parameters
virtual const TrackParameters * parameters() const override final
return the track parameters of the track (to which the EL< TrackCollection points)
Definition: LinkToXAODTrackParticle.cxx:20
Trk::LinkToXAODTrackParticle::~LinkToXAODTrackParticle
virtual ~LinkToXAODTrackParticle()=default
Trk::LinkToXAODTrackParticle::type
virtual ITrackLinkType type() const override final
return the type
Definition: LinkToXAODTrackParticle.h:61
Trk::LinkToXAODTrackParticle
Element link to XAOD TrackParticle.
Definition: LinkToXAODTrackParticle.h:33
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::LinkToXAODTrackParticle::LinkToXAODTrackParticle
LinkToXAODTrackParticle(LinkToXAODTrackParticle &&)=default
Trk::LinkToXAODTrackParticle::operator=
LinkToXAODTrackParticle & operator=(const LinkToXAODTrackParticle &)=default
Trk::LinkToXAODTrackParticle::neutralParameters
virtual const NeutralParameters * neutralParameters() const override final
return the neutral parameters of the NeutralParticle)
Definition: LinkToXAODTrackParticle.h:53
Trk::LinkToXAODTrackParticle::LinkToXAODTrackParticle
LinkToXAODTrackParticle(const LinkToXAODTrackParticle &)=default
Trk::LinkToXAODTrackParticle::operator=
LinkToXAODTrackParticle & operator=(LinkToXAODTrackParticle &&)=default
Trk::LinkToXAODTrackParticle::clone
virtual LinkToXAODTrackParticle * clone() const override final
method to clone the LinkToXAODTrackParticle object
Definition: LinkToXAODTrackParticle.cxx:33
TrackParticleContainer.h