![]() |
ATLAS Offline Software
|
The SpacePointPerLayerSorter sort two given space points by their layer Identifier. More...
#include <SpacePointPerLayerSorter.h>
Public Member Functions | |
SpacePointPerLayerSorter ()=default | |
bool | operator() (const std::shared_ptr< SpacePoint > &sp1, const std::shared_ptr< SpacePoint > &sp2) const |
bool | operator() (const std::unique_ptr< SpacePoint > &sp1, const std::unique_ptr< SpacePoint > &sp2) const |
bool | operator() (const SpacePoint *sp1, const SpacePoint *sp2) const |
bool | operator() (const SpacePoint &sp1, const SpacePoint &sp2) const |
unsigned int | sectorLayerNum (const SpacePoint &sp) const |
method returning the logic layer number More... | |
The SpacePointPerLayerSorter sort two given space points by their layer Identifier.
It is defined as the Identifier of the first tube in layer for the Mdts or as the Identifier of the first strip in a gasGap expressed in an eta view. First, all hits are sorted by layer Identifier - i.e. going outwards the detector. Then, hits in the same layer are sorted by y position (precision axis) in the sector frame and, if they have also the same y, they are sorted by x position (phi direction).
Definition at line 15 of file SpacePointPerLayerSorter.h.
|
default |
bool MuonR4::SpacePointPerLayerSorter::operator() | ( | const SpacePoint & | sp1, |
const SpacePoint & | sp2 | ||
) | const |
Definition at line 41 of file SpacePointPerLayerSorter.cxx.
bool MuonR4::SpacePointPerLayerSorter::operator() | ( | const SpacePoint * | sp1, |
const SpacePoint * | sp2 | ||
) | const |
Definition at line 63 of file SpacePointPerLayerSorter.cxx.
bool MuonR4::SpacePointPerLayerSorter::operator() | ( | const std::shared_ptr< SpacePoint > & | sp1, |
const std::shared_ptr< SpacePoint > & | sp2 | ||
) | const |
Definition at line 56 of file SpacePointPerLayerSorter.cxx.
bool MuonR4::SpacePointPerLayerSorter::operator() | ( | const std::unique_ptr< SpacePoint > & | sp1, |
const std::unique_ptr< SpacePoint > & | sp2 | ||
) | const |
Definition at line 60 of file SpacePointPerLayerSorter.cxx.
unsigned int MuonR4::SpacePointPerLayerSorter::sectorLayerNum | ( | const SpacePoint & | sp | ) | const |