ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
Muon::IMuonTrackCleaner Class Referenceabstract

The IMuonSegmentMaker is a pure virtual interface for tools to find tracks starting from MuonSegmentCombinations
More...

#include <IMuonTrackCleaner.h>

Inheritance diagram for Muon::IMuonTrackCleaner:
Collaboration diagram for Muon::IMuonTrackCleaner:

Public Member Functions

virtual std::unique_ptr< Trk::Trackclean (const Trk::Track &track, const EventContext &ctx) const =0
 clean a track, returns a pointer to a new track if successfull. More...
 
virtual std::unique_ptr< Trk::Trackclean (const Trk::Track &track, const std::set< Identifier > &chamberRemovalExclusionList, const EventContext &ctx) const =0
 clean a track, returns a pointer to a new track if successfull. More...
 
virtual ~IMuonTrackCleaner ()=default
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 access to tool interface More...
 

Detailed Description

The IMuonSegmentMaker is a pure virtual interface for tools to find tracks starting from MuonSegmentCombinations

Definition at line 15 of file IMuonTrackCleaner.h.

Constructor & Destructor Documentation

◆ ~IMuonTrackCleaner()

virtual Muon::IMuonTrackCleaner::~IMuonTrackCleaner ( )
virtualdefault

Member Function Documentation

◆ clean() [1/2]

virtual std::unique_ptr<Trk::Track> Muon::IMuonTrackCleaner::clean ( const Trk::Track track,
const EventContext &  ctx 
) const
pure virtual

clean a track, returns a pointer to a new track if successfull.

If the input track is does not require cleaning a pointer the the initial track is return in which case the user should not delete the old track! The caller should ensure the track gets deleted.

Implemented in Muon::MuonTrackCleaner.

◆ clean() [2/2]

virtual std::unique_ptr<Trk::Track> Muon::IMuonTrackCleaner::clean ( const Trk::Track track,
const std::set< Identifier > &  chamberRemovalExclusionList,
const EventContext &  ctx 
) const
pure virtual

clean a track, returns a pointer to a new track if successfull.

If the input track is does not require cleaning a pointer the the initial track is return in which case the user should not delete the old track! The cleaning will not clean if all the chambers in the exclusions list are marked as to be deleted. The caller should ensure the track gets deleted.

Implemented in Muon::MuonTrackCleaner.

◆ interfaceID()

static const InterfaceID& Muon::IMuonTrackCleaner::interfaceID ( )
inlinestatic

access to tool interface

Definition at line 18 of file IMuonTrackCleaner.h.

18  {
19  static const InterfaceID IID_IMuonTrackCleaner("Muon::IMuonTrackCleaner", 1, 0);
20  return IID_IMuonTrackCleaner;
21  }

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