ATLAS Offline Software
Loading...
Searching...
No Matches
HoughMaximum.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONR4_MUONPATTERNRECOGNITION_HOUGHMAXIMUM__H
6#define MUONR4_MUONPATTERNRECOGNITION_HOUGHMAXIMUM__H
7#include <vector>
8
11
12namespace MuonR4 {
15 public:
16 using HitType = const SpacePoint*;
23 HoughMaximum(double tanBeta, double interceptY, double counts,
24 std::vector<HitType>&& hits,
25 const SpacePointBucket* bucket):
28 m_counts{counts},
29 m_hitsInMax{hits},
30 m_bucket{bucket} {}
31
33 HoughMaximum() = default;
36 double tanBeta() const { return m_tanBeta; }
37
40 double interceptY() const { return m_interceptY; }
43 double getCounts() const { return m_counts; }
46 const std::vector<HitType>& getHitsInMax() const {
47 return m_hitsInMax;
48 }
49
52 return m_bucket;
53 }
54
57 return m_bucket->msSector();
58 }
59
60 private:
61 double m_tanBeta{0.}; // first coordinate
62 double m_interceptY{0.}; // second coordinate
63 double m_counts{0.}; // weighted counts
64 std::vector<HitType> m_hitsInMax{}; // list of hits on maximum
65 const SpacePointBucket* m_bucket{nullptr};
66};
67} // namespace MuonR4
68
69#endif
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & laye...
const SpacePoint * HitType
double interceptY() const
getter
std::vector< HitType > m_hitsInMax
HoughMaximum()=default
default c-tor, creates empty maximum with zero counts in the origin
double getCounts() const
getter
const MuonGMR4::SpectrometerSector * msSector() const
getter
HoughMaximum(double tanBeta, double interceptY, double counts, std::vector< HitType > &&hits, const SpacePointBucket *bucket)
constructor.
double tanBeta() const
getter
const std::vector< HitType > & getHitsInMax() const
getter
const SpacePointBucket * m_bucket
const SpacePointBucket * parentBucket() const
getter
: The muon space point bucket represents a collection of points that will bre processed together in t...
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
This header ties the generic definitions in this package.