ATLAS Offline Software
ITrackSlimmingTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ITrackSlimmingTool.h, (c) ATLAS Detector software
8 #ifndef ITRKTRACKSLIMMINGTOOL_H
9 #define ITRKTRACKSLIMMINGTOOL_H
10 
12 #include "GaudiKernel/IAlgTool.h"
13 
14 namespace Trk
15 
16 {
17 class Track;
18 
19 static const InterfaceID IID_ITrackSlimmingTool("Trk::ITrackSlimmingTool",
20  1,
21  0);
22 
28 class ITrackSlimmingTool : virtual public IAlgTool
29 {
30 public:
31  static const InterfaceID& interfaceID();
43  virtual void slimTrack(Trk::Track& track) const = 0;
55  virtual void slimConstTrack(const Trk::Track& track) const = 0;
56  };
57 
58 inline const InterfaceID&
60 {
61  return IID_ITrackSlimmingTool;
62 }
63 
64 } // end of namespace
65 
66 #endif
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::ITrackSlimmingTool
Interface for constructing 'slimmed' Tracks from complete tracks.
Definition: ITrackSlimmingTool.h:29
Trk::ITrackSlimmingTool::slimTrack
virtual void slimTrack(Trk::Track &track) const =0
Slim a non const Track.
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::ITrackSlimmingTool::slimConstTrack
virtual void slimConstTrack(const Trk::Track &track) const =0
Slim a non const Track.
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
Trk::ITrackSlimmingTool::interfaceID
static const InterfaceID & interfaceID()
Definition: ITrackSlimmingTool.h:59
checker_macros.h
Define macros for attributes used to control the static checker.