ATLAS Offline Software
Loading...
Searching...
No Matches
ITrackScoringTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 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
12static const InterfaceID IID_ITrackScoringTool("Trk::ITrackScoringTool", 1, 0);
13
14namespace 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 bool passBasicSelections( const Track& track ) const = 0;
31 virtual TrackScore score( const Track& track, bool checkBasicSel = true ) const = 0;
32 virtual TrackScore simpleScore( const Track& track, const TrackSummary& summary ) const = 0;
33 };
34
35}//end of ns
36
37inline const InterfaceID& Trk::ITrackScoringTool::interfaceID()
38{
40}
41
42#endif
static const InterfaceID IID_ITrackScoringTool("Trk::ITrackScoringTool", 1, 0)
Interface for tool to return a score from a given track.
virtual TrackScore simpleScore(const Track &track, const TrackSummary &summary) const =0
virtual bool passBasicSelections(const Track &track) const =0
create a score based on how good the passed track is
virtual TrackScore score(const Track &track, bool checkBasicSel=true) const =0
static const InterfaceID & interfaceID()
A summary of the information contained by a track.
Ensure that the ATLAS eigen extensions are properly loaded.
float TrackScore
Definition TrackScore.h:10