ATLAS Offline Software
IMuonTrackCleaner.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUON_IMUONTRACKCLEANER_H
6 #define MUON_IMUONTRACKCLEANER_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 #include "Identifier/Identifier.h"
10 #include "TrkTrack/Track.h"
11 
12 namespace Muon {
13 
15  class IMuonTrackCleaner : virtual public IAlgTool {
16  public:
18  static const InterfaceID& interfaceID() {
19  static const InterfaceID IID_IMuonTrackCleaner("Muon::IMuonTrackCleaner", 1, 0);
20  return IID_IMuonTrackCleaner;
21  }
22 
27  virtual std::unique_ptr<Trk::Track> clean(const Trk::Track& track, const EventContext& ctx) const = 0;
28 
34  virtual std::unique_ptr<Trk::Track> clean(const Trk::Track& track, const std::set<Identifier>& chamberRemovalExclusionList,
35  const EventContext& ctx) const = 0;
36  virtual ~IMuonTrackCleaner() = default;
37  };
38 
39 } // namespace Muon
40 
41 #endif
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Muon::IMuonTrackCleaner::interfaceID
static const InterfaceID & interfaceID()
access to tool interface
Definition: IMuonTrackCleaner.h:18
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Track.h
Muon::IMuonTrackCleaner::clean
virtual std::unique_ptr< Trk::Track > clean(const Trk::Track &track, const EventContext &ctx) const =0
clean a track, returns a pointer to a new track if successfull.
Muon::IMuonTrackCleaner
The IMuonSegmentMaker is a pure virtual interface for tools to find tracks starting from MuonSegmentC...
Definition: IMuonTrackCleaner.h:15
Muon::IMuonTrackCleaner::~IMuonTrackCleaner
virtual ~IMuonTrackCleaner()=default
Muon::IMuonTrackCleaner::clean
virtual std::unique_ptr< Trk::Track > clean(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.
xAOD::track
@ track
Definition: TrackingPrimitives.h:512