ATLAS Offline Software
Loading...
Searching...
No Matches
IExtendedTrackSummaryTool.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 TRKIEXTENDEDTRACKSUMMARYTOOL_H
6#define TRKIEXTENDEDTRACKSUMMARYTOOL_H
7
8#include "ITrackSummaryTool.h"
9#include "GaudiKernel/ThreadLocalContext.h"
10
11namespace Trk {
12
13static const InterfaceID
14 IID_IExtendedTrackSummaryTool("Trk::IExtendedTrackSummaryTool", 1, 0);
15
23{
24public:
25 static const InterfaceID& interfaceID();
26
31
43 const EventContext& ctx,
44 Track& track,
45 bool suppress_hole_search = false) const = 0;
46
48 bool suppress_hole_search = false) const;
49
50 /* Start from a copy of the existing input track summary if there,
51 * otherwise start from a new one. Fill it and return it.
52 * Does not modify the const track.
53 */
54 virtual std::unique_ptr<Trk::TrackSummary> summary(
55 const EventContext& ctx,
56 const Track& track) const = 0;
57
58 std::unique_ptr<Trk::TrackSummary> summary(
59 const Track& track) const;
60
65 virtual void updateTrackSummary(const EventContext& ctx,
66 Track& track,
67 bool suppress_hole_search = false) const = 0;
68
70 bool suppress_hole_search = false) const;
71
72 /* Start from a copy of the existing input track summary if there,
73 * otherwise start from a new one. Fill it and return it.
74 * but without doing the hole search.
75 * Does not modify the const track.
76 */
77 virtual std::unique_ptr<Trk::TrackSummary> summaryNoHoleSearch(
78 const EventContext& ctx,
79 const Track& track) const = 0;
80
81 std::unique_ptr<Trk::TrackSummary> summaryNoHoleSearch(
82 const Track& track) const;
83
84 virtual void updateAdditionalInfo(Track& track) const = 0;
85};
86}
88#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
std::unique_ptr< Trk::TrackSummary > summary(const Track &track) const
virtual void updateAdditionalInfo(Track &track) const =0
method to update additional information (PID,shared hits, dEdX), this is optimised for track collecti...
virtual void computeAndReplaceTrackSummary(const EventContext &ctx, Track &track, bool suppress_hole_search=false) const =0
Compute track summary and replace the summary in given track.
std::unique_ptr< Trk::TrackSummary > summaryNoHoleSearch(const Track &track) const
virtual std::unique_ptr< Trk::TrackSummary > summaryNoHoleSearch(const EventContext &ctx, const Track &track) const =0
void updateTrackSummary(Track &track, bool suppress_hole_search=false) const
static const InterfaceID & interfaceID()
void computeAndReplaceTrackSummary(Track &track, bool suppress_hole_search=false) const
virtual void updateTrackSummary(const EventContext &ctx, Track &track, bool suppress_hole_search=false) const =0
method which can be used to update the summary of a track.
Interface for condensing Trk::Track properties and associated hits to a (non-fittable) foot print,...
virtual void updateAdditionalInfo(Track &track) const =0
method to update additional information (PID,shared hits, dEdX), this is optimised for track collecti...
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 std::unique_ptr< Trk::TrackSummary > summaryNoHoleSearch(const EventContext &ctx, const Track &track) const =0
Ensure that the ATLAS eigen extensions are properly loaded.
static const InterfaceID IID_IExtendedTrackSummaryTool("Trk::IExtendedTrackSummaryTool", 1, 0)