ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonLearning
MuonInferenceInterfaces
MuonInferenceInterfaces
LayerBucket.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONINFERENCEINTERACES_LAYERBUCKET_H
5
#define MUONINFERENCEINTERACES_LAYERBUCKET_H
6
7
#include "
MuonSpacePoint/SpacePointContainer.h
"
8
#include "GaudiKernel/SystemOfUnits.h"
9
namespace
MuonML
{
14
class
LayerSpBucket
:
public
std::vector<const MuonR4::SpacePoint*> {
15
public
:
17
LayerSpBucket
(
const
MuonR4::SpacePointBucket
& bucket);
19
uint8_t
nMdtLayers
()
const
{
20
return
m_nMdtLay
;
21
}
22
23
uint8_t
nStripLayers
()
const
{
24
return
m_nStripLay
;
25
}
26
27
uint8_t
layerNum
(
const
size_t
i)
const
{
28
return
m_layNum
[i];
29
}
30
31
double
coveredMax
()
const
{
32
return
m_max
;
33
}
34
35
double
coveredMin
()
const
{
36
return
m_min
;
37
}
38
private
:
39
uint8_t
m_nMdtLay
{0};
40
uint8_t
m_nStripLay
{0};
41
std::vector<uint8_t>
m_layNum
{};
42
double
m_min
{-20. *Gaudi::Units::m};
43
double
m_max
{20. * Gaudi::Units::m};
44
};
45
}
46
#endif
SpacePointContainer.h
MuonML::LayerSpBucket::m_max
double m_max
Definition
LayerBucket.h:43
MuonML::LayerSpBucket::nMdtLayers
uint8_t nMdtLayers() const
Returns how many Mdt layers are inside the bucket.
Definition
LayerBucket.h:19
MuonML::LayerSpBucket::m_layNum
std::vector< uint8_t > m_layNum
Definition
LayerBucket.h:41
MuonML::LayerSpBucket::m_nStripLay
uint8_t m_nStripLay
Definition
LayerBucket.h:40
MuonML::LayerSpBucket::layerNum
uint8_t layerNum(const size_t i) const
Returns the associated layer number of the i-the space point inside the bucket.
Definition
LayerBucket.h:27
MuonML::LayerSpBucket::LayerSpBucket
LayerSpBucket(const MuonR4::SpacePointBucket &bucket)
Standard constructor taking the space point bucket.
Definition
LayerBucket.cxx:10
MuonML::LayerSpBucket::m_min
double m_min
Definition
LayerBucket.h:42
MuonML::LayerSpBucket::m_nMdtLay
uint8_t m_nMdtLay
Definition
LayerBucket.h:39
MuonML::LayerSpBucket::coveredMax
double coveredMax() const
Returns the max covered position of the bucket.
Definition
LayerBucket.h:31
MuonML::LayerSpBucket::coveredMin
double coveredMin() const
Returns the min covered position of the bucket.
Definition
LayerBucket.h:35
MuonML::LayerSpBucket::nStripLayers
uint8_t nStripLayers() const
Returns how many Strip layers are inside the bucket.
Definition
LayerBucket.h:23
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
MuonML
Definition
BucketGraphUtils.h:19
Generated on
for ATLAS Offline Software by
1.17.0