ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonSegmentMakers
MuonSegmentMakerTools
MuonSegmentMatchingTools
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
12
#include "
MuonRecHelperTools/IMuonEDMHelperSvc.h
"
13
#include "
MuonSegmentMakerToolInterfaces/IMuonSegmentPairMatchingTool.h
"
14
#include "
TrkTrack/TrackCollection.h
"
15
16
namespace
Muon
{
17
18
class
MuonSegment
;
19
class
MuonEDMPrinterTool
;
23
class
MuonSegmentPairMatchingTool
:
virtual
public
IMuonSegmentPairMatchingTool
,
public
AthAlgTool
{
24
public
:
26
MuonSegmentPairMatchingTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
27
29
virtual
~MuonSegmentPairMatchingTool
(){};
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
:
39
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
40
this
,
41
"MuonIdHelperSvc"
,
42
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
,
43
};
44
ServiceHandle<IMuonEDMHelperSvc>
m_edmHelperSvc
{
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.h
IMuonEDMHelperSvc.h
IMuonIdHelperSvc.h
IMuonSegmentPairMatchingTool.h
TrackCollection.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Muon::IMuonSegmentPairMatchingTool
tool to match segments
Definition
IMuonSegmentPairMatchingTool.h:19
Muon::MuonEDMPrinterTool
Helper tool to print EDM objects to string in a fix format.
Definition
MuonEDMPrinterTool.h:43
Muon::MuonSegmentPairMatchingTool::getShortestTubePos
std::pair< Amg::Vector3D, Amg::Vector3D > getShortestTubePos(const Muon::MuonSegment &seg) const
Definition
MuonSegmentPairMatchingTool.cxx:299
Muon::MuonSegmentPairMatchingTool::MuonSegmentPairMatchingTool
MuonSegmentPairMatchingTool(const std::string &, const std::string &, const IInterface *)
constructor
Definition
MuonSegmentPairMatchingTool.cxx:38
Muon::MuonSegmentPairMatchingTool::~MuonSegmentPairMatchingTool
virtual ~MuonSegmentPairMatchingTool()
destructor
Definition
MuonSegmentPairMatchingTool.h:29
Muon::MuonSegmentPairMatchingTool::m_printer
PublicToolHandle< MuonEDMPrinterTool > m_printer
EDM printer tool.
Definition
MuonSegmentPairMatchingTool.h:51
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
Muon::MuonSegmentPairMatchingTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MuonSegmentPairMatchingTool.h:39
Muon::MuonSegmentPairMatchingTool::matchResult
SegmentMatchResult matchResult(const MuonSegment &seg1, const MuonSegment &seg2) const
performance match and return result
Definition
MuonSegmentPairMatchingTool.cxx:58
Muon::MuonSegment
This is the common class for 3D segments used in the muon spectrometer.
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
ServiceHandle
Definition
ClusterMakerTool.h:36
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Generated on
for ATLAS Offline Software by
1.17.0