ATLAS Offline Software
ITrackScoringTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef ITRKTRACKSCORINGTOOL_H
7 #define ITRKTRACKSCORINGTOOL_H
8 
9 #include "GaudiKernel/IAlgTool.h"
11 
12 static const InterfaceID IID_ITrackScoringTool("Trk::ITrackScoringTool", 1, 0);
13 
14 namespace Trk {
15 
16  class Track;
17  class TrackSummary;
18 
22  class ITrackScoringTool : virtual public IAlgTool
23  {
24  public:
25 
26  static const InterfaceID& interfaceID( ) ;
30  virtual TrackScore score( const Track& track ) const = 0;
31  virtual TrackScore simpleScore( const Track& track, const TrackSummary& summary ) const = 0;
32  };
33 
34 }//end of ns
35 
36 inline const InterfaceID& Trk::ITrackScoringTool::interfaceID()
37 {
38  return IID_ITrackScoringTool;
39 }
40 
41 #endif
Trk::ITrackScoringTool
Interface for tool to return a score from a given track.
Definition: ITrackScoringTool.h:23
Trk::TrackScore
float TrackScore
Definition: TrackScore.h:10
Trk::ITrackScoringTool::interfaceID
static const InterfaceID & interfaceID()
Definition: ITrackScoringTool.h:36
Trk::ITrackScoringTool::simpleScore
virtual TrackScore simpleScore(const Track &track, const TrackSummary &summary) const =0
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::TrackSummary
A summary of the information contained by a track.
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:287
TrackScore.h
Trk::ITrackScoringTool::score
virtual TrackScore score(const Track &track) const =0
create a score based on how good the passed track is
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
xAOD::TrackSummary
TrackSummary_v1 TrackSummary
Definition: Event/xAOD/xAODTracking/xAODTracking/TrackSummary.h:10
SCT_Monitoring::summary
@ summary
Definition: SCT_MonitoringNumbers.h:65