ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace 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
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
Interface class for tools extrapolating muon tracks to a location in the atlas detector.
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...
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.
virtual ~IMuonTrackExtrapolationTool()=default
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.