ATLAS Offline Software
MuonSpectrometer
MuonPhaseII
MuonPatternRecognition
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__HOUGHMAXIMUM__H
6
#define MUONR4__HOUGHMAXIMUM__H
7
#include <vector>
8
9
#include "
MuonSpacePoint/MuonSpacePointContainer.h
"
10
#include "
xAODMeasurementBase/UncalibratedMeasurement.h
"
11
12
namespace
MuonR4
{
15
template
<
class
HitType>
16
class
HoughMaximum_impl
{
17
public
:
23
HoughMaximum_impl
(
double
tanTheta
,
double
interceptY
,
double
counts,
24
std::vector<HitType>&&
hits
)
25
:
m_tanTheta
(
tanTheta
),
m_interceptY
(
interceptY
),
m_counts
(counts),
m_hitsInMax
(
hits
) {}
28
HoughMaximum_impl
() =
default
;
31
double
tanTheta
()
const
{
return
m_tanTheta
; }
32
35
double
interceptY
()
const
{
return
m_interceptY
; }
38
double
getCounts
()
const
{
return
m_counts
; }
41
const
std::vector<HitType>&
getHitsInMax
()
const
{
42
return
m_hitsInMax
;
43
}
44
45
private
:
46
double
m_tanTheta
{0.};
// first coordinate
47
double
m_interceptY
{0.};
// second coordinate
48
double
m_counts
{0.};
// weighted counts
49
std::vector<HitType>
m_hitsInMax
{};
// list of hits on maximum
50
};
51
}
// namespace MuonR4
52
53
#endif
UncalibratedMeasurement.h
MuonR4::HoughMaximum_impl::tanTheta
double tanTheta() const
getter
Definition:
HoughMaximum.h:31
MuonR4::HoughMaximum_impl::interceptY
double interceptY() const
getter
Definition:
HoughMaximum.h:35
MuonR4::HoughMaximum_impl::m_interceptY
double m_interceptY
Definition:
HoughMaximum.h:47
MuonR4::HoughMaximum_impl::m_hitsInMax
std::vector< HitType > m_hitsInMax
Definition:
HoughMaximum.h:49
MuonR4::HoughMaximum_impl::HoughMaximum_impl
HoughMaximum_impl()=default
default c-tor, creates empty maximum with zero counts in the origin
MuonR4::HoughMaximum_impl::HoughMaximum_impl
HoughMaximum_impl(double tanTheta, double interceptY, double counts, std::vector< HitType > &&hits)
constructor.
Definition:
HoughMaximum.h:23
LArG4ShowerLibProcessing.hits
hits
Definition:
LArG4ShowerLibProcessing.py:136
MuonR4::HoughMaximum_impl::getCounts
double getCounts() const
getter
Definition:
HoughMaximum.h:38
MuonR4::HoughMaximum_impl::m_tanTheta
double m_tanTheta
Definition:
HoughMaximum.h:46
MuonR4
The CsvMuonSimHitDumper reads a Simulation Hit container for muons and dumps information to csv files...
Definition:
MuonSpacePoint.h:11
MuonR4::HoughMaximum_impl::m_counts
double m_counts
Definition:
HoughMaximum.h:48
MuonR4::HoughMaximum_impl
Data class to represent an eta maximum in hough space.
Definition:
HoughMaximum.h:16
MuonSpacePointContainer.h
MuonR4::HoughMaximum_impl::getHitsInMax
const std::vector< HitType > & getHitsInMax() const
getter
Definition:
HoughMaximum.h:41
Generated on Thu Jul 4 2024 21:17:01 for ATLAS Offline Software by
1.8.18