5#ifndef MUONCOMBINEDEVENT_MUONCANDIDATE_H
6#define MUONCOMBINEDEVENT_MUONCANDIDATE_H
11#include "AthLinks/ElementLink.h"
35 size_t container_idx);
71 void setSegments(std::vector<const Muon::MuonSegment*>&& segments);
73 const std::vector<const Muon::MuonSegment*>&
getSegments()
const;
ElementLink implementation for ROOT usage.
size_t m_extContIdx
Index of the MSOE track in the output container.
void setSegments(std::vector< const Muon::MuonSegment * > &&segments)
set the vector of associated segments to the candidate
const ElementLink< TrackCollection > m_extrapolatedTrackLink
element link to extrapolated track
const ElementLink< xAOD::TrackParticleContainer > m_extrapolatedParticleLink
element link to the extrapolated muon track particle
std::vector< const Muon::MuonSegment * > m_assoc_segments
Segments associated with the candidate.
const ElementLink< xAOD::TrackParticleContainer > m_muonSpectrometerTrackLink
element link to spectrometer track
const Trk::Track & muonSpectrometerTrack() const
access spectrometer track, always there
~MuonCandidate()
destructor
const Trk::Track * primaryTrack() const
Returns the extrapolated track otherwise the muonSpectrometer.
std::string toString() const
print candidate to string
MuonCandidate(const ElementLink< xAOD::TrackParticleContainer > &msTrackLink)
constructor taking an ElementLink to a xAOD::TrackParicle& Users should ensure that the element link ...
const ElementLink< TrackCollection > & extrapolatedTrackLink() const
access extrapolated track element link
const std::vector< const Muon::MuonSegment * > & getSegments() const
returns the vector of associated muon segments
const ElementLink< xAOD::TrackParticleContainer > & muonSpectrometerTrackLink() const
access spectrometer track, always there
const ElementLink< xAOD::TrackParticleContainer > & extrapolatedParticleLink() const
access extrapolated track particle element link
void setCommissioning(bool b)
Sets ths comissioning flag.
const Trk::Track * m_muonSpectrometerTrack
pointer to spectrometer track, not owned
const Trk::Track * extrapolatedTrack() const
access extrapolated track, can be zero if back extrapolation failed
bool m_isCommissioning
flag whether the track belongs to the comissioning stream
size_t extrapolatedElementID() const
returns the index of the container where the extrapolated track is located
bool isCommissioning() const
Returns whether the muon belongs to the comissioning chain.
This is the common class for 3D segments used in the muon spectrometer.
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Ensure that the ATLAS eigen extensions are properly loaded.