ATLAS Offline Software
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 
10 namespace Trk {
11 
12 static const InterfaceID
13  IID_IExtendedTrackSummaryTool("Trk::IExtendedTrackSummaryTool", 1, 0);
14 
22 {
23 public:
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
ITrackSummaryTool.h
Trk::ITrackSummaryTool
Interface for condensing Trk::Track properties and associated hits to a (non-fittable) foot print,...
Definition: ITrackSummaryTool.h:27
Trk::ITrackSummaryTool::updateTrackSummary
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...
Trk::IExtendedTrackSummaryTool::interfaceID
static const InterfaceID & interfaceID()
Trk::IExtendedTrackSummaryTool::updateTrackSummary
void updateTrackSummary(Track &track, bool suppress_hole_search=false) const
Trk::IExtendedTrackSummaryTool::summaryNoHoleSearch
std::unique_ptr< Trk::TrackSummary > summaryNoHoleSearch(const Track &track) const
IExtendedTrackSummaryTool.icc
Trk::IExtendedTrackSummaryTool::summary
virtual std::unique_ptr< Trk::TrackSummary > summary(const EventContext &ctx, const Track &track) const =0
Trk::IExtendedTrackSummaryTool::updateTrackSummary
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.
Trk::IExtendedTrackSummaryTool::computeAndReplaceTrackSummary
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.
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::IExtendedTrackSummaryTool::summary
std::unique_ptr< Trk::TrackSummary > summary(const Track &track) const
Trk::ITrackSummaryTool::summaryNoHoleSearch
virtual std::unique_ptr< Trk::TrackSummary > summaryNoHoleSearch(const EventContext &ctx, const Track &track) const =0
Trk::IExtendedTrackSummaryTool::summaryNoHoleSearch
virtual std::unique_ptr< Trk::TrackSummary > summaryNoHoleSearch(const EventContext &ctx, const Track &track) const =0
Trk::IExtendedTrackSummaryTool::updateAdditionalInfo
virtual void updateAdditionalInfo(Track &track) const =0
method to update additional information (PID,shared hits, dEdX), this is optimised for track collecti...
Trk::IExtendedTrackSummaryTool::computeAndReplaceTrackSummary
void computeAndReplaceTrackSummary(Track &track, bool suppress_hole_search=false) const
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
Trk::IExtendedTrackSummaryTool
Interface for condensing Trk::Track properties and associated hits to a (non-fittable) foot print,...
Definition: IExtendedTrackSummaryTool.h:22
Trk::ITrackSummaryTool::updateAdditionalInfo
virtual void updateAdditionalInfo(Track &track) const =0
method to update additional information (PID,shared hits, dEdX), this is optimised for track collecti...
Trk::ITrackSummaryTool::summary
virtual std::unique_ptr< Trk::TrackSummary > summary(const EventContext &ctx, const Track &track) const =0