ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonRecToolInterfacesR4
MuonRecToolInterfacesR4
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
#include <
xAODMuon/MuonSegment.h
>
12
13
namespace
MuonR4
{
26
class
ISegmentSelectionTool
:
virtual
public
IAlgTool {
27
public
:
28
DeclareInterfaceID
(
ISegmentSelectionTool
, 1, 0);
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
MuonSegment.h
MuonR4::ISegmentSelectionTool
Tool interface to define segment selection quality.
Definition
ISegmentSelectionTool.h:26
MuonR4::ISegmentSelectionTool::passSeedingQuality
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.
MuonR4::ISegmentSelectionTool::DeclareInterfaceID
DeclareInterfaceID(ISegmentSelectionTool, 1, 0)
MuonR4::ISegmentSelectionTool::~ISegmentSelectionTool
virtual ~ISegmentSelectionTool()=default
MuonR4::ISegmentSelectionTool::compatibleForTrack
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.
MuonR4::ISegmentSelectionTool::passTrackQuality
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.
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
xAOD::MuonSegment
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/MuonSegment.h:13
Generated on
for ATLAS Offline Software by
1.17.0