ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace 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
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.
DeclareInterfaceID(ISegmentSelectionTool, 1, 0)
virtual ~ISegmentSelectionTool()=default
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.
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.
Placeholder for what will later be the muon segment EDM representation.
This header ties the generic definitions in this package.