ATLAS Offline Software
|
#include <MuonCandidate.h>
Public Member Functions | |
MuonCandidate (const ElementLink< xAOD::TrackParticleContainer > &msTrackLink) | |
constructor taking an ElementLink to a xAOD::TrackParicle& Users should ensure that the element link is valid and the lifetime of the Track object is longer that the MuonCandidate as it internally caches a pointer to it. More... | |
MuonCandidate (const ElementLink< xAOD::TrackParticleContainer > &msTrackLink, const ElementLink< TrackCollection > &saTrackLink, size_t container_idx) | |
MuonCandidate (const MuonCandidate &oldCandidate, const ElementLink< xAOD::TrackParticleContainer > &msoeTrackLink) | |
~MuonCandidate () | |
destructor More... | |
const Trk::Track & | muonSpectrometerTrack () const |
access spectrometer track, always there More... | |
const ElementLink< xAOD::TrackParticleContainer > & | muonSpectrometerTrackLink () const |
access spectrometer track, always there More... | |
const Trk::Track * | extrapolatedTrack () const |
access extrapolated track, can be zero if back extrapolation failed More... | |
const Trk::Track * | primaryTrack () const |
Returns the extrapolated track otherwise the muonSpectrometer. More... | |
const ElementLink< TrackCollection > & | extrapolatedTrackLink () const |
access extrapolated track element link More... | |
size_t | extrapolatedElementID () const |
returns the index of the container where the extrapolated track is located More... | |
const ElementLink< xAOD::TrackParticleContainer > & | extrapolatedParticleLink () const |
access extrapolated track particle element link More... | |
std::string | toString () const |
print candidate to string More... | |
void | setCommissioning (bool b) |
Sets ths comissioning flag. More... | |
bool | isCommissioning () const |
Returns whether the muon belongs to the comissioning chain. More... | |
void | setSegments (std::vector< const Muon::MuonSegment * > &&segments) |
set the vector of associated segments to the candidate More... | |
const std::vector< const Muon::MuonSegment * > & | getSegments () const |
returns the vector of associated muon segments More... | |
Private Attributes | |
const ElementLink< xAOD::TrackParticleContainer > | m_muonSpectrometerTrackLink {} |
element link to spectrometer track More... | |
const ElementLink< xAOD::TrackParticleContainer > | m_extrapolatedParticleLink {} |
element link to the extrapolated muon track particle More... | |
const ElementLink< TrackCollection > | m_extrapolatedTrackLink {} |
element link to extrapolated track More... | |
const Trk::Track * | m_muonSpectrometerTrack {nullptr} |
pointer to spectrometer track, not owned More... | |
bool | m_isCommissioning {false} |
flag whether the track belongs to the comissioning stream More... | |
std::vector< const Muon::MuonSegment * > | m_assoc_segments |
Segments associated with the candidate. More... | |
size_t | m_extContIdx {0} |
Index of the MSOE track in the output container. More... | |
Definition at line 25 of file Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h.
MuonCombined::MuonCandidate::MuonCandidate | ( | const ElementLink< xAOD::TrackParticleContainer > & | msTrackLink | ) |
constructor taking an ElementLink to a xAOD::TrackParicle& Users should ensure that the element link is valid and the lifetime of the Track object is longer that the MuonCandidate as it internally caches a pointer to it.
Definition at line 13 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
MuonCombined::MuonCandidate::MuonCandidate | ( | const ElementLink< xAOD::TrackParticleContainer > & | msTrackLink, |
const ElementLink< TrackCollection > & | saTrackLink, | ||
size_t | container_idx | ||
) |
Definition at line 15 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
MuonCombined::MuonCandidate::MuonCandidate | ( | const MuonCandidate & | oldCandidate, |
const ElementLink< xAOD::TrackParticleContainer > & | msoeTrackLink | ||
) |
Definition at line 22 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
|
default |
destructor
size_t MuonCombined::MuonCandidate::extrapolatedElementID | ( | ) | const |
returns the index of the container where the extrapolated track is located
Definition at line 59 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
const ElementLink< xAOD::TrackParticleContainer > & MuonCombined::MuonCandidate::extrapolatedParticleLink | ( | ) | const |
access extrapolated track particle element link
Definition at line 65 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
const Trk::Track * MuonCombined::MuonCandidate::extrapolatedTrack | ( | ) | const |
access extrapolated track, can be zero if back extrapolation failed
Definition at line 50 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
const ElementLink< TrackCollection > & MuonCombined::MuonCandidate::extrapolatedTrackLink | ( | ) | const |
access extrapolated track element link
Definition at line 58 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
const std::vector< const Muon::MuonSegment * > & MuonCombined::MuonCandidate::getSegments | ( | ) | const |
returns the vector of associated muon segments
Definition at line 64 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
bool MuonCombined::MuonCandidate::isCommissioning | ( | ) | const |
Returns whether the muon belongs to the comissioning chain.
Definition at line 61 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
const Trk::Track & MuonCombined::MuonCandidate::muonSpectrometerTrack | ( | ) | const |
access spectrometer track, always there
Definition at line 45 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
const ElementLink< xAOD::TrackParticleContainer > & MuonCombined::MuonCandidate::muonSpectrometerTrackLink | ( | ) | const |
access spectrometer track, always there
Definition at line 47 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
const Trk::Track * MuonCombined::MuonCandidate::primaryTrack | ( | ) | const |
Returns the extrapolated track otherwise the muonSpectrometer.
Definition at line 53 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
void MuonCombined::MuonCandidate::setCommissioning | ( | bool | b | ) |
Sets ths comissioning flag.
Definition at line 60 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
void MuonCombined::MuonCandidate::setSegments | ( | std::vector< const Muon::MuonSegment * > && | segments | ) |
set the vector of associated segments to the candidate
Definition at line 63 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
std::string MuonCombined::MuonCandidate::toString | ( | ) | const |
print candidate to string
Definition at line 33 of file Reconstruction/MuonIdentification/MuonCombinedEvent/src/MuonCandidate.cxx.
|
private |
Segments associated with the candidate.
Definition at line 90 of file Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h.
|
private |
Index of the MSOE track in the output container.
Definition at line 93 of file Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h.
|
private |
element link to the extrapolated muon track particle
Definition at line 79 of file Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h.
|
private |
element link to extrapolated track
Definition at line 81 of file Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h.
|
private |
flag whether the track belongs to the comissioning stream
Definition at line 87 of file Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h.
|
private |
pointer to spectrometer track, not owned
Definition at line 84 of file Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h.
|
private |
element link to spectrometer track
Definition at line 77 of file Reconstruction/MuonIdentification/MuonCombinedEvent/MuonCombinedEvent/MuonCandidate.h.