2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 Trk::TrackSummary::get(const Trk::SummaryType& type) const
7 return m_information.at(type);
11 Trk::TrackSummary::update(Trk::SummaryType type, int new_value)
13 if (m_information.at(type) != SummaryTypeNotSet) {
16 m_information[type] = new_value;
21 Trk::TrackSummary::isHit(const Trk::DetectorType& type) const
23 // no range checking because people should be using enums
24 return (m_idHitPattern & (1 << static_cast<unsigned int>(type)));
27 inline const Trk::MuonTrackSummary*
28 Trk::TrackSummary::muonTrackSummary() const
30 return m_muonTrackSummary.get();
33 inline Trk::MuonTrackSummary*
34 Trk::TrackSummary::muonTrackSummary()
36 return m_muonTrackSummary.get();
40 Trk::TrackSummary::getHitPattern() const
42 return m_idHitPattern;