ATLAS Offline Software
IMuonSegmentSelectionTool.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_IMUONSEGMENTSELECTIONTOOL_H
6 #define MUON_IMUONSEGMENTSELECTIONTOOL_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 
10 namespace Muon {
11 
12  class MuonSegment;
13 
18  class IMuonSegmentSelectionTool : virtual public IAlgTool {
19  public:
21  static const InterfaceID& interfaceID() {
22  static const InterfaceID IID_IMuonSegmentSelectionTool("Muon::IMuonSegmentSelectionTool", 1, 0);
23 
24  return IID_IMuonSegmentSelectionTool;
25  }
26 
33  virtual bool select(const MuonSegment& seg, bool ignoreHoles = false, int qualityLevel = 0, bool useEta = true,
34  bool usePhi = true) const = 0;
35 
37  virtual int quality(const MuonSegment& seg, bool ignoreHoles = false, bool useEta = true, bool usePhi = true) const = 0;
38 
39  virtual ~IMuonSegmentSelectionTool() = default;
40  };
41 
42 } // namespace Muon
43 
44 #endif
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::IMuonSegmentSelectionTool::interfaceID
static const InterfaceID & interfaceID()
access to tool interface
Definition: IMuonSegmentSelectionTool.h:21
xAOD::MuonSegment
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Definition: Event/xAOD/xAODMuon/xAODMuon/MuonSegment.h:13
Muon::IMuonSegmentSelectionTool::quality
virtual int quality(const MuonSegment &seg, bool ignoreHoles=false, bool useEta=true, bool usePhi=true) const =0
quality
Muon::IMuonSegmentSelectionTool
tool to select segments
Definition: IMuonSegmentSelectionTool.h:18
Muon::IMuonSegmentSelectionTool::~IMuonSegmentSelectionTool
virtual ~IMuonSegmentSelectionTool()=default
Muon::MuonSegment
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
Muon::IMuonSegmentSelectionTool::select
virtual bool select(const MuonSegment &seg, bool ignoreHoles=false, int qualityLevel=0, bool useEta=true, bool usePhi=true) const =0
check whether segment passes selection criteria