ATLAS Offline Software
MuonSegmentPairMatchingTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUON_MUONSEGMENTPAIRMATCHINGTOOL_H
6 #define MUON_MUONSEGMENTPAIRMATCHINGTOOL_H
7 
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/ToolHandle.h"
15 
16 namespace Muon {
17 
18 class MuonSegment;
19 class MuonEDMPrinterTool;
24  public:
26  MuonSegmentPairMatchingTool(const std::string&, const std::string&, const IInterface*);
27 
30 
33 
35  SegmentMatchResult matchResult(const MuonSegment& seg1, const MuonSegment& seg2) const;
36  std::pair<Amg::Vector3D, Amg::Vector3D> getShortestTubePos(const Muon::MuonSegment& seg) const;
37 
38  private:
40  this,
41  "MuonIdHelperSvc",
42  "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
43  };
45  this,
46  "edmHelper",
47  "Muon::MuonEDMHelperSvc/MuonEDMHelperSvc",
48  "Handle to the service providing the IMuonEDMHelperSvc interface",
49  };
50 
51  PublicToolHandle<MuonEDMPrinterTool> m_printer{
52  this,
53  "Printer",
54  "Muon::MuonEDMPrinterTool/MuonEDMPrinterTool",
55  };
56 };
57 
58 } // namespace Muon
59 
60 #endif
Muon::MuonSegmentPairMatchingTool::m_printer
PublicToolHandle< MuonEDMPrinterTool > m_printer
EDM printer tool.
Definition: MuonSegmentPairMatchingTool.h:51
Muon::MuonSegmentPairMatchingTool::matchResult
SegmentMatchResult matchResult(const MuonSegment &seg1, const MuonSegment &seg2) const
performance match and return result
Definition: MuonSegmentPairMatchingTool.cxx:58
Muon::MuonSegmentPairMatchingTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonSegmentPairMatchingTool.h:39
Muon::IMuonSegmentPairMatchingTool
tool to match segments
Definition: IMuonSegmentPairMatchingTool.h:19
Muon::MuonSegmentPairMatchingTool::getShortestTubePos
std::pair< Amg::Vector3D, Amg::Vector3D > getShortestTubePos(const Muon::MuonSegment &seg) const
Definition: MuonSegmentPairMatchingTool.cxx:299
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::MuonSegmentPairMatchingTool
tool to match segments
Definition: MuonSegmentPairMatchingTool.h:23
xAOD::MuonSegment
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Definition: Event/xAOD/xAODMuon/xAODMuon/MuonSegment.h:13
Muon::MuonSegmentPairMatchingTool::~MuonSegmentPairMatchingTool
virtual ~MuonSegmentPairMatchingTool()
destructor
Definition: MuonSegmentPairMatchingTool.h:29
Muon::MuonSegmentPairMatchingTool::m_edmHelperSvc
ServiceHandle< IMuonEDMHelperSvc > m_edmHelperSvc
EDM Helper tool.
Definition: MuonSegmentPairMatchingTool.h:44
Muon::MuonSegmentPairMatchingTool::initialize
StatusCode initialize()
AlgTool initilize.
Definition: MuonSegmentPairMatchingTool.cxx:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
TrackCollection.h
IMuonEDMHelperSvc.h
IMuonSegmentPairMatchingTool.h
Muon::MuonSegment
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
AthAlgTool
Definition: AthAlgTool.h:26
Muon::MuonSegmentPairMatchingTool::MuonSegmentPairMatchingTool
MuonSegmentPairMatchingTool(const std::string &, const std::string &, const IInterface *)
constructor
Definition: MuonSegmentPairMatchingTool.cxx:38
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >