ATLAS Offline Software
Loading...
Searching...
No Matches
SpacePointPerLayerSplitter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONR4_MUONSPACEPOINT_SPACEPOINTPERLAYERSPLITTER_H
5#define MUONR4_MUONSPACEPOINT_SPACEPOINTPERLAYERSPLITTER_H
6
8
9#include "Acts/Seeding/CompositeSpacePointLineSeeder.hpp"
10
11namespace MuonR4{
19 public:
20 using HitVec = std::vector<const SpacePoint*>;
21 using HitLayVec = std::vector<HitVec>;
27 const HitLayVec& mdtHits() const {
28 return m_mdtLayers;
29 }
30
31 const HitLayVec& strawHits() const {
32 return m_mdtLayers;
33 }
34
35 std::size_t nMdtHits() const {
36 return m_nMdtHits;
37 }
38
39 const HitLayVec& stripHits() const {
40 return m_stripLayers;
41 }
42
43 std::size_t nStripHits() const {
44 return m_nStripHits;
45 }
46
47 std::size_t firstLayerFrom2ndMl() const {
48 return m_tubeLaySwitch;
49 }
50 private:
56 std::size_t m_nMdtHits{0};
58 std::size_t m_nStripHits{0};
60 std::size_t m_tubeLaySwitch{std::numeric_limits<std::size_t>::max()};
61
62 };
63 static_assert(Acts::Experimental::detail::CompositeSpacePointSorter<SpacePointPerLayerSplitter,
65}
66
67
68#endif
std::vector< size_t > vec
: The muon space point bucket represents a collection of points that will bre processed together in t...
std::size_t m_tubeLaySwitch
Index of the first tube-layer from the second multilayer.
const HitLayVec & mdtHits() const
Returns the sorted Mdt hits.
std::size_t nMdtHits() const
Returns the number of all Mdt hits in the seed.
HitLayVec m_mdtLayers
Sorted Mdt hits per tube layer.
const HitLayVec & stripHits() const
Returns the sorted strip hits.
std::size_t nStripHits() const
Returns the number of all strip hits in the seed.
HitLayVec m_stripLayers
Sorted Strip hits per gasGap strip.
std::size_t firstLayerFrom2ndMl() const
Returns the layer index with hits from the second multilayer.
std::size_t m_nMdtHits
Number of all Mdt tube hits.
std::vector< const SpacePoint * > HitVec
SpacePointPerLayerSplitter(const SpacePointBucket &bucket)
Constructor taking a complete bucket.
const HitLayVec & strawHits() const
Returns the sorted Mdt hits.
std::size_t m_nStripHits
Number of all strip hits.
This header ties the generic definitions in this package.