ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::ITrackLink Class Referenceabstract

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

#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
virtual const TrackParametersparameters () const =0
 return the track parameters of the track or TrackParticleBase)
virtual const NeutralParametersneutralParameters () const =0
 return the neutral parameters of the NeutralParticle)
virtual ITrackLinkType type () const =0
 return the type

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.

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::LinkToTrack, Trk::LinkToTrackParticleBase, Trk::LinkToXAODNeutralParticle, and Trk::LinkToXAODTrackParticle.

◆ 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: