ATLAS Offline Software
Loading...
Searching...
No Matches
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
9namespace 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 }
28
29 unsigned int nMdtHits() const {
30 return m_nMdtHits;
31 }
32
33 const HitLayVec& stripHits() const {
34 return m_stripLayers;
35 }
36
37 unsigned int nStripHits() const {
38 return m_nStripHits;
39 }
40
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
std::vector< size_t > vec
: The muon space point bucket represents a collection of points that will bre processed together in t...
unsigned int nMdtHits() const
Returns the number of all Mdt hits in the seed.
const HitLayVec & mdtHits() const
Returns the sorted Mdt hits.
unsigned int m_nMdtHits
Number of all Mdt tube hits.
HitLayVec m_mdtLayers
Sorted Mdt hits per tube layer.
const HitLayVec & stripHits() const
Returns the sorted strip hits.
unsigned int nStripHits() const
Returns the number of all strip hits in the seed.
HitLayVec m_stripLayers
Sorted Strip hits per gasGap strip.
std::vector< const SpacePoint * > HitVec
SpacePointPerLayerSplitter(const SpacePointBucket &bucket)
Constructor taking a complete bucket.
unsigned int firstLayerFrom2ndMl() const
Returns the layer index with hits from the second multilayer.
unsigned int m_nStripHits
Number of all strip hits.
unsigned int m_tubeLaySwitch
Index of the first tube-layer from the second multilayer.
This header ties the generic definitions in this package.