ATLAS Offline Software
IMuonTrackToSegmentTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUON_IMUONTRACKTOSEGMENTTOO_H
6 #define MUON_IMUONTRACKTOSEGMENTTOO_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 
10 static const InterfaceID IID_IMuonTrackToSegmentTool("Muon::IMuonTrackToSegmentTool", 1, 0);
11 
12 namespace Trk {
13  class Track;
14 }
15 
16 namespace Muon {
17  class MuonSegment;
18 }
19 
20 namespace Muon {
21 
23  class IMuonTrackToSegmentTool : virtual public IAlgTool {
24  public:
26  static const InterfaceID& interfaceID();
27 
29  virtual MuonSegment* convert(const EventContext& ctx, const Trk::Track& track) const = 0;
30  };
31 
32  inline const InterfaceID& IMuonTrackToSegmentTool::interfaceID() { return IID_IMuonTrackToSegmentTool; }
33 
34 } // namespace Muon
35 
36 #endif
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
xAOD::MuonSegment
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Definition: Event/xAOD/xAODMuon/xAODMuon/MuonSegment.h:13
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Muon::IMuonTrackToSegmentTool::convert
virtual MuonSegment * convert(const EventContext &ctx, const Trk::Track &track) const =0
convert track to segment
Muon::IMuonTrackToSegmentTool::interfaceID
static const InterfaceID & interfaceID()
access to tool interface
Definition: IMuonTrackToSegmentTool.h:32
Muon::IMuonTrackToSegmentTool
The IMuonSegmentMaker is a pure virtual interface for tools to find tracks starting from MuonSegmentC...
Definition: IMuonTrackToSegmentTool.h:23
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
Muon::MuonSegment
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45