ATLAS Offline Software
Loading...
Searching...
No Matches
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
10namespace 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
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
virtual ~IMuonSegmentSelectionTool()=default
virtual int quality(const MuonSegment &seg, bool ignoreHoles=false, bool useEta=true, bool usePhi=true) const =0
quality
static const InterfaceID & interfaceID()
access to tool interface
This is the common class for 3D segments used in the muon spectrometer.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.