ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
Event
MuonPatternEvent
MuonPatternEvent
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
9
#include "
MuonSpacePoint/SpacePointContainer.h
"
10
#include "
xAODMeasurementBase/UncalibratedMeasurement.h
"
11
12
namespace
MuonR4
{
14
class
HoughMaximum
{
15
public
:
16
using
HitType
=
const
SpacePoint
*;
23
HoughMaximum
(
double
tanBeta
,
double
interceptY
,
double
counts,
24
std::vector<HitType>&& hits,
25
const
SpacePointBucket
* bucket):
26
m_tanBeta
{
tanBeta
},
27
m_interceptY
{
interceptY
},
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
51
const
SpacePointBucket
*
parentBucket
()
const
{
52
return
m_bucket
;
53
}
54
56
const
MuonGMR4::SpectrometerSector
*
msSector
()
const
{
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
SpacePointContainer.h
UncalibratedMeasurement.h
MuonGMR4::SpectrometerSector
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & laye...
Definition
SpectrometerSector.h:40
MuonR4::HoughMaximum::HitType
const SpacePoint * HitType
Definition
HoughMaximum.h:16
MuonR4::HoughMaximum::interceptY
double interceptY() const
getter
Definition
HoughMaximum.h:40
MuonR4::HoughMaximum::m_hitsInMax
std::vector< HitType > m_hitsInMax
Definition
HoughMaximum.h:64
MuonR4::HoughMaximum::HoughMaximum
HoughMaximum()=default
default c-tor, creates empty maximum with zero counts in the origin
MuonR4::HoughMaximum::getCounts
double getCounts() const
getter
Definition
HoughMaximum.h:43
MuonR4::HoughMaximum::m_counts
double m_counts
Definition
HoughMaximum.h:63
MuonR4::HoughMaximum::msSector
const MuonGMR4::SpectrometerSector * msSector() const
getter
Definition
HoughMaximum.h:56
MuonR4::HoughMaximum::m_interceptY
double m_interceptY
Definition
HoughMaximum.h:62
MuonR4::HoughMaximum::HoughMaximum
HoughMaximum(double tanBeta, double interceptY, double counts, std::vector< HitType > &&hits, const SpacePointBucket *bucket)
constructor.
Definition
HoughMaximum.h:23
MuonR4::HoughMaximum::tanBeta
double tanBeta() const
getter
Definition
HoughMaximum.h:36
MuonR4::HoughMaximum::getHitsInMax
const std::vector< HitType > & getHitsInMax() const
getter
Definition
HoughMaximum.h:46
MuonR4::HoughMaximum::m_bucket
const SpacePointBucket * m_bucket
Definition
HoughMaximum.h:65
MuonR4::HoughMaximum::m_tanBeta
double m_tanBeta
Definition
HoughMaximum.h:61
MuonR4::HoughMaximum::parentBucket
const SpacePointBucket * parentBucket() const
getter
Definition
HoughMaximum.h:51
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::SpacePoint
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
Definition
MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePoint.h:25
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
Generated on
for ATLAS Offline Software by
1.17.0