ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
Trk::AlSymMatBase::AlSymMatBase_row Class Reference

#include <AlSymMatBase.h>

Collaboration diagram for Trk::AlSymMatBase::AlSymMatBase_row:

Public Member Functions

 AlSymMatBase_row (AlSymMatBase &, long int)
 
double & operator[] (long int)
 

Private Attributes

AlSymMatBasem_a
 
long int m_r
 

Detailed Description

Definition at line 44 of file AlSymMatBase.h.

Constructor & Destructor Documentation

◆ AlSymMatBase_row()

Trk::AlSymMatBase::AlSymMatBase_row::AlSymMatBase_row ( AlSymMatBase a,
long int  r 
)
inline

Definition at line 135 of file AlSymMatBase.h.

136  : m_a(a), m_r(r)
137 {}

Member Function Documentation

◆ operator[]()

double & Trk::AlSymMatBase::AlSymMatBase_row::operator[] ( long int  c)
inline

Definition at line 119 of file AlSymMatBase.h.

119  {
120  if(m_r<0||m_r>=m_a.nrow() || c<0||c>=m_a.ncol()) {
121  throw std::out_of_range( "Range error in AlSymMatBase::operator[][]" );
122  } else {
123  return m_a.elemr(m_r,c);
124  }
125 }

Member Data Documentation

◆ m_a

AlSymMatBase& Trk::AlSymMatBase::AlSymMatBase_row::m_a
private

Definition at line 49 of file AlSymMatBase.h.

◆ m_r

long int Trk::AlSymMatBase::AlSymMatBase_row::m_r
private

Definition at line 50 of file AlSymMatBase.h.


The documentation for this class was generated from the following file:
beamspotman.r
def r
Definition: beamspotman.py:676
Trk::AlSymMatBase::nrow
long int nrow() const
Definition: AlSymMatBase.h:146
Trk::AlSymMatBase::AlSymMatBase_row::m_r
long int m_r
Definition: AlSymMatBase.h:50
Trk::AlSymMatBase::ncol
long int ncol() const
Definition: AlSymMatBase.h:147
a
TList * a
Definition: liststreamerinfos.cxx:10
Trk::AlSymMatBase::elemr
virtual double & elemr(long int, long int)=0
Trk::AlSymMatBase::AlSymMatBase_row::m_a
AlSymMatBase & m_a
Definition: AlSymMatBase.h:49
python.compressB64.c
def c
Definition: compressB64.py:93