ATLAS Offline Software
Loading...
Searching...
No Matches
Tracking
TrkTools
TrkToolInterfaces
TrkToolInterfaces
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"
10
#include "
TrkEventPrimitives/TrackScore.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
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
37
inline
const
InterfaceID&
Trk::ITrackScoringTool::interfaceID
()
38
{
39
return
IID_ITrackScoringTool
;
40
}
41
42
#endif
IID_ITrackScoringTool
static const InterfaceID IID_ITrackScoringTool("Trk::ITrackScoringTool", 1, 0)
TrackScore.h
Trk::ITrackScoringTool
Interface for tool to return a score from a given track.
Definition
ITrackScoringTool.h:23
Trk::ITrackScoringTool::simpleScore
virtual TrackScore simpleScore(const Track &track, const TrackSummary &summary) const =0
Trk::ITrackScoringTool::passBasicSelections
virtual bool passBasicSelections(const Track &track) const =0
create a score based on how good the passed track is
Trk::ITrackScoringTool::score
virtual TrackScore score(const Track &track, bool checkBasicSel=true) const =0
Trk::ITrackScoringTool::interfaceID
static const InterfaceID & interfaceID()
Definition
ITrackScoringTool.h:37
Trk::TrackSummary
A summary of the information contained by a track.
Definition
Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:287
Track
Definition
TriggerChamberClusterOnTrackCreator.h:21
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::TrackScore
float TrackScore
Definition
TrackScore.h:10
Generated on
for ATLAS Offline Software by
1.14.0