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
12
13namespace MuonR4 {
26 class ISegmentSelectionTool: virtual public IAlgTool {
27 public:
29
30 virtual ~ISegmentSelectionTool() = default;
31
36 virtual bool passSeedingQuality(const EventContext& ctx,
37 const xAOD::MuonSegment& segment) const = 0;
42 virtual bool passTrackQuality(const EventContext& ctx,
43 const xAOD::MuonSegment& segment) const = 0;
44
49 virtual bool compatibleForTrack(const EventContext& ctx,
50 const xAOD::MuonSegment& segA,
51 const xAOD::MuonSegment& segB) const = 0;
52 };
53
54}
55
56#endif
Tool interface to define segment selection quality.
virtual bool passSeedingQuality(const EventContext &ctx, const xAOD::MuonSegment &segment) const =0
Returns whether a segment provides enough mdt & phi measurements to use it for track finding seeding.
DeclareInterfaceID(ISegmentSelectionTool, 1, 0)
virtual ~ISegmentSelectionTool()=default
virtual bool compatibleForTrack(const EventContext &ctx, const xAOD::MuonSegment &segA, const xAOD::MuonSegment &segB) const =0
Returns whether two segments are compatible enough to be put both onto the track seed.
virtual bool passTrackQuality(const EventContext &ctx, const xAOD::MuonSegment &segment) const =0
Returns whether a segment passes the base selection quality in order to be picked up onto a track.
This header ties the generic definitions in this package.
MuonSegment_v1 MuonSegment
Reference the current persistent version: