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... | |
unsigned int | firstLayerFrom2ndMl () const |
Returns the layer index with hits from the second multilayer More... | |
Private Attributes | |
HitLayVec | m_mdtLayers {} |
Sorted Mdt hits per tube layer. More... | |
HitLayVec | m_stripLayers {} |
Sorted Strip hits per gasGap strip More... | |
unsigned int | m_nMdtHits {0} |
Number of all Mdt tube hits More... | |
unsigned int | m_nStripHits {0} |
Number of all strip hits. More... | |
unsigned int | m_tubeLaySwitch {0} |
Index of the first tube-layer from the second multilayer. More... | |
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.
|
inline |
Returns the layer index with hits from the second multilayer
Definition at line 39 of file SpacePointPerLayerSorter.h.
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 |
Sorted Mdt hits per tube layer.
Definition at line 44 of file SpacePointPerLayerSorter.h.
|
private |
Number of all Mdt tube hits
Definition at line 48 of file SpacePointPerLayerSorter.h.
|
private |
Number of all strip hits.
Definition at line 50 of file SpacePointPerLayerSorter.h.
|
private |
Sorted Strip hits per gasGap strip
Definition at line 46 of file SpacePointPerLayerSorter.h.
|
private |
Index of the first tube-layer from the second multilayer.
Definition at line 52 of file SpacePointPerLayerSorter.h.