ATLAS Offline Software
Loading...
Searching...
No Matches
Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITrackSummaryTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKITRACKSUMMARYTOOL_H
6#define TRKITRACKSUMMARYTOOL_H
7
8#include "GaudiKernel/EventContext.h"
9#include "GaudiKernel/IAlgTool.h"
11#include <memory>
12namespace Trk {
13
14class Track;
15class TrackSummary;
16
17
24class ITrackSummaryTool : virtual public IAlgTool
25{
26public:
28
29 /* Start from a copy of the existing input track summary if there,
30 * otherwise start from a new one. Fill it and return it.
31 * Does not modify the const track.
32 */
33 virtual std::unique_ptr<Trk::TrackSummary> summary(
34 const EventContext& ctx,
35 const Track& track) const = 0;
36
37 /* Start from a copy of the existing input track summary if there,
38 * otherwise start from a new one. Fill it and return it.
39 * but without doing the hole search.
40 * Does not modify the const track.
41 */
42 virtual std::unique_ptr<Trk::TrackSummary> summaryNoHoleSearch(
43 const EventContext& ctx,
44 const Track& track) const = 0;
45
51 virtual void updateTrack(const EventContext& ctx, Track& track) const = 0;
52
58 virtual void updateTrackSummary(const EventContext& ctx,
59 Track& track) const = 0;
60
61};
62
63}
64#endif
Interface for condensing Trk::Track properties and associated hits to a (non-fittable) foot print,...
virtual std::unique_ptr< Trk::TrackSummary > summary(const EventContext &ctx, const Track &track) const =0
virtual void updateTrackSummary(const EventContext &ctx, Track &track) const =0
method which can be used to update the summary of a track it, without doing shared hit/ or hole searc...
virtual void updateTrack(const EventContext &ctx, Track &track) const =0
Same behavious as IExtendedTrackSummaryTool:computeAndReplaceTrackSummary but without the need to pas...
virtual std::unique_ptr< Trk::TrackSummary > summaryNoHoleSearch(const EventContext &ctx, const Track &track) const =0
DeclareInterfaceID(Trk::ITrackSummaryTool, 1, 0)
A summary of the information contained by a track.
Ensure that the ATLAS eigen extensions are properly loaded.