ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
MuonR4::HoughMaximum_impl< HitType > Class Template Reference

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

#include <HoughMaximum.h>

Inheritance diagram for MuonR4::HoughMaximum_impl< HitType >:
Collaboration diagram for MuonR4::HoughMaximum_impl< HitType >:

Public Member Functions

 HoughMaximum_impl (double tanTheta, double interceptY, double counts, std::vector< HitType > &&hits)
 constructor. More...
 
 HoughMaximum_impl ()=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...
 

Private Attributes

double m_tanTheta {0.}
 
double m_interceptY {0.}
 
double m_counts {0.}
 
std::vector< HitTypem_hitsInMax {}
 

Detailed Description

template<class HitType>
class MuonR4::HoughMaximum_impl< HitType >

Data class to represent an eta maximum in hough space.

Template Parameters
HitTypeData type encoding the hits used in the transform

Definition at line 16 of file HoughMaximum.h.

Constructor & Destructor Documentation

◆ HoughMaximum_impl() [1/2]

template<class HitType >
MuonR4::HoughMaximum_impl< HitType >::HoughMaximum_impl ( double  tanTheta,
double  interceptY,
double  counts,
std::vector< HitType > &&  hits 
)
inline

constructor.

Parameters
tanThetaangle coordinate
interceptYintercept coordinate
countsWeighted hit count of the maximum
hitslist of measurements assigned to the maximum (owned by SG).

Definition at line 23 of file HoughMaximum.h.

◆ HoughMaximum_impl() [2/2]

template<class HitType >
MuonR4::HoughMaximum_impl< HitType >::HoughMaximum_impl ( )
default

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

Member Function Documentation

◆ getCounts()

template<class HitType >
double MuonR4::HoughMaximum_impl< HitType >::getCounts ( ) const
inline

getter

Returns
the counts for this maximum

Definition at line 38 of file HoughMaximum.h.

38 { return m_counts; }

◆ getHitsInMax()

template<class HitType >
const std::vector<HitType>& MuonR4::HoughMaximum_impl< HitType >::getHitsInMax ( ) const
inline

getter

Returns
the hits assigned to this maximum

Definition at line 41 of file HoughMaximum.h.

41  {
42  return m_hitsInMax;
43  }

◆ interceptY()

template<class HitType >
double MuonR4::HoughMaximum_impl< HitType >::interceptY ( ) const
inline

getter

Returns
the intercept coordinate of the eta transform

Definition at line 35 of file HoughMaximum.h.

35 { return m_interceptY; }

◆ tanTheta()

template<class HitType >
double MuonR4::HoughMaximum_impl< HitType >::tanTheta ( ) const
inline

getter

Returns
the angular coordinate of the eta transform

Definition at line 31 of file HoughMaximum.h.

31 { return m_tanTheta; }

Member Data Documentation

◆ m_counts

template<class HitType >
double MuonR4::HoughMaximum_impl< HitType >::m_counts {0.}
private

Definition at line 48 of file HoughMaximum.h.

◆ m_hitsInMax

template<class HitType >
std::vector<HitType> MuonR4::HoughMaximum_impl< HitType >::m_hitsInMax {}
private

Definition at line 49 of file HoughMaximum.h.

◆ m_interceptY

template<class HitType >
double MuonR4::HoughMaximum_impl< HitType >::m_interceptY {0.}
private

Definition at line 47 of file HoughMaximum.h.

◆ m_tanTheta

template<class HitType >
double MuonR4::HoughMaximum_impl< HitType >::m_tanTheta {0.}
private

Definition at line 46 of file HoughMaximum.h.


The documentation for this class was generated from the following file:
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
LArG4ShowerLibProcessing.hits
hits
Definition: LArG4ShowerLibProcessing.py:136
MuonR4::HoughMaximum_impl::m_tanTheta
double m_tanTheta
Definition: HoughMaximum.h:46
MuonR4::HoughMaximum_impl::m_counts
double m_counts
Definition: HoughMaximum.h:48