2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
7 inline bool Track::isValid() const {
8 return (m_fitQuality && !m_trackStateVector->empty());
11 inline void Track::resetCaches() {
12 m_cachedParameterVector.reset();
13 m_cachedMeasurementVector.reset();
14 m_cachedOutlierVector.reset();
15 m_perigeeParameters.reset();
18 inline const FitQuality* Track::fitQuality() const {
19 return m_fitQuality.get();
22 inline FitQuality* Track::fitQuality() {
23 return m_fitQuality.get();
26 inline void Track::setFitQuality(std::unique_ptr<FitQuality> quality) {
27 m_fitQuality = std::move(quality);
30 inline const Trk::TrackStates*
31 Track::trackStateOnSurfaces() const {
32 return m_trackStateVector.get();
35 inline Trk::TrackStates* Track::trackStateOnSurfaces() {
36 return m_trackStateVector.get();
39 inline void Track::setTrackStateOnSurfaces(
40 std::unique_ptr<Trk::TrackStates> input) {
41 m_trackStateVector = std::move(input);
45 inline const TrackInfo& Track::info() const {
49 inline TrackInfo& Track::info() {
53 inline void Track::setInfo(const TrackInfo& input) {
57 inline const TrackSummary* Track::trackSummary() const {
58 return m_trackSummary.get();
61 inline TrackSummary* Track::trackSummary() {
62 return m_trackSummary.get();
65 inline void Track::setTrackSummary(std::unique_ptr<Trk::TrackSummary> input) {
66 m_trackSummary = std::move(input);