ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::IMuonSegmentOverlapRemovalTool Class Referenceabstract

abstract interface for tools removing duplicates from segment collections and segment combinations More...

#include <IMuonSegmentOverlapRemovalTool.h>

Inheritance diagram for Muon::IMuonSegmentOverlapRemovalTool:
Collaboration diagram for Muon::IMuonSegmentOverlapRemovalTool:

Public Member Functions

virtual void removeDuplicates (Trk::SegmentCollection &segments) const =0
 remove duplicates from a Trk::SegmentCollection
virtual std::unique_ptr< MuonSegmentCombinationremoveDuplicates (const MuonSegmentCombination &combi) const =0
 remove duplicates from a MuonSegmentCombination.

Static Public Member Functions

static const InterfaceID & interfaceID ()
 access to tool interface

Detailed Description

abstract interface for tools removing duplicates from segment collections and segment combinations

Definition at line 22 of file IMuonSegmentOverlapRemovalTool.h.

Member Function Documentation

◆ interfaceID()

const InterfaceID & Muon::IMuonSegmentOverlapRemovalTool::interfaceID ( )
inlinestatic

access to tool interface

Definition at line 25 of file IMuonSegmentOverlapRemovalTool.h.

25 {
26 static const InterfaceID IID_IMuonSegmentOverlapRemovalTool("Muon::IMuonSegmentOverlapRemovalTool", 1, 0);
27 return IID_IMuonSegmentOverlapRemovalTool;
28 }

◆ removeDuplicates() [1/2]

virtual std::unique_ptr< MuonSegmentCombination > Muon::IMuonSegmentOverlapRemovalTool::removeDuplicates ( const MuonSegmentCombination & combi) const
pure virtual

remove duplicates from a MuonSegmentCombination.

The callers should take ownership of the new SegmentCombination. If the combination is unchanged the routine will return a nullptr

Implemented in Muon::MuonSegmentOverlapRemovalTool.

◆ removeDuplicates() [2/2]

virtual void Muon::IMuonSegmentOverlapRemovalTool::removeDuplicates ( Trk::SegmentCollection & segments) const
pure virtual

remove duplicates from a Trk::SegmentCollection

Implemented in Muon::MuonSegmentOverlapRemovalTool.


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