ATLAS Offline Software
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 
15 namespace MuonR4 {
16  class SegmentSelectionTool : public extends <AthAlgTool, ISegmentSelectionTool> {
17  public:
18  using base_class::base_class;
20 
21  virtual StatusCode initialize() override final;
22 
23  virtual bool passSeedingQuality(const EventContext& ctx,
24  const Segment& segment) const override final;
25 
26  virtual bool passTrackQuality(const EventContext& ctx,
27  const Segment& segment) const override final;
28 
29  virtual bool compatibleForTrack(const EventContext& ctx,
30  const Segment& segA,
31  const Segment& segB) const override final;
32  private:
34  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "IdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
36  Gaudi::Property<unsigned> m_nMdtSeedHitCut{this, "minMdtSeedHits" , 4};
38  Gaudi::Property<unsigned> m_nMdtMinHitCut{this, "minMdtHits" , 3};
40  Gaudi::Property<unsigned> m_nMdtSeedOutlierCut{ this, "maxMdtOutliers", 15};
42  Gaudi::Property<unsigned> m_nRpcPhiSeedHitCutBI{ this, "minRpcPhiSeedHitsBI", 2};
44  Gaudi::Property<unsigned> m_nRpcPhiSeedHitCutBM{ this, "minRpcPhiSeedHitsBM", 2};
46  Gaudi::Property<unsigned> m_nRpcPhiSeedHitCutBO{ this, "minRpcPhiSeedHitsBO", 1};
48  Gaudi::Property<unsigned> m_nTgcPhiSeedHitCutEI{this, "minTgcPhiSeedHitsEI", 1};
50  Gaudi::Property<unsigned> m_nTgcPhiSeedHitCutEM{this, "minTgcPhiSeedHitsEM", 2};
51 
53  };
54 }
55 #endif
MuonR4::SegmentSelectionTool::m_nMdtSeedOutlierCut
Gaudi::Property< unsigned > m_nMdtSeedOutlierCut
Cont on maximum number of outlies to consider the segment for seeding.
Definition: SegmentSelectionTool.h:40
MuonR4::SegmentSelectionTool::compatibleForTrack
virtual bool compatibleForTrack(const EventContext &ctx, const Segment &segA, const Segment &segB) const override final
Definition: SegmentSelectionTool.cxx:83
MuonR4::Segment
Placeholder for what will later be the muon segment EDM representation.
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonPatternEvent/MuonPatternEvent/Segment.h:19
MuonR4::SegmentSelectionTool::passTrackQuality
virtual bool passTrackQuality(const EventContext &ctx, const Segment &segment) const override final
Definition: SegmentSelectionTool.cxx:66
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
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:42
MuonR4::SegmentSelectionTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc to decode the Identifiers.
Definition: SegmentSelectionTool.h:34
MuonR4::SegmentSelectionTool::m_sectorMap
const Muon::MuonSectorMapping m_sectorMap
Definition: SegmentSelectionTool.h:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISegmentSelectionTool.h
AthAlgTool.h
MuonR4::SegmentSelectionTool::passSeedingQuality
virtual bool passSeedingQuality(const EventContext &ctx, const Segment &segment) const override final
Definition: SegmentSelectionTool.cxx:18
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:36
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:46
MuonR4::SegmentSelectionTool
Definition: SegmentSelectionTool.h:16
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:44
MuonR4::SegmentSelectionTool::initialize
virtual StatusCode initialize() override final
Definition: SegmentSelectionTool.cxx:14
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonSectorMapping.h
MuonR4::Segment::HitSummary
Helper struct to summarize the hit count
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonPatternEvent/MuonPatternEvent/Segment.h:61
private
#define private
Definition: xAODTruthCnvAlg.h:20
Muon::MuonSectorMapping
Definition: MuonSectorMapping.h:20
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:50
Segment.h
IMuonIdHelperSvc.h
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:38
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:48
NSWL1::PadTriggerAdapter::segment
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
Definition: PadTriggerAdapter.cxx:5
ServiceHandle
Definition: ClusterMakerTool.h:37