ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
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 tanTheta, double interceptY, double counts, std::vector< HitType > &&hits, const SpacePointBucket *bucket)
 constructor. More...
 
 HoughMaximum ()=default
 default c-tor, creates empty maximum with zero counts in the origin More...
 
double tanTheta () const
 getter More...
 
double interceptY () const
 getter More...
 
double getCounts () const
 getter More...
 
const std::vector< HitType > & getHitsInMax () const
 getter More...
 
const SpacePointBucketparentBucket () const
 getter More...
 
const MuonGMR4::SpectrometerSectormsSector () const
 getter More...
 

Private Attributes

double m_tanTheta {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  tanTheta,
double  interceptY,
double  counts,
std::vector< HitType > &&  hits,
const SpacePointBucket bucket 
)
inline

constructor.

Parameters
tanThetaangle 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.

25  :
28  m_counts{counts},
30  m_bucket{bucket} {}

◆ 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  }

◆ tanTheta()

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

getter

Returns
the angular coordinate of the eta transform

Definition at line 36 of file HoughMaximum.h.

36 { return m_tanTheta; }

Member Data Documentation

◆ m_bucket

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

Definition at line 65 of file HoughMaximum.h.

◆ m_counts

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

Definition at line 63 of file HoughMaximum.h.

◆ m_hitsInMax

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

Definition at line 64 of file HoughMaximum.h.

◆ m_interceptY

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

Definition at line 62 of file HoughMaximum.h.

◆ m_tanTheta

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

Definition at line 61 of file HoughMaximum.h.


The documentation for this class was generated from the following file:
MuonR4::HoughMaximum::tanTheta
double tanTheta() const
getter
Definition: HoughMaximum.h:36
MuonR4::HoughMaximum::m_bucket
const SpacePointBucket * m_bucket
Definition: HoughMaximum.h:65
TRTCalib_Extractor.hits
hits
Definition: TRTCalib_Extractor.py:35
MuonR4::SpacePointBucket::msSector
const MuonGMR4::SpectrometerSector * msSector() const
returns th associated muonChamber
Definition: MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h:35
MuonR4::HoughMaximum::m_hitsInMax
std::vector< HitType > m_hitsInMax
Definition: HoughMaximum.h:64
MuonR4::HoughMaximum::interceptY
double interceptY() const
getter
Definition: HoughMaximum.h:40
MuonR4::HoughMaximum::m_interceptY
double m_interceptY
Definition: HoughMaximum.h:62
MuonR4::HoughMaximum::m_tanTheta
double m_tanTheta
Definition: HoughMaximum.h:61
MuonR4::HoughMaximum::m_counts
double m_counts
Definition: HoughMaximum.h:63