ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkTrackSummary
TrkTrackSummary
TrackSummary.icc
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
inline int
5
Trk::TrackSummary::get(const Trk::SummaryType& type) const
6
{
7
return m_information.at(type);
8
}
9
10
inline bool
11
Trk::TrackSummary::update(Trk::SummaryType type, int new_value)
12
{
13
if (m_information.at(type) != SummaryTypeNotSet) {
14
return false;
15
}
16
m_information[type] = new_value;
17
return true;
18
}
19
20
inline bool
21
Trk::TrackSummary::isHit(const Trk::DetectorType& type) const
22
{
23
// no range checking because people should be using enums
24
return (m_idHitPattern & (1 << static_cast<unsigned int>(type)));
25
}
26
27
inline const Trk::MuonTrackSummary*
28
Trk::TrackSummary::muonTrackSummary() const
29
{
30
return m_muonTrackSummary.get();
31
}
32
33
inline Trk::MuonTrackSummary*
34
Trk::TrackSummary::muonTrackSummary()
35
{
36
return m_muonTrackSummary.get();
37
}
38
39
inline unsigned long
40
Trk::TrackSummary::getHitPattern() const
41
{
42
return m_idHitPattern;
43
}
44
Generated on
for ATLAS Offline Software by
1.17.0