ATLAS Offline Software
Loading...
Searching...
No Matches
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
8#include "GaudiKernel/SystemOfUnits.h"
9namespace MuonML{
14 class LayerSpBucket : public std::vector<const MuonR4::SpacePoint*> {
15 public:
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
uint8_t nMdtLayers() const
Returns how many Mdt layers are inside the bucket.
Definition LayerBucket.h:19
std::vector< uint8_t > m_layNum
Definition LayerBucket.h:41
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
LayerSpBucket(const MuonR4::SpacePointBucket &bucket)
Standard constructor taking the space point bucket.
double coveredMax() const
Returns the max covered position of the bucket.
Definition LayerBucket.h:31
double coveredMin() const
Returns the min covered position of the bucket.
Definition LayerBucket.h:35
uint8_t nStripLayers() const
Returns how many Strip layers are inside the bucket.
Definition LayerBucket.h:23
: The muon space point bucket represents a collection of points that will bre processed together in t...