ATLAS Offline Software
IMuonTrackToSegmentAssociationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef IRECIMuonTrackToSegmentAssociationTool_H
6 #define IRECIMuonTrackToSegmentAssociationTool_H
7 
8 #include "GaudiKernel/IAlgTool.h"
11 #include "TrkTrack/Track.h"
12 
13 namespace MuonCombined {
14 
19  class IMuonTrackToSegmentAssociationTool : virtual public IAlgTool {
20  public:
22  static const InterfaceID& interfaceID() {
23  static const InterfaceID IID_IMuonTrackToSegmentAssociationTool("MuonCombined::IMuonTrackToSegmentAssociationTool", 1, 0);
24  return IID_IMuonTrackToSegmentAssociationTool;
25  }
26 
28  virtual bool associatedSegments(const Trk::Track& track, const Trk::SegmentCollection* segments,
29  std::vector<const Muon::MuonSegment*>& assocSegmentVec) const = 0;
30  };
31 
32 } // namespace MuonCombined
33 
34 #endif
MuonCombined::IMuonTrackToSegmentAssociationTool::interfaceID
static const InterfaceID & interfaceID()
Definition: IMuonTrackToSegmentAssociationTool.h:22
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Track.h
DataVector< Trk::Segment >
MuonCombined::IMuonTrackToSegmentAssociationTool::associatedSegments
virtual bool associatedSegments(const Trk::Track &track, const Trk::SegmentCollection *segments, std::vector< const Muon::MuonSegment * > &assocSegmentVec) const =0
IMuonSegmentTagTool interface: build muons from ID and MuonSegments.
MuonCombined
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...
Definition: IMuonSystemExtensionTool.h:23
MuonCombined::IMuonTrackToSegmentAssociationTool::~IMuonTrackToSegmentAssociationTool
virtual ~IMuonTrackToSegmentAssociationTool()=default
MuonSegment.h
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
MuonCombined::IMuonTrackToSegmentAssociationTool
Interface to associate the Muon segments to the muon track.
Definition: IMuonTrackToSegmentAssociationTool.h:19
SegmentCollection.h