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  }
39  unsigned int firstLayerFrom2ndMl() const {
40  return m_tubeLaySwitch;
41  }
42  private:
48  unsigned int m_nMdtHits{0};
50  unsigned int m_nStripHits{0};
52  unsigned int m_tubeLaySwitch{0};
53 
54  };
55 
56 }
57 
58 
59 #endif
MuonR4::SpacePointPerLayerSorter::m_nMdtHits
unsigned int m_nMdtHits
Number of all Mdt tube hits
Definition: SpacePointPerLayerSorter.h:48
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
Sorted Strip hits per gasGap strip
Definition: SpacePointPerLayerSorter.h:46
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
Number of all strip hits.
Definition: SpacePointPerLayerSorter.h:50
MuonR4::SpacePointPerLayerSorter::nMdtHits
unsigned int nMdtHits() const
Returns the number of all Mdt hits in the seed.
Definition: SpacePointPerLayerSorter.h:27
MuonR4::SpacePointPerLayerSorter::m_tubeLaySwitch
unsigned int m_tubeLaySwitch
Index of the first tube-layer from the second multilayer.
Definition: SpacePointPerLayerSorter.h:52
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
Sorted Mdt hits per tube layer.
Definition: SpacePointPerLayerSorter.h:44
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
MuonR4::SpacePointPerLayerSorter::firstLayerFrom2ndMl
unsigned int firstLayerFrom2ndMl() const
Returns the layer index with hits from the second multilayer
Definition: SpacePointPerLayerSorter.h:39