ATLAS Offline Software
Loading...
Searching...
No Matches
IExtendedTrackSummaryTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKIEXTENDEDTRACKSUMMARYTOOL_H
6#define TRKIEXTENDEDTRACKSUMMARYTOOL_H
7
8#include "ITrackSummaryTool.h"
9
10namespace Trk {
11
12static const InterfaceID
13 IID_IExtendedTrackSummaryTool("Trk::IExtendedTrackSummaryTool", 1, 0);
14
22{
23public:
24 static const InterfaceID& interfaceID();
25
30
42 const EventContext& ctx,
43 Track& track,
44 bool suppress_hole_search = false) const = 0;
45
47 bool suppress_hole_search = false) const;
48
49 /* Start from a copy of the existing input track summary if there,
50 * otherwise start from a new one. Fill it and return it.
51 * Does not modify the const track.
52 */
53 virtual std::unique_ptr<Trk::TrackSummary> summary(
54 const EventContext& ctx,
55 const Track& track) const = 0;
56
57 std::unique_ptr<Trk::TrackSummary> summary(
58 const Track& track) const;
59
64 virtual void updateTrackSummary(const EventContext& ctx,
65 Track& track,
66 bool suppress_hole_search = false) const = 0;
67
69 bool suppress_hole_search = false) const;
70
71 /* Start from a copy of the existing input track summary if there,
72 * otherwise start from a new one. Fill it and return it.
73 * but without doing the hole search.
74 * Does not modify the const track.
75 */
76 virtual std::unique_ptr<Trk::TrackSummary> summaryNoHoleSearch(
77 const EventContext& ctx,
78 const Track& track) const = 0;
79
80 std::unique_ptr<Trk::TrackSummary> summaryNoHoleSearch(
81 const Track& track) const;
82
83 virtual void updateAdditionalInfo(Track& track) const = 0;
84};
85}
87#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)