ATLAS Offline Software
Loading...
Searching...
No Matches
MuonML::ISegmentTrackCandidateBuilderTool Class Referenceabstract

Interface for building track candidates from classified segment edges. More...

#include <ISegmentTrackCandidateBuilderTool.h>

Inheritance diagram for MuonML::ISegmentTrackCandidateBuilderTool:
Collaboration diagram for MuonML::ISegmentTrackCandidateBuilderTool:

Public Member Functions

virtual ~ISegmentTrackCandidateBuilderTool ()=default
 DeclareInterfaceID (ISegmentTrackCandidateBuilderTool, 1, 0)
virtual StatusCode buildCandidates (const EventContext &ctx, const SegmentEdgeGraph &graph, const std::vector< SegmentEdgeScore > &scores, std::vector< std::vector< unsigned > > &candidateIdsPerSegment) const =0
 Build track candidates by extracting high-confidence edge paths from the classified graph.

Detailed Description

Interface for building track candidates from classified segment edges.

This tool reads a classified segment-edge graph and converts high-confidence edges into track candidates. Each candidate represents a potential muon track as a sequence of segments connected by edges with high classification score.

Typical usage:

  1. ISegmentEdgeClassifierTool::buildGraph() — Create the graph.
  2. ISegmentEdgeClassifierTool::classifyEdges() — Score all edges.
  3. buildCandidates() — Extract track candidates from high-score edges.

Data Flow:

  • Input: SegmentEdgeGraph (structure and node/edge features), std::vector<SegmentEdgeScore> (edge probabilities from classifier)
  • Output: std::vector<std::vector<unsigned>> where each inner vector is a sequence of segment indices forming a candidate track.

Definition at line 31 of file ISegmentTrackCandidateBuilderTool.h.

Constructor & Destructor Documentation

◆ ~ISegmentTrackCandidateBuilderTool()

virtual MuonML::ISegmentTrackCandidateBuilderTool::~ISegmentTrackCandidateBuilderTool ( )
virtualdefault

Member Function Documentation

◆ buildCandidates()

virtual StatusCode MuonML::ISegmentTrackCandidateBuilderTool::buildCandidates ( const EventContext & ctx,
const SegmentEdgeGraph & graph,
const std::vector< SegmentEdgeScore > & scores,
std::vector< std::vector< unsigned > > & candidateIdsPerSegment ) const
pure virtual

Build track candidates by extracting high-confidence edge paths from the classified graph.

Each candidate is a sequence of segment indices that together form a potential track. Populates candidateIdsPerSegment where each inner vector contains the indices of segments in that candidate track, in order.

◆ DeclareInterfaceID()

MuonML::ISegmentTrackCandidateBuilderTool::DeclareInterfaceID ( ISegmentTrackCandidateBuilderTool ,
1 ,
0  )

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