ATLAS Offline Software
ISegmentSelectionTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONRECTOOLINTERFACESR4_ISEGMENTSELECTIONTOOL_H
6 #define MUONRECTOOLINTERFACESR4_ISEGMENTSELECTIONTOOL_H
7 
8 #include <GaudiKernel/IAlgTool.h>
9 #include <GaudiKernel/EventContext.h>
10 
11 namespace MuonR4 {
12  class Segment;
13 
14  class ISegmentSelectionTool: virtual public IAlgTool {
15  public:
17 
18  virtual ~ISegmentSelectionTool() = default;
19 
24  virtual bool passSeedingQuality(const EventContext& ctx,
25  const Segment& segment) const = 0;
30  virtual bool passTrackQuality(const EventContext& ctx,
31  const Segment& segment) const = 0;
32 
37  virtual bool compatibleForTrack(const EventContext& ctx,
38  const Segment& segA,
39  const Segment& segB) const = 0;
40  };
41 
42 }
43 
44 #endif
MuonR4::ISegmentSelectionTool::~ISegmentSelectionTool
virtual ~ISegmentSelectionTool()=default
MuonR4::ISegmentSelectionTool::passSeedingQuality
virtual bool passSeedingQuality(const EventContext &ctx, const Segment &segment) const =0
Returns whether a segment provides enough mdt & phi measurements to use it for track finding seeding.
Trk::TrackState::Segment
@ Segment
Definition: TrackStateDefs.h:37
MuonR4::ISegmentSelectionTool::compatibleForTrack
virtual bool compatibleForTrack(const EventContext &ctx, const Segment &segA, const Segment &segB) const =0
Returns whether a segment passes the base selection quality in order to be picked up onto a track.
MuonR4::Segment
Placeholder for what will later be the muon segment EDM representation.
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonPatternEvent/MuonPatternEvent/Segment.h:19
MuonR4::ISegmentSelectionTool
Definition: ISegmentSelectionTool.h:14
MuonR4::ISegmentSelectionTool::passTrackQuality
virtual bool passTrackQuality(const EventContext &ctx, const Segment &segment) const =0
Returns whether a segment passes the base selection quality in order to be picked up onto a track.
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::ISegmentSelectionTool::DeclareInterfaceID
DeclareInterfaceID(ISegmentSelectionTool, 1, 0)
NSWL1::PadTriggerAdapter::segment
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
Definition: PadTriggerAdapter.cxx:5