ATLAS Offline Software
Public Types | Public Member Functions | List of all members
Trk::ITrackLink Class Referenceabstract

#include <ITrackLink.h>

Inheritance diagram for Trk::ITrackLink:
Collaboration diagram for Trk::ITrackLink:

Public Types

enum  ITrackLinkType { ToxAODTrackParticle = 0, ToxAODNeutralParticle = 1, ToTrack = 2, ToTrackParticleBase = 3 }
 

Public Member Functions

 ITrackLink ()=default
 
 ITrackLink (const ITrackLink &)=default
 
 ITrackLink (ITrackLink &&)=default
 
ITrackLinkoperator= (const ITrackLink &)=default
 
ITrackLinkoperator= (ITrackLink &&)=default
 
virtual ~ITrackLink ()=default
 
virtual ITrackLinkclone () const =0
 clone methods for copy constructors More...
 
virtual const TrackParametersparameters () const =0
 return the track parameters of the track or TrackParticleBase) More...
 
virtual const NeutralParametersneutralParameters () const =0
 return the neutral parameters of the NeutralParticle) More...
 
virtual ITrackLinkType type () const =0
 return the type More...
 

Detailed Description

An abstract class which is meant to represent an element link to the Trk::Track or Trk::TrackParticleBase

The use of abstract class is required to break the TrackParticleBase<-->VxVertex circular dependence.

Kirill Prokofiev, June 2007

Definition at line 25 of file ITrackLink.h.

Member Enumeration Documentation

◆ ITrackLinkType

Enumerator
ToxAODTrackParticle 
ToxAODNeutralParticle 
ToTrack 
ToTrackParticleBase 

Definition at line 29 of file ITrackLink.h.

30  {
33  ToTrack = 2,
35  };

Constructor & Destructor Documentation

◆ ITrackLink() [1/3]

Trk::ITrackLink::ITrackLink ( )
default

◆ ITrackLink() [2/3]

Trk::ITrackLink::ITrackLink ( const ITrackLink )
default

◆ ITrackLink() [3/3]

Trk::ITrackLink::ITrackLink ( ITrackLink &&  )
default

◆ ~ITrackLink()

virtual Trk::ITrackLink::~ITrackLink ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual ITrackLink* Trk::ITrackLink::clone ( ) const
pure virtual

◆ neutralParameters()

virtual const NeutralParameters* Trk::ITrackLink::neutralParameters ( ) const
pure virtual

return the neutral parameters of the NeutralParticle)

Implemented in Trk::LinkToXAODTrackParticle, Trk::LinkToXAODNeutralParticle, Trk::LinkToTrack, and Trk::LinkToTrackParticleBase.

◆ operator=() [1/2]

ITrackLink& Trk::ITrackLink::operator= ( const ITrackLink )
default

◆ operator=() [2/2]

ITrackLink& Trk::ITrackLink::operator= ( ITrackLink &&  )
default

◆ parameters()

virtual const TrackParameters* Trk::ITrackLink::parameters ( ) const
pure virtual

◆ type()

virtual ITrackLinkType Trk::ITrackLink::type ( ) const
pure virtual

The documentation for this class was generated from the following file: