ATLAS Offline Software
Reconstruction
MuonIdentification
MuonCombinedEvent
src
SegmentTag.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonCombinedEvent/SegmentTag.h
"
6
7
namespace
MuonCombined
{
8
9
SegmentTag::SegmentTag
(
const
std::vector<MuonCombined::MuonSegmentInfo>& segmentsInfo) :
10
TagBase
(
TagBase
::
Author
::
MuTagIMO
,
TagBase
::
Type
::SegmentTagged), m_segmentsInfo(segmentsInfo) {}
11
12
SegmentTag::~SegmentTag
() =
default
;
13
std::vector<const Muon::MuonSegment*>
SegmentTag::associatedSegments
()
const
{
14
std::vector<const Muon::MuonSegment*> segments;
15
for
(
const
auto
&
info
:
m_segmentsInfo
) {
16
if
(
info
.segment) segments.push_back(
info
.segment);
17
}
18
return
segments;
19
}
20
const
std::vector<MuonCombined::MuonSegmentInfo>&
SegmentTag::segmentsInfo
()
const
{
return
m_segmentsInfo
; }
21
22
}
// namespace MuonCombined
grepfile.info
info
Definition:
grepfile.py:38
MuonCombined::TagBase::Author
xAOD::Muon::Author Author
Definition:
TagBase.h:52
MuonParameters::MuTagIMO
@ MuTagIMO
Definition:
MuonParamDefs.h:66
MuonCombined::SegmentTag::associatedSegments
std::vector< const Muon::MuonSegment * > associatedSegments() const override
access to associated segments, empty vector if non available
Definition:
SegmentTag.cxx:13
xAODType
Definition:
ObjectType.h:13
MuonCombined::SegmentTag::SegmentTag
SegmentTag(const std::vector< MuonCombined::MuonSegmentInfo > &segmentsInfo)
Constructor taking a match chi2 as input.
Definition:
SegmentTag.cxx:9
SegmentTag.h
MuonCombined::SegmentTag::segmentsInfo
const std::vector< MuonSegmentInfo > & segmentsInfo() const
access
Definition:
SegmentTag.cxx:20
MuonCombined::SegmentTag::~SegmentTag
~SegmentTag()
destructor
MuonCombined
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...
Definition:
IMuonSystemExtensionTool.h:23
MuonCombined::SegmentTag::m_segmentsInfo
std::vector< MuonCombined::MuonSegmentInfo > m_segmentsInfo
data content
Definition:
SegmentTag.h:42
MuonCombined::TagBase
base-class for combined reconstruction output Provides access to MuonType and Author
Definition:
TagBase.h:48
Generated on Tue Jul 2 2024 21:26:30 for ATLAS Offline Software by
1.8.18