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

Interface for resolving hit assoication ambiguities in a given track collection. More...

#include <ITrackAmbiguityProcessorTool.h>

Inheritance diagram for Trk::ITrackAmbiguityProcessorTool:
Collaboration diagram for Trk::ITrackAmbiguityProcessorTool:

Public Member Functions

virtual const TrackCollectionprocess (const TrackCollection *, Trk::PRDtoTrackMap *prd_to_track_map=nullptr) const =0
 (in concrete object) Returns a processed TrackCollection from the passed 'tracks' More...
 
virtual const TrackCollectionprocess (const TracksScores *) const =0
 
virtual void statistics ()=0
 Print statistics at the end of the processing. More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Detailed Description

Interface for resolving hit assoication ambiguities in a given track collection.

The TrkAmbiguityProcessor is responsible for resolving ambiguities in the passed TrackCollection. To do this, it attempts to improve the 'score' of an event, where the score of an event is the summed scores of all the tracks it contains.

Currently it only implements the 'fallback' or O(n^2) algorithm. Eventually it will implement the full ambiguity solving algorithm.

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

Definition at line 29 of file ITrackAmbiguityProcessorTool.h.

Member Function Documentation

◆ interfaceID()

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

Definition at line 52 of file ITrackAmbiguityProcessorTool.h.

53 {
54  return IID_ITrackAmbiguityProcessorTool;
55 }

◆ process() [1/2]

virtual const TrackCollection* Trk::ITrackAmbiguityProcessorTool::process ( const TrackCollection ,
Trk::PRDtoTrackMap prd_to_track_map = nullptr 
) const
pure virtual

(in concrete object) Returns a processed TrackCollection from the passed 'tracks'

Parameters
trackscollection of tracks which will have ambiguities resolved. Will not be modified.
prd_to_track_mapon optional prd-to-track map being filled by the processor.
Returns
new collections of tracks, with ambiguities resolved. Ownership is passed on. (i.e. client handles deletion).
If no prd-to-track map is given the processor might create one internally (for internal
use only, or exported to storegate).

Implemented in Trk::TrackSelectionProcessorTool, Trk::SimpleAmbiguityProcessorTool, and Trk::DenseEnvironmentsAmbiguityProcessorTool.

◆ process() [2/2]

virtual const TrackCollection* Trk::ITrackAmbiguityProcessorTool::process ( const TracksScores ) const
pure virtual

◆ statistics()

virtual void Trk::ITrackAmbiguityProcessorTool::statistics ( )
pure virtual

Print statistics at the end of the processing.

Implemented in Trk::TrackSelectionProcessorTool, Trk::SimpleAmbiguityProcessorTool, and Trk::DenseEnvironmentsAmbiguityProcessorTool.


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