ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
Muon::IMuonTrackExtrapolationTool Class Referenceabstract

Interface class for tools extrapolating muon tracks to a location in the atlas detector. More...

#include <IMuonTrackExtrapolationTool.h>

Inheritance diagram for Muon::IMuonTrackExtrapolationTool:
Collaboration diagram for Muon::IMuonTrackExtrapolationTool:

Public Member Functions

virtual std::unique_ptr< Trk::Trackextrapolate (const Trk::Track &track, const EventContext &ctx) const =0
 extrapolates a muon track to a destination and returns a new track expressed at the destination. More...
 
virtual std::unique_ptr< TrackCollectionextrapolate (const TrackCollection &tracks, const EventContext &ctx) const =0
 extrapolates a muon track collection to a destination and returns a new track expressed at the destination. More...
 
virtual ~IMuonTrackExtrapolationTool ()=default
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Detailed Description

Interface class for tools extrapolating muon tracks to a location in the atlas detector.

The destination is defined in the concrete tool implementation.

Definition at line 16 of file IMuonTrackExtrapolationTool.h.

Constructor & Destructor Documentation

◆ ~IMuonTrackExtrapolationTool()

virtual Muon::IMuonTrackExtrapolationTool::~IMuonTrackExtrapolationTool ( )
virtualdefault

Member Function Documentation

◆ extrapolate() [1/2]

virtual std::unique_ptr<TrackCollection> Muon::IMuonTrackExtrapolationTool::extrapolate ( const TrackCollection tracks,
const EventContext &  ctx 
) const
pure virtual

extrapolates a muon track collection to a destination and returns a new track expressed at the destination.

Parameters
tracksinput track collection
Returns
a pointer to the extrapolated track collection, zero if extrapolation failed. The ownership of the collection is passed to the client calling the tool.

Implemented in Muon::MuonTrackExtrapolationTool, and ExtrapolateMuonToIPTool.

◆ extrapolate() [2/2]

virtual std::unique_ptr<Trk::Track> Muon::IMuonTrackExtrapolationTool::extrapolate ( const Trk::Track track,
const EventContext &  ctx 
) const
pure virtual

extrapolates a muon track to a destination and returns a new track expressed at the destination.

Parameters
trackinput track
Returns
a pointer to the extrapolated track, zero if extrapolation failed. The ownership of the track is passed to the client calling the tool.

Implemented in Muon::MuonTrackExtrapolationTool, and ExtrapolateMuonToIPTool.

◆ interfaceID()

static const InterfaceID& Muon::IMuonTrackExtrapolationTool::interfaceID ( )
inlinestatic

Definition at line 18 of file IMuonTrackExtrapolationTool.h.

18  {
19  static const InterfaceID IID_IMuonTrackExtrapolationTool("Muon::IMuonTrackExtrapolationTool", 1, 0);
20  return IID_IMuonTrackExtrapolationTool;
21  }

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