Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SpacePointPerLayerSplitter.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_SPACEPOINTPERLAYERSPLITTER_H
5 #define MUONR4_MUONSPACEPOINT_SPACEPOINTPERLAYERSPLITTER_H
6 
8 
9 namespace MuonR4{
17  public:
18  using HitVec = std::vector<const SpacePoint*>;
19  using HitLayVec = std::vector<HitVec>;
25  const HitLayVec& mdtHits() const {
26  return m_mdtLayers;
27  }
29  unsigned int nMdtHits() const {
30  return m_nMdtHits;
31  }
33  const HitLayVec& stripHits() const {
34  return m_stripLayers;
35  }
37  unsigned int nStripHits() const {
38  return m_nStripHits;
39  }
41  unsigned int firstLayerFrom2ndMl() const {
42  return m_tubeLaySwitch;
43  }
44  private:
50  unsigned int m_nMdtHits{0};
52  unsigned int m_nStripHits{0};
54  unsigned int m_tubeLaySwitch{0};
55 
56  };
57 
58 }
59 
60 
61 #endif
MuonR4::SpacePointPerLayerSplitter::stripHits
const HitLayVec & stripHits() const
Returns the sorted strip hits.
Definition: SpacePointPerLayerSplitter.h:33
MuonR4::SpacePointPerLayerSplitter
The SpacePointPerLayerSplitter takes a set of spacepoints already sorted by layer Identifier (see Muo...
Definition: SpacePointPerLayerSplitter.h:16
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::SpacePointPerLayerSplitter::HitLayVec
std::vector< HitVec > HitLayVec
Definition: SpacePointPerLayerSplitter.h:19
MuonR4::SpacePointPerLayerSplitter::nMdtHits
unsigned int nMdtHits() const
Returns the number of all Mdt hits in the seed.
Definition: SpacePointPerLayerSplitter.h:29
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:9
MuonR4::SpacePointPerLayerSplitter::HitVec
std::vector< const SpacePoint * > HitVec
Definition: SpacePointPerLayerSplitter.h:18
MuonR4::SpacePointPerLayerSplitter::nStripHits
unsigned int nStripHits() const
Returns the number of all strip hits in the seed.
Definition: SpacePointPerLayerSplitter.h:37
MuonR4::SpacePointPerLayerSplitter::m_nMdtHits
unsigned int m_nMdtHits
Number of all Mdt tube hits
Definition: SpacePointPerLayerSplitter.h:50
MuonR4::SpacePointPerLayerSplitter::firstLayerFrom2ndMl
unsigned int firstLayerFrom2ndMl() const
Returns the layer index with hits from the second multilayer
Definition: SpacePointPerLayerSplitter.h:41
MuonR4::SpacePointPerLayerSplitter::m_nStripHits
unsigned int m_nStripHits
Number of all strip hits.
Definition: SpacePointPerLayerSplitter.h:52
MuonR4::SpacePointPerLayerSplitter::m_tubeLaySwitch
unsigned int m_tubeLaySwitch
Index of the first tube-layer from the second multilayer.
Definition: SpacePointPerLayerSplitter.h:54
MuonR4::SpacePointPerLayerSplitter::mdtHits
const HitLayVec & mdtHits() const
Returns the sorted Mdt hits.
Definition: SpacePointPerLayerSplitter.h:25
MuonR4::SpacePointPerLayerSplitter::m_stripLayers
HitLayVec m_stripLayers
Sorted Strip hits per gasGap strip
Definition: SpacePointPerLayerSplitter.h:48
MuonR4::SpacePointPerLayerSplitter::m_mdtLayers
HitLayVec m_mdtLayers
Sorted Mdt hits per tube layer.
Definition: SpacePointPerLayerSplitter.h:46
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
SpacePointContainer.h
MuonR4::SpacePointPerLayerSplitter::SpacePointPerLayerSplitter
SpacePointPerLayerSplitter(const SpacePointBucket &bucket)
Constructor taking a complete bucket
Definition: SpacePointPerLayerSplitter.cxx:19