ATLAS Offline Software
|
The SpacePointPerLayerSorter groups the space points by their layer Identifier. More...
#include <SpacePointPerLayerSorter.h>
Public Types | |
using | HitVec = std::vector< const SpacePoint * > |
using | HitLayVec = std::vector< HitVec > |
Public Member Functions | |
SpacePointPerLayerSorter (const SpacePointBucket &bucket) | |
Constructor taking a complete bucket More... | |
SpacePointPerLayerSorter (HitVec vec) | |
Constructor taking a subset of SpacePoints. More... | |
const HitLayVec & | mdtHits () const |
Returns the sorted Mdt hits. More... | |
unsigned int | nMdtHits () const |
Returns the number of all Mdt hits in the seed. More... | |
const HitLayVec & | stripHits () const |
Returns the sorted strip hits. More... | |
unsigned int | nStripHits () const |
Returns the number of all strip hits in the seed. More... | |
Private Attributes | |
HitLayVec | m_mdtLayers {} |
HitLayVec | m_stripLayers {} |
unsigned int | m_nMdtHits {0} |
unsigned int | m_nStripHits {0} |
The SpacePointPerLayerSorter groups the 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 increasing chamber z - i.e. going outwards the detector, and then grouped into two sets of vectors. One for the Mdts and the other for the remaining strip detectors.
Definition at line 14 of file SpacePointPerLayerSorter.h.
using MuonR4::SpacePointPerLayerSorter::HitLayVec = std::vector<HitVec> |
Definition at line 17 of file SpacePointPerLayerSorter.h.
using MuonR4::SpacePointPerLayerSorter::HitVec = std::vector<const SpacePoint*> |
Definition at line 16 of file SpacePointPerLayerSorter.h.
MuonR4::SpacePointPerLayerSorter::SpacePointPerLayerSorter | ( | const SpacePointBucket & | bucket | ) |
MuonR4::SpacePointPerLayerSorter::SpacePointPerLayerSorter | ( | HitVec | vec | ) |
Constructor taking a subset of SpacePoints.
Sort space points by z
The hits are radially sorted from low local-z to high local z. Build the gasGap Identifier to find out to which layer the hit belongs to and then use the layer counting map as auxillary object fetch the indices for the sorted measurements
Definition at line 20 of file SpacePointPerLayerSorter.cxx.
Returns the sorted Mdt hits.
Definition at line 23 of file SpacePointPerLayerSorter.h.
|
inline |
Returns the number of all Mdt hits in the seed.
Definition at line 27 of file SpacePointPerLayerSorter.h.
|
inline |
Returns the number of all strip hits in the seed.
Definition at line 35 of file SpacePointPerLayerSorter.h.
Returns the sorted strip hits.
Definition at line 31 of file SpacePointPerLayerSorter.h.
|
private |
Definition at line 40 of file SpacePointPerLayerSorter.h.
|
private |
Definition at line 42 of file SpacePointPerLayerSorter.h.
|
private |
Definition at line 43 of file SpacePointPerLayerSorter.h.
|
private |
Definition at line 41 of file SpacePointPerLayerSorter.h.