ATLAS Offline Software
Loading...
Searching...
No Matches
MuonR4::HoughMaximum Class Reference

Data class to represent an eta maximum in hough space. More...

#include <HoughMaximum.h>

Collaboration diagram for MuonR4::HoughMaximum:

Public Types

using HitType = const SpacePoint*

Public Member Functions

 HoughMaximum (double tanBeta, double interceptY, double counts, std::vector< HitType > &&hits, const SpacePointBucket *bucket)
 constructor.
 HoughMaximum ()=default
 default c-tor, creates empty maximum with zero counts in the origin
double tanBeta () const
 getter
double interceptY () const
 getter
double getCounts () const
 getter
const std::vector< HitType > & getHitsInMax () const
 getter
const SpacePointBucketparentBucket () const
 getter
const MuonGMR4::SpectrometerSectormsSector () const
 getter

Private Attributes

double m_tanBeta {0.}
double m_interceptY {0.}
double m_counts {0.}
std::vector< HitTypem_hitsInMax {}
const SpacePointBucketm_bucket {nullptr}

Detailed Description

Data class to represent an eta maximum in hough space.

Definition at line 14 of file HoughMaximum.h.

Member Typedef Documentation

◆ HitType

Definition at line 16 of file HoughMaximum.h.

Constructor & Destructor Documentation

◆ HoughMaximum() [1/2]

MuonR4::HoughMaximum::HoughMaximum ( double tanBeta,
double interceptY,
double counts,
std::vector< HitType > && hits,
const SpacePointBucket * bucket )
inline

constructor.

Parameters
tanBetaangle coordinate
interceptYintercept coordinate
countsWeighted hit count of the maximum
hitslist of measurements assigned to the maximum (owned by SG).
bucketSpace point bucket out of which the hough maximum is built

Definition at line 23 of file HoughMaximum.h.

◆ HoughMaximum() [2/2]

MuonR4::HoughMaximum::HoughMaximum ( )
default

default c-tor, creates empty maximum with zero counts in the origin

Member Function Documentation

◆ getCounts()

double MuonR4::HoughMaximum::getCounts ( ) const
inline

getter

Returns
the counts for this maximum

Definition at line 43 of file HoughMaximum.h.

43{ return m_counts; }

◆ getHitsInMax()

const std::vector< HitType > & MuonR4::HoughMaximum::getHitsInMax ( ) const
inline

getter

Returns
the hits assigned to this maximum

Definition at line 46 of file HoughMaximum.h.

46 {
47 return m_hitsInMax;
48 }

◆ interceptY()

double MuonR4::HoughMaximum::interceptY ( ) const
inline

getter

Returns
the intercept coordinate of the eta transform

Definition at line 40 of file HoughMaximum.h.

40{ return m_interceptY; }

◆ msSector()

const MuonGMR4::SpectrometerSector * MuonR4::HoughMaximum::msSector ( ) const
inline

getter

Return the associated chamber to the bucket

Definition at line 56 of file HoughMaximum.h.

56 {
57 return m_bucket->msSector();
58 }

◆ parentBucket()

const SpacePointBucket * MuonR4::HoughMaximum::parentBucket ( ) const
inline

getter

Returns
The parent space point bucket

Definition at line 51 of file HoughMaximum.h.

51 {
52 return m_bucket;
53 }

◆ tanBeta()

double MuonR4::HoughMaximum::tanBeta ( ) const
inline

getter

Returns
the angular coordinate of the eta transform

Definition at line 36 of file HoughMaximum.h.

36{ return m_tanBeta; }

Member Data Documentation

◆ m_bucket

const SpacePointBucket* MuonR4::HoughMaximum::m_bucket {nullptr}
private

Definition at line 65 of file HoughMaximum.h.

65{nullptr};

◆ m_counts

double MuonR4::HoughMaximum::m_counts {0.}
private

Definition at line 63 of file HoughMaximum.h.

63{0.}; // weighted counts

◆ m_hitsInMax

std::vector<HitType> MuonR4::HoughMaximum::m_hitsInMax {}
private

Definition at line 64 of file HoughMaximum.h.

64{}; // list of hits on maximum

◆ m_interceptY

double MuonR4::HoughMaximum::m_interceptY {0.}
private

Definition at line 62 of file HoughMaximum.h.

62{0.}; // second coordinate

◆ m_tanBeta

double MuonR4::HoughMaximum::m_tanBeta {0.}
private

Definition at line 61 of file HoughMaximum.h.

61{0.}; // first coordinate

The documentation for this class was generated from the following file: