ATLAS Offline Software
SpacePointPerLayerSorter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 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{
15  public:
16  using HitVec = std::vector<const SpacePoint*>;
17  using HitLayVec = std::vector<HitVec>;
23  const HitLayVec& mdtHits() const {
24  return m_mdtLayers;
25  }
27  unsigned int nMdtHits() const {
28  return m_nMdtHits;
29  }
31  const HitLayVec& stripHits() const {
32  return m_stripLayers;
33  }
35  unsigned int nStripHits() const {
36  return m_nStripHits;
37  }
38 
39  private:
42  unsigned int m_nMdtHits{0};
43  unsigned int m_nStripHits{0};
44 
45  };
46 
47 }
48 
49 
50 #endif
MuonR4::SpacePointPerLayerSorter::m_nMdtHits
unsigned int m_nMdtHits
Definition: SpacePointPerLayerSorter.h:42
MuonR4::SpacePointBucket
: The muon space point bucket represents a collection of points that will bre processed together in t...
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h:21
MuonR4::SpacePointPerLayerSorter
The SpacePointPerLayerSorter groups the space points by their layer Identifier.
Definition: SpacePointPerLayerSorter.h:14
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
MuonR4::SpacePointPerLayerSorter::m_stripLayers
HitLayVec m_stripLayers
Definition: SpacePointPerLayerSorter.h:41
MuonR4::SpacePointPerLayerSorter::nStripHits
unsigned int nStripHits() const
Returns the number of all strip hits in the seed.
Definition: SpacePointPerLayerSorter.h:35
MuonR4::SpacePointPerLayerSorter::SpacePointPerLayerSorter
SpacePointPerLayerSorter(const SpacePointBucket &bucket)
Constructor taking a complete bucket
Definition: SpacePointPerLayerSorter.cxx:17
MuonR4::SpacePointPerLayerSorter::HitVec
std::vector< const SpacePoint * > HitVec
Definition: SpacePointPerLayerSorter.h:16
MuonR4::SpacePointPerLayerSorter::m_nStripHits
unsigned int m_nStripHits
Definition: SpacePointPerLayerSorter.h:43
MuonR4::SpacePointPerLayerSorter::nMdtHits
unsigned int nMdtHits() const
Returns the number of all Mdt hits in the seed.
Definition: SpacePointPerLayerSorter.h:27
MuonR4::SpacePointPerLayerSorter::stripHits
const HitLayVec & stripHits() const
Returns the sorted strip hits.
Definition: SpacePointPerLayerSorter.h:31
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::SpacePointPerLayerSorter::m_mdtLayers
HitLayVec m_mdtLayers
Definition: SpacePointPerLayerSorter.h:40
MuonR4::SpacePointPerLayerSorter::mdtHits
const HitLayVec & mdtHits() const
Returns the sorted Mdt hits.
Definition: SpacePointPerLayerSorter.h:23
MuonR4::SpacePointPerLayerSorter::HitLayVec
std::vector< HitVec > HitLayVec
Definition: SpacePointPerLayerSorter.h:17
SpacePointContainer.h