ATLAS Offline Software
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 
8 
9 namespace MuonR4{
16  public:
17 
19 
20  bool operator()(const std::shared_ptr<SpacePoint>& sp1, const std::shared_ptr<SpacePoint>& sp2) const;
21  bool operator()(const std::unique_ptr<SpacePoint>& sp1, const std::unique_ptr<SpacePoint>& sp2) const;
22  bool operator()(const SpacePoint* sp1, const SpacePoint* sp2) const;
23  bool operator()(const SpacePoint& sp1, const SpacePoint& sp2) const;
24 
26  unsigned int sectorLayerNum(const SpacePoint& sp) const;
27  };
28 
29 }
30 
31 
32 #endif
MuonR4::SpacePointPerLayerSorter
The SpacePointPerLayerSorter sort two given space points by their layer Identifier.
Definition: SpacePointPerLayerSorter.h:15
MuonR4::SpacePointPerLayerSorter::sectorLayerNum
unsigned int sectorLayerNum(const SpacePoint &sp) const
method returning the logic layer number
Definition: SpacePointPerLayerSorter.cxx:13
MuonR4::SpacePointPerLayerSorter::SpacePointPerLayerSorter
SpacePointPerLayerSorter()=default
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:19
MuonR4::SpacePointPerLayerSorter::operator()
bool operator()(const std::shared_ptr< SpacePoint > &sp1, const std::shared_ptr< SpacePoint > &sp2) const
Definition: SpacePointPerLayerSorter.cxx:56
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
SpacePointContainer.h