ATLAS Offline Software
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 
12 namespace Trk {
13 
15  : public ITrackLink
16  , public ElementLink<TrackParticleBaseCollection>
17 {
18 
19 public:
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 {
40  return ToTrackParticleBase;
41  }
42 }; // end of class definitions
43 } // end of namespace definitions
44 
45 #endif // LINKTOTRACKPARTICLEBASE_H
TrackParticleBaseCollection.h
Trk::LinkToTrackParticleBase::LinkToTrackParticleBase
LinkToTrackParticleBase()
default constructor (needed for persistency)
Definition: LinkToTrackParticleBase.cxx:10
Trk::LinkToTrackParticleBase::neutralParameters
virtual const NeutralParameters * neutralParameters() const override final
return the neutral parameters of the NeutralParticle)
Definition: LinkToTrackParticleBase.h:34
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Trk::LinkToTrackParticleBase::clone
virtual LinkToTrackParticleBase * clone() const override final
method to clone the LinkToTrack object
Definition: LinkToTrackParticleBase.cxx:33
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk::LinkToTrackParticleBase
Definition: LinkToTrackParticleBase.h:17
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::LinkToTrackParticleBase::type
virtual ITrackLinkType type() const override final
return the type
Definition: LinkToTrackParticleBase.h:39
Trk::LinkToTrackParticleBase::parameters
virtual const TrackParameters * parameters() const override final
return the track parameters of the track (to which the EL< TrackParticleBaseCollection > points)
Definition: LinkToTrackParticleBase.cxx:20
Trk::LinkToTrackParticleBase::~LinkToTrackParticleBase
virtual ~LinkToTrackParticleBase()=default
default destructor