ATLAS Offline Software
IMuonSegmentMatchingTool.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 MUON_IMUONSEGMENTMATCHINGTOOL_H
6 #define MUON_IMUONSEGMENTMATCHINGTOOL_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 
10 namespace Trk {
11  class MeasurementBase;
12 }
13 
14 namespace MuonGM {
15  class MdtReadoutElement;
16 }
17 
18 namespace Muon {
19 
20  class MuonSegment;
21 
26  class IMuonSegmentMatchingTool : virtual public IAlgTool {
27  public:
29  static const InterfaceID& interfaceID() {
30  static const InterfaceID IID_IMuonSegmentMatchingTool("Muon::IMuonSegmentMatchingTool", 1, 0);
31 
32  return IID_IMuonSegmentMatchingTool;
33  }
34 
36  virtual bool match(const EventContext& ctx, const MuonSegment& seg1, const MuonSegment& seg2) const = 0;
37 
38  virtual ~IMuonSegmentMatchingTool() = default;
39  };
40 
41 } // namespace Muon
42 
43 #endif
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
Muon::IMuonSegmentMatchingTool::~IMuonSegmentMatchingTool
virtual ~IMuonSegmentMatchingTool()=default
Muon::IMuonSegmentMatchingTool::interfaceID
static const InterfaceID & interfaceID()
access to tool interface
Definition: IMuonSegmentMatchingTool.h:29
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::IMuonSegmentMatchingTool::match
virtual bool match(const EventContext &ctx, const MuonSegment &seg1, const MuonSegment &seg2) const =0
match two segments
Muon::IMuonSegmentMatchingTool
tool to match segments
Definition: IMuonSegmentMatchingTool.h:26
Muon::MuonSegment
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45