ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkTools
TrkTrackSummaryTool
TrkTrackSummaryTool
TrackSummaryTool.icc
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
namespace Trk {
6
inline void
7
TrackSummaryTool::updateTrack(const EventContext& ctx, Track& track) const
8
{
9
computeAndReplaceTrackSummary(
10
ctx, track, false /*DO NOT suppress hole search*/);
11
}
12
13
inline void
14
TrackSummaryTool::updateTrackSummary(const EventContext& ctx,
15
Track& track) const
16
{
17
/*suppress hole search*/
18
UpdateSummary(ctx, track, true);
19
}
20
21
inline void
22
TrackSummaryTool::updateTrackSummary(const EventContext& ctx,
23
Track& track,
24
bool suppress_hole_search) const
25
{
26
UpdateSummary(ctx, track, suppress_hole_search);
27
}
28
29
inline void
30
TrackSummaryTool::UpdateSummary(const EventContext& ctx,
31
Track& track,
32
bool suppress_hole_search) const
33
{
34
if (!track.trackSummary()) {
35
track.setTrackSummary(std::make_unique<Trk::TrackSummary>());
36
}
37
fillSummary(ctx,
38
*(track.trackSummary()),
39
track,
40
m_doHolesInDet && !suppress_hole_search,
41
m_doHolesMuon && !suppress_hole_search);
42
}
43
}
Generated on
for ATLAS Offline Software by
1.17.0