ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
Event
MuonSpacePoint
MuonSpacePoint
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
7
#include <
MuonSpacePoint/SpacePointContainer.h
>
8
9
#include "Acts/Seeding/CompositeSpacePointLineSeeder.hpp"
10
11
namespace
MuonR4
{
18
class
SpacePointPerLayerSplitter
{
19
public
:
20
using
HitVec
= std::vector<const SpacePoint*>;
21
using
HitLayVec
= std::vector<HitVec>;
23
SpacePointPerLayerSplitter
(
const
SpacePointBucket
& bucket);
25
SpacePointPerLayerSplitter
(
const
HitVec
&
vec
);
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
:
52
HitLayVec
m_mdtLayers
{};
54
HitLayVec
m_stripLayers
{};
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,
64
SpacePointPerLayerSplitter::HitVec
>);
65
}
66
67
68
#endif
vec
std::vector< size_t > vec
Definition
CombinationsGeneratorTest.cxx:9
SpacePointContainer.h
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:21
MuonR4::SpacePointPerLayerSplitter::m_tubeLaySwitch
std::size_t m_tubeLaySwitch
Index of the first tube-layer from the second multilayer.
Definition
SpacePointPerLayerSplitter.h:60
MuonR4::SpacePointPerLayerSplitter::mdtHits
const HitLayVec & mdtHits() const
Returns the sorted Mdt hits.
Definition
SpacePointPerLayerSplitter.h:27
MuonR4::SpacePointPerLayerSplitter::nMdtHits
std::size_t nMdtHits() const
Returns the number of all Mdt hits in the seed.
Definition
SpacePointPerLayerSplitter.h:35
MuonR4::SpacePointPerLayerSplitter::m_mdtLayers
HitLayVec m_mdtLayers
Sorted Mdt hits per tube layer.
Definition
SpacePointPerLayerSplitter.h:52
MuonR4::SpacePointPerLayerSplitter::stripHits
const HitLayVec & stripHits() const
Returns the sorted strip hits.
Definition
SpacePointPerLayerSplitter.h:39
MuonR4::SpacePointPerLayerSplitter::nStripHits
std::size_t nStripHits() const
Returns the number of all strip hits in the seed.
Definition
SpacePointPerLayerSplitter.h:43
MuonR4::SpacePointPerLayerSplitter::m_stripLayers
HitLayVec m_stripLayers
Sorted Strip hits per gasGap strip.
Definition
SpacePointPerLayerSplitter.h:54
MuonR4::SpacePointPerLayerSplitter::firstLayerFrom2ndMl
std::size_t firstLayerFrom2ndMl() const
Returns the layer index with hits from the second multilayer.
Definition
SpacePointPerLayerSplitter.h:47
MuonR4::SpacePointPerLayerSplitter::m_nMdtHits
std::size_t m_nMdtHits
Number of all Mdt tube hits.
Definition
SpacePointPerLayerSplitter.h:56
MuonR4::SpacePointPerLayerSplitter::HitVec
std::vector< const SpacePoint * > HitVec
Definition
SpacePointPerLayerSplitter.h:20
MuonR4::SpacePointPerLayerSplitter::SpacePointPerLayerSplitter
SpacePointPerLayerSplitter(const SpacePointBucket &bucket)
Constructor taking a complete bucket.
Definition
SpacePointPerLayerSplitter.cxx:13
MuonR4::SpacePointPerLayerSplitter::strawHits
const HitLayVec & strawHits() const
Returns the sorted Mdt hits.
Definition
SpacePointPerLayerSplitter.h:31
MuonR4::SpacePointPerLayerSplitter::m_nStripHits
std::size_t m_nStripHits
Number of all strip hits.
Definition
SpacePointPerLayerSplitter.h:58
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
Generated on
for ATLAS Offline Software by
1.17.0