ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonTrackBuilding
MuonTrackFindingTools
src
SegmentSelectionTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONTRACKFINDINGTOOLS_SEGMENTSELECTIONTOOL_H
5
#define MUONTRACKFINDINGTOOLS_SEGMENTSELECTIONTOOL_H
6
7
#include "
AthenaBaseComps/AthAlgTool.h
"
8
#include "
MuonRecToolInterfacesR4/ISegmentSelectionTool.h
"
9
10
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
11
#include "
MuonPatternEvent/Segment.h
"
12
#include "
MuonDetDescrUtils/MuonSectorMapping.h
"
13
14
15
namespace
MuonR4
{
16
class
SegmentSelectionTool
:
public
extends <AthAlgTool, ISegmentSelectionTool> {
17
public
:
18
using
base_class::base_class;
19
20
virtual
StatusCode
initialize
()
override
final
;
22
virtual
bool
passSeedingQuality
(
const
EventContext& ctx,
23
const
xAOD::MuonSegment
& segment)
const
override
final
;
24
26
virtual
bool
passTrackQuality
(
const
EventContext& ctx,
27
const
xAOD::MuonSegment
& segment)
const
override
final
;
28
30
virtual
bool
compatibleForTrack
(
const
EventContext& ctx,
31
const
xAOD::MuonSegment
& segA,
32
const
xAOD::MuonSegment
& segB)
const
override
final
;
33
private
:
35
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"IdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
37
Gaudi::Property<unsigned>
m_nMdtSeedHitCut
{
this
,
"minMdtSeedHits"
, 4};
39
Gaudi::Property<unsigned>
m_nMdtMinHitCut
{
this
,
"minMdtHits"
, 3};
41
Gaudi::Property<unsigned>
m_nNswMinHitCut
{
this
,
"minNswHits"
, 5};
43
Gaudi::Property<unsigned>
m_nMmSeedMinHitCut
{
this
,
"minMMSeedHits"
, 6};
44
Gaudi::Property<unsigned>
m_nStgcSeedMinHitCut
{
this
,
"minsTgcSeedHits"
, 6};
47
Gaudi::Property<unsigned>
m_nMdtSeedOutlierCut
{
this
,
"maxMdtOutliers"
, 15};
49
Gaudi::Property<unsigned>
m_nRpcPhiSeedHitCutBI
{
this
,
"minRpcPhiSeedHitsBI"
, 2};
51
Gaudi::Property<unsigned>
m_nRpcPhiSeedHitCutBM
{
this
,
"minRpcPhiSeedHitsBM"
, 2};
53
Gaudi::Property<unsigned>
m_nRpcPhiSeedHitCutBO
{
this
,
"minRpcPhiSeedHitsBO"
, 1};
55
Gaudi::Property<unsigned>
m_nTgcPhiSeedHitCutEI
{
this
,
"minTgcPhiSeedHitsEI"
, 1};
57
Gaudi::Property<unsigned>
m_nTgcPhiSeedHitCutEM
{
this
,
"minTgcPhiSeedHitsEM"
, 2};
58
};
59
}
60
#endif
AthAlgTool.h
IMuonIdHelperSvc.h
ISegmentSelectionTool.h
MuonSectorMapping.h
Segment.h
MuonR4::SegmentSelectionTool
Definition
SegmentSelectionTool.h:16
MuonR4::SegmentSelectionTool::m_nMdtSeedHitCut
Gaudi::Property< unsigned > m_nMdtSeedHitCut
Cut on minimum number of Mdt hits to consider the segment for seeding.
Definition
SegmentSelectionTool.h:37
MuonR4::SegmentSelectionTool::m_nRpcPhiSeedHitCutBI
Gaudi::Property< unsigned > m_nRpcPhiSeedHitCutBI
Minimum number of Rpc phi hits in BI to consider the segment for seeding.
Definition
SegmentSelectionTool.h:49
MuonR4::SegmentSelectionTool::compatibleForTrack
virtual bool compatibleForTrack(const EventContext &ctx, const xAOD::MuonSegment &segA, const xAOD::MuonSegment &segB) const override final
Returns whether two segments are compatible enough to be put both onto the track seed.
Definition
SegmentSelectionTool.cxx:88
MuonR4::SegmentSelectionTool::passSeedingQuality
virtual bool passSeedingQuality(const EventContext &ctx, const xAOD::MuonSegment &segment) const override final
Returns whether a segment provides enough mdt & phi measurements to use it for track finding seeding.
Definition
SegmentSelectionTool.cxx:19
MuonR4::SegmentSelectionTool::m_nNswMinHitCut
Gaudi::Property< unsigned > m_nNswMinHitCut
Minimum number of Nsw hits.
Definition
SegmentSelectionTool.h:41
MuonR4::SegmentSelectionTool::m_nTgcPhiSeedHitCutEM
Gaudi::Property< unsigned > m_nTgcPhiSeedHitCutEM
Minimum number of Tgc phi hits in EM to consider the segment for seeding.
Definition
SegmentSelectionTool.h:57
MuonR4::SegmentSelectionTool::m_nRpcPhiSeedHitCutBM
Gaudi::Property< unsigned > m_nRpcPhiSeedHitCutBM
Minimum number of Rpc phi hits in BM to consider the segment for seeding.
Definition
SegmentSelectionTool.h:51
MuonR4::SegmentSelectionTool::m_nTgcPhiSeedHitCutEI
Gaudi::Property< unsigned > m_nTgcPhiSeedHitCutEI
Minimum number of Tgc phi hits in EI to consider the segment for seeding.
Definition
SegmentSelectionTool.h:55
MuonR4::SegmentSelectionTool::m_nRpcPhiSeedHitCutBO
Gaudi::Property< unsigned > m_nRpcPhiSeedHitCutBO
Minimum number of Rpc phi hits in BO to consider the segment for seeding.
Definition
SegmentSelectionTool.h:53
MuonR4::SegmentSelectionTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc to decode the Identifiers.
Definition
SegmentSelectionTool.h:35
MuonR4::SegmentSelectionTool::m_nStgcSeedMinHitCut
Gaudi::Property< unsigned > m_nStgcSeedMinHitCut
Definition
SegmentSelectionTool.h:44
MuonR4::SegmentSelectionTool::m_nMdtMinHitCut
Gaudi::Property< unsigned > m_nMdtMinHitCut
Cut on minimum number of Mdt hits to consider the segment for tracking.
Definition
SegmentSelectionTool.h:39
MuonR4::SegmentSelectionTool::m_nMmSeedMinHitCut
Gaudi::Property< unsigned > m_nMmSeedMinHitCut
Minimum number of Nsw hits for seeding.
Definition
SegmentSelectionTool.h:43
MuonR4::SegmentSelectionTool::m_nMdtSeedOutlierCut
Gaudi::Property< unsigned > m_nMdtSeedOutlierCut
Minimun.
Definition
SegmentSelectionTool.h:47
MuonR4::SegmentSelectionTool::initialize
virtual StatusCode initialize() override final
Definition
SegmentSelectionTool.cxx:15
MuonR4::SegmentSelectionTool::passTrackQuality
virtual bool passTrackQuality(const EventContext &ctx, const xAOD::MuonSegment &segment) const override final
Returns whether a segment passes the base selection quality in order to be picked up onto a track.
Definition
SegmentSelectionTool.cxx:72
ServiceHandle
Definition
ClusterMakerTool.h:36
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