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

The IMuonTrackFinder is a pure virtual interface for tools to find track in the muon system starting from a vector of segments. More...

#include <IMuonTrackFinder.h>

Inheritance diagram for Muon::IMuonTrackFinder:
Collaboration diagram for Muon::IMuonTrackFinder:

Public Member Functions

virtual std::unique_ptr< TrackCollectionfind (const EventContext &ctx, const std::vector< const MuonSegment * > &segments) const =0
 interface for tools to find track in the muon system starting from a vector of segments More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 access to tool interface More...
 

Detailed Description

The IMuonTrackFinder is a pure virtual interface for tools to find track in the muon system starting from a vector of segments.

The following interface is available.

std::vector<const Trk::Track*>* find( const std::vector<const MuonSegment*>& segments );

Definition at line 27 of file IMuonTrackFinder.h.

Member Function Documentation

◆ find()

virtual std::unique_ptr<TrackCollection> Muon::IMuonTrackFinder::find ( const EventContext &  ctx,
const std::vector< const MuonSegment * > &  segments 
) const
pure virtual

interface for tools to find track in the muon system starting from a vector of segments

Parameters
segmentsa vector of input segments
Returns
a pointer to a vector of Trk::Track objects, zero if no tracks are found. The ownership of the tracks is passed to the client calling the tool.

◆ interfaceID()

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

access to tool interface

Definition at line 30 of file IMuonTrackFinder.h.

30  {
31  static const InterfaceID IID_IMuonTrackFinder("Muon::IMuonTrackFinder", 1, 0);
32  return IID_IMuonTrackFinder;
33  }

The documentation for this class was generated from the following file:
Muon::IMuonTrackFinder::find
virtual std::unique_ptr< TrackCollection > find(const EventContext &ctx, const std::vector< const MuonSegment * > &segments) const =0
interface for tools to find track in the muon system starting from a vector of segments