ATLAS Offline Software
ITrackDiff.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ITrackDiff.h
7 // Header file for interface of TrackDiff
9 // (c) ATLAS Detector software
11 // Sebastian.Fleischmann@cern.ch
13 
14 #ifndef TRK_ITRACKDIFF_H
15 #define TRK_ITRACKDIFF_H
16 
17 #include "GaudiKernel/IAlgTool.h"
18 #include <vector>
19 
20 namespace Trk {
21 static const InterfaceID IID_ITrackDiff("ITrackDiff",1,0);
22 
23 class Track;
24 
29 class ITrackDiff : virtual public IAlgTool {
30 public:
32  static const InterfaceID& interfaceID();
33 
35  virtual StatusCode diff (
36  const Trk::Track& referenceTrack,
37  const Trk::Track& ) = 0;
38 };
39 
40 inline const InterfaceID& Trk::ITrackDiff::interfaceID() {
41  return IID_ITrackDiff;
42 }
43 
44 } // end of namespace
45 
46 #endif // TRK_ITRACKDIFF_H
Trk::ITrackDiff::diff
virtual StatusCode diff(const Trk::Track &referenceTrack, const Trk::Track &)=0
diff of two given tracks
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::ITrackDiff
Definition: ITrackDiff.h:29
Trk::ITrackDiff::interfaceID
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
Definition: ITrackDiff.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21