ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MuonIdentification
MuonCombinedEvent
MuonCombinedEvent
Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONCOMBINEDEVENT_MUONCANDIDATE_H
6
#define MUONCOMBINEDEVENT_MUONCANDIDATE_H
7
8
#include <memory>
9
#include <vector>
10
11
#include "AthLinks/ElementLink.h"
12
#include "
xAODMuon/MuonSegmentContainer.h
"
13
#include "
xAODTracking/TrackParticle.h
"
14
#include "
xAODTracking/TrackParticleContainer.h
"
15
16
namespace
Trk
{
17
class
Track
;
18
}
19
namespace
Muon
{
20
class
MuonSegment
;
21
}
22
23
namespace
MuonCombined
{
24
25
class
MuonCandidate
{
26
public
:
31
MuonCandidate
(
const
ElementLink<xAOD::TrackParticleContainer>
& msTrackLink);
32
33
/*Constructor taking two ElementLinks, and the index location of the extrapolated track in the container*/
34
MuonCandidate
(
const
ElementLink<xAOD::TrackParticleContainer>
& msTrackLink,
const
ElementLink<TrackCollection>
& saTrackLink,
35
size_t
container_idx);
36
37
/* Update constructor to insert the element link to the extrapolated MSOE xAOD TrackParticle */
38
MuonCandidate
(
const
MuonCandidate
& oldCandidate,
const
ElementLink<xAOD::TrackParticleContainer>
& msoeTrackLink);
39
41
~MuonCandidate
();
42
44
const
Trk::Track
&
muonSpectrometerTrack
()
const
;
45
47
const
ElementLink<xAOD::TrackParticleContainer>
&
muonSpectrometerTrackLink
()
const
;
48
50
const
Trk::Track
*
extrapolatedTrack
()
const
;
51
53
const
Trk::Track
*
primaryTrack
()
const
;
54
56
const
ElementLink<TrackCollection>
&
extrapolatedTrackLink
()
const
;
58
size_t
extrapolatedElementID
()
const
;
60
const
ElementLink<xAOD::TrackParticleContainer>
&
extrapolatedParticleLink
()
const
;
61
63
std::string
toString
()
const
;
64
66
void
setSegments
(std::vector<const Muon::MuonSegment*>&& segments);
68
const
std::vector<const Muon::MuonSegment*>&
getSegments
()
const
;
69
70
private
:
72
const
ElementLink<xAOD::TrackParticleContainer>
m_muonSpectrometerTrackLink
{};
74
const
ElementLink<xAOD::TrackParticleContainer>
m_extrapolatedParticleLink
{};
76
const
ElementLink<TrackCollection>
m_extrapolatedTrackLink
{};
77
79
const
Trk::Track
*
m_muonSpectrometerTrack
{
nullptr
};
80
82
std::vector<const Muon::MuonSegment*>
m_assoc_segments
;
83
85
size_t
m_extContIdx
{0};
86
};
87
88
}
// namespace MuonCombined
89
90
#endif
TrackParticleContainer.h
TrackParticle.h
MuonSegmentContainer.h
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
MuonCombined::MuonCandidate::m_extContIdx
size_t m_extContIdx
Index of the MSOE track in the output container.
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h:85
MuonCombined::MuonCandidate::setSegments
void setSegments(std::vector< const Muon::MuonSegment * > &&segments)
set the vector of associated segments to the candidate
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:60
MuonCombined::MuonCandidate::m_extrapolatedTrackLink
const ElementLink< TrackCollection > m_extrapolatedTrackLink
element link to extrapolated track
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h:76
MuonCombined::MuonCandidate::m_extrapolatedParticleLink
const ElementLink< xAOD::TrackParticleContainer > m_extrapolatedParticleLink
element link to the extrapolated muon track particle
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h:74
MuonCombined::MuonCandidate::m_assoc_segments
std::vector< const Muon::MuonSegment * > m_assoc_segments
Segments associated with the candidate.
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h:82
MuonCombined::MuonCandidate::m_muonSpectrometerTrackLink
const ElementLink< xAOD::TrackParticleContainer > m_muonSpectrometerTrackLink
element link to spectrometer track
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h:72
MuonCombined::MuonCandidate::muonSpectrometerTrack
const Trk::Track & muonSpectrometerTrack() const
access spectrometer track, always there
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:44
MuonCombined::MuonCandidate::~MuonCandidate
~MuonCandidate()
destructor
MuonCombined::MuonCandidate::primaryTrack
const Trk::Track * primaryTrack() const
Returns the extrapolated track otherwise the muonSpectrometer.
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:52
MuonCombined::MuonCandidate::toString
std::string toString() const
print candidate to string
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:32
MuonCombined::MuonCandidate::MuonCandidate
MuonCandidate(const ElementLink< xAOD::TrackParticleContainer > &msTrackLink)
constructor taking an ElementLink to a xAOD::TrackParicle& Users should ensure that the element link ...
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:13
MuonCombined::MuonCandidate::extrapolatedTrackLink
const ElementLink< TrackCollection > & extrapolatedTrackLink() const
access extrapolated track element link
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:57
MuonCombined::MuonCandidate::getSegments
const std::vector< const Muon::MuonSegment * > & getSegments() const
returns the vector of associated muon segments
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:61
MuonCombined::MuonCandidate::muonSpectrometerTrackLink
const ElementLink< xAOD::TrackParticleContainer > & muonSpectrometerTrackLink() const
access spectrometer track, always there
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:46
MuonCombined::MuonCandidate::extrapolatedParticleLink
const ElementLink< xAOD::TrackParticleContainer > & extrapolatedParticleLink() const
access extrapolated track particle element link
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:62
MuonCombined::MuonCandidate::m_muonSpectrometerTrack
const Trk::Track * m_muonSpectrometerTrack
pointer to spectrometer track, not owned
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h:79
MuonCombined::MuonCandidate::extrapolatedTrack
const Trk::Track * extrapolatedTrack() const
access extrapolated track, can be zero if back extrapolation failed
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx:49
MuonCombined::MuonCandidate::extrapolatedElementID
size_t extrapolatedElementID() const
returns the index of the container where the extrapolated track is located
Definition
Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.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
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
MuonCombined
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...
Definition
IMuonSystemExtensionTool.h:23
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0