ATLAS Offline Software
IMuonTrackExtrapolationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef IMUONTRACKEXTRAPOLATIONTOOL_H
6 #define IMUONTRACKEXTRAPOLATIONTOOL_H
7 
8 #include "GaudiKernel/IAlgTool.h"
10 
11 namespace Muon {
12 
16  class IMuonTrackExtrapolationTool : virtual public IAlgTool {
17  public:
18  static const InterfaceID& interfaceID() {
19  static const InterfaceID IID_IMuonTrackExtrapolationTool("Muon::IMuonTrackExtrapolationTool", 1, 0);
20  return IID_IMuonTrackExtrapolationTool;
21  }
22 
28  virtual std::unique_ptr<Trk::Track> extrapolate(const Trk::Track& track, const EventContext& ctx) const = 0;
29 
35  virtual std::unique_ptr<TrackCollection> extrapolate(const TrackCollection& tracks, const EventContext& ctx) const = 0;
36 
37  virtual ~IMuonTrackExtrapolationTool() = default;
38  };
39 
40 } // namespace Muon
41 
42 #endif // IMuonTrackExtrapolationTool_H
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Muon::IMuonTrackExtrapolationTool
Interface class for tools extrapolating muon tracks to a location in the atlas detector.
Definition: IMuonTrackExtrapolationTool.h:16
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::IMuonTrackExtrapolationTool::extrapolate
virtual std::unique_ptr< TrackCollection > extrapolate(const TrackCollection &tracks, const EventContext &ctx) const =0
extrapolates a muon track collection to a destination and returns a new track expressed at the destin...
TrackCollection.h
DataVector< Trk::Track >
Muon::IMuonTrackExtrapolationTool::~IMuonTrackExtrapolationTool
virtual ~IMuonTrackExtrapolationTool()=default
Muon::IMuonTrackExtrapolationTool::extrapolate
virtual std::unique_ptr< Trk::Track > extrapolate(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.
Muon::IMuonTrackExtrapolationTool::interfaceID
static const InterfaceID & interfaceID()
Definition: IMuonTrackExtrapolationTool.h:18
xAOD::track
@ track
Definition: TrackingPrimitives.h:512