Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SpacePointPerLayerSorter.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 MUONR4_MUONSPACEPOINT_SPACEPOINTPERLAYERSORTER_H
5 #define MUONR4_MUONSPACEPOINT_SPACEPOINTPERLAYERSORTER_H
6 
10 
11 
12 namespace MuonR4{
19  public:
20 
22 
23  bool operator()(const std::shared_ptr<SpacePoint>& sp1, const std::shared_ptr<SpacePoint>& sp2) const;
24  bool operator()(const std::unique_ptr<SpacePoint>& sp1, const std::unique_ptr<SpacePoint>& sp2) const;
25  bool operator()(const SpacePoint* sp1, const SpacePoint* sp2) const;
26  bool operator()(const SpacePoint& sp1, const SpacePoint& sp2) const;
27 
28  // This function computes the layer Identifier.
29  Identifier detectorLayerId(const Identifier& id) const;
30 
31  private:
32 
34  };
35 
36 }
37 
38 
39 #endif
MuonIdHelper.h
MuonR4::SpacePointPerLayerSorter
The SpacePointPerLayerSorter sort two given space points by their layer Identifier.
Definition: SpacePointPerLayerSorter.h:18
MuonR4::SpacePointPerLayerSorter::detectorLayerId
Identifier detectorLayerId(const Identifier &id) const
Definition: SpacePointPerLayerSorter.cxx:13
MuonR4::SpacePointPerLayerSorter::SpacePointPerLayerSorter
SpacePointPerLayerSorter(const Muon::IMuonIdHelperSvc *idHelperSvc)
Definition: SpacePointPerLayerSorter.cxx:10
MuonR4::SpacePoint
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h:18
MuonR4::SpacePointPerLayerSorter::operator()
bool operator()(const std::shared_ptr< SpacePoint > &sp1, const std::shared_ptr< SpacePoint > &sp2) const
Definition: SpacePointPerLayerSorter.cxx:86
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::SpacePointPerLayerSorter::m_idHelperSvc
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition: SpacePointPerLayerSorter.h:33
SpacePointContainer.h
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:27
IMuonIdHelperSvc.h
Identifier
Definition: IdentifierFieldParser.cxx:14