ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
Trk::ITrackScoringTool Class Referenceabstract

Interface for tool to return a score from a given track. More...

#include <ITrackScoringTool.h>

Inheritance diagram for Trk::ITrackScoringTool:
Collaboration diagram for Trk::ITrackScoringTool:

Public Member Functions

virtual bool passBasicSelections (const Track &track) const =0
 create a score based on how good the passed track is More...
 
virtual TrackScore score (const Track &track, bool checkBasicSel=true) const =0
 
virtual TrackScore simpleScore (const Track &track, const TrackSummary &summary) const =0
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Detailed Description

Interface for tool to return a score from a given track.

Author
Edwar.nosp@m.d.Mo.nosp@m.yse@c.nosp@m.ern..nosp@m.ch

Definition at line 22 of file ITrackScoringTool.h.

Member Function Documentation

◆ interfaceID()

const InterfaceID & Trk::ITrackScoringTool::interfaceID ( )
inlinestatic

Definition at line 37 of file ITrackScoringTool.h.

38 {
39  return IID_ITrackScoringTool;
40 }

◆ passBasicSelections()

virtual bool Trk::ITrackScoringTool::passBasicSelections ( const Track track) const
pure virtual

create a score based on how good the passed track is

Parameters
trackmust be a valid reference (i.e. the track must exist)
Returns
the returned TrackScore should be non-zero for a valid track.

Implemented in InDet::InDetNNScoringTool, InDet::InDetAmbiScoringTool, InDet::InDetTrtTrackScoringTool, InDet::InDetCosmicScoringTool, and Muon::MuonTrackScoringTool.

◆ score()

virtual TrackScore Trk::ITrackScoringTool::score ( const Track track,
bool  checkBasicSel = true 
) const
pure virtual

◆ simpleScore()

virtual TrackScore Trk::ITrackScoringTool::simpleScore ( const Track track,
const TrackSummary summary 
) const
pure virtual

The documentation for this class was generated from the following file: