ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace Muon {
17
18class MuonSegment;
24 public:
26 MuonSegmentPairMatchingTool(const std::string&, const std::string&, const IInterface*);
27
30
32 StatusCode initialize();
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Helper tool to print EDM objects to string in a fix format.
std::pair< Amg::Vector3D, Amg::Vector3D > getShortestTubePos(const Muon::MuonSegment &seg) const
MuonSegmentPairMatchingTool(const std::string &, const std::string &, const IInterface *)
constructor
PublicToolHandle< MuonEDMPrinterTool > m_printer
EDM printer tool.
ServiceHandle< IMuonEDMHelperSvc > m_edmHelperSvc
EDM Helper tool.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SegmentMatchResult matchResult(const MuonSegment &seg1, const MuonSegment &seg2) const
performance match and return result
This is the common class for 3D segments used in the muon spectrometer.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.