ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MuonIdentification
MuonCombinedTrackFindingTools
src
MuonLayerSegmentMatchingTool.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_MUONLAYERSEGMENTMATCHINGTOOL_H
6
#define MUON_MUONLAYERSEGMENTMATCHINGTOOL_H
7
8
#include <string>
9
#include <vector>
10
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
#include "GaudiKernel/ToolHandle.h"
13
#include "
MuonCombinedToolInterfaces/IMuonLayerSegmentMatchingTool.h
"
14
#include "
MuonLayerEvent/MuonSystemExtension.h
"
15
#include "
MuonRecHelperTools/MuonEDMPrinterTool.h
"
16
#include "
MuonSegmentMakerToolInterfaces/IMuonSegmentSelectionTool.h
"
17
#include "
MuonSegmentTaggerToolInterfaces/IMuTagMatchingTool.h
"
18
#include "
TrkExInterfaces/IExtrapolator.h
"
19
20
namespace
Muon
{
21
22
class
MuonSegment
;
23
24
class
MuonLayerSegmentMatchingTool
:
virtual
public
Muon::IMuonLayerSegmentMatchingTool
,
public
AthAlgTool
{
25
public
:
27
MuonLayerSegmentMatchingTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
28
virtual
~MuonLayerSegmentMatchingTool
() =
default
;
29
StatusCode
initialize
()
override
;
30
32
void
select
(
const
EventContext& ctx,
const
MuonSystemExtension::Intersection
&
intersection
,
33
const
std::vector<std::shared_ptr<const Muon::MuonSegment> >& segments,
34
std::vector<std::shared_ptr<const Muon::MuonSegment> >& selectedSegments)
const override
;
35
37
bool
match
(
const
EventContext& ctx,
const
MuonSystemExtension::Intersection
&
intersection
,
const
MuonSegment
& segment)
const override
;
38
private
:
39
40
42
PublicToolHandle<MuonEDMPrinterTool>
m_printer
{
this
,
"MuonEDMPrinterTool"
,
"Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"
};
43
44
ToolHandle<Trk::IExtrapolator>
m_extrapolator
{
this
,
"Extrapolator"
,
"Trk::Extrapolation/AtlasExtrapolator"
};
45
46
ToolHandle<IMuTagMatchingTool>
m_matchingTool
{
this
,
"MatchTool"
,
"MuTagMatchingTool/MuTagMatchingTool"
};
47
};
48
}
// namespace Muon
49
50
#endif
AthAlgTool.h
IExtrapolator.h
IMuTagMatchingTool.h
IMuonLayerSegmentMatchingTool.h
IMuonSegmentSelectionTool.h
MuonEDMPrinterTool.h
MuonSystemExtension.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Muon::IMuonLayerSegmentMatchingTool
Interface for tools calculating hit count summaries for track.
Definition
IMuonLayerSegmentMatchingTool.h:18
Muon::MuonLayerSegmentMatchingTool::m_extrapolator
ToolHandle< Trk::IExtrapolator > m_extrapolator
Definition
MuonLayerSegmentMatchingTool.h:44
Muon::MuonLayerSegmentMatchingTool::select
void select(const EventContext &ctx, const MuonSystemExtension::Intersection &intersection, const std::vector< std::shared_ptr< const Muon::MuonSegment > > &segments, std::vector< std::shared_ptr< const Muon::MuonSegment > > &selectedSegments) const override
IMuonLayerSegmentMatchingTool interface: select.
Definition
MuonLayerSegmentMatchingTool.cxx:82
Muon::MuonLayerSegmentMatchingTool::MuonLayerSegmentMatchingTool
MuonLayerSegmentMatchingTool(const std::string &type, const std::string &name, const IInterface *parent)
Default AlgTool functions.
Definition
MuonLayerSegmentMatchingTool.cxx:13
Muon::MuonLayerSegmentMatchingTool::initialize
StatusCode initialize() override
Definition
MuonLayerSegmentMatchingTool.cxx:18
Muon::MuonLayerSegmentMatchingTool::~MuonLayerSegmentMatchingTool
virtual ~MuonLayerSegmentMatchingTool()=default
Muon::MuonLayerSegmentMatchingTool::m_matchingTool
ToolHandle< IMuTagMatchingTool > m_matchingTool
Definition
MuonLayerSegmentMatchingTool.h:46
Muon::MuonLayerSegmentMatchingTool::m_printer
PublicToolHandle< MuonEDMPrinterTool > m_printer
Helper tool for debugging purposes.
Definition
MuonLayerSegmentMatchingTool.h:42
Muon::MuonLayerSegmentMatchingTool::match
bool match(const EventContext &ctx, const MuonSystemExtension::Intersection &intersection, const MuonSegment &segment) const override
match segment to intersection
Definition
MuonLayerSegmentMatchingTool.cxx:25
Muon::MuonSegment
This is the common class for 3D segments used in the muon spectrometer.
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
intersection
std::vector< std::string > intersection(std::vector< std::string > &v1, std::vector< std::string > &v2)
Definition
compareFlatTrees.cxx:25
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
type
Muon::MuonSystemExtension::Intersection
data per intersection
Definition
MuonSystemExtension.h:21
Generated on
for ATLAS Offline Software by
1.17.0