ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
13
14
15namespace 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
Gaudi::Property< unsigned > m_nMdtSeedHitCut
Cut on minimum number of Mdt hits to consider the segment for seeding.
Gaudi::Property< unsigned > m_nRpcPhiSeedHitCutBI
Minimum number of Rpc phi hits in BI to consider the segment for seeding.
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.
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.
Gaudi::Property< unsigned > m_nNswMinHitCut
Minimum number of Nsw hits.
Gaudi::Property< unsigned > m_nTgcPhiSeedHitCutEM
Minimum number of Tgc phi hits in EM to consider the segment for seeding.
Gaudi::Property< unsigned > m_nRpcPhiSeedHitCutBM
Minimum number of Rpc phi hits in BM to consider the segment for seeding.
Gaudi::Property< unsigned > m_nTgcPhiSeedHitCutEI
Minimum number of Tgc phi hits in EI to consider the segment for seeding.
Gaudi::Property< unsigned > m_nRpcPhiSeedHitCutBO
Minimum number of Rpc phi hits in BO to consider the segment for seeding.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc to decode the Identifiers.
Gaudi::Property< unsigned > m_nStgcSeedMinHitCut
Gaudi::Property< unsigned > m_nMdtMinHitCut
Cut on minimum number of Mdt hits to consider the segment for tracking.
Gaudi::Property< unsigned > m_nMmSeedMinHitCut
Minimum number of Nsw hits for seeding.
Gaudi::Property< unsigned > m_nMdtSeedOutlierCut
Minimun.
virtual StatusCode initialize() override final
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.
This header ties the generic definitions in this package.
MuonSegment_v1 MuonSegment
Reference the current persistent version: