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

#include <AlSymMatBase.h>

Collaboration diagram for Trk::AlSymMatBase::AlSymMatBase_row_const:

Public Member Functions

 AlSymMatBase_row_const (const AlSymMatBase &, long int)
 
double operator[] (long int) const
 

Private Attributes

const AlSymMatBasem_a
 
long int m_r
 

Detailed Description

Definition at line 53 of file AlSymMatBase.h.

Constructor & Destructor Documentation

◆ AlSymMatBase_row_const()

Trk::AlSymMatBase::AlSymMatBase_row_const::AlSymMatBase_row_const ( const AlSymMatBase a,
long int  r 
)
inline

Definition at line 139 of file AlSymMatBase.h.

141  : m_a(a), m_r(r)
142 {}

Member Function Documentation

◆ operator[]()

double Trk::AlSymMatBase::AlSymMatBase_row_const::operator[] ( long int  c) const
inline

Definition at line 127 of file AlSymMatBase.h.

127  {
128  if(m_r<0||m_r>=m_a.nrow() || c<0||c>=m_a.ncol()) {
129  throw std::out_of_range( "Range error in AlSymMatBase::operator[][]" );
130  } else {
131  return m_a.elemc(m_r,c);
132  }
133 }

Member Data Documentation

◆ m_a

const AlSymMatBase& Trk::AlSymMatBase::AlSymMatBase_row_const::m_a
private

Definition at line 58 of file AlSymMatBase.h.

◆ m_r

long int Trk::AlSymMatBase::AlSymMatBase_row_const::m_r
private

Definition at line 59 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::elemc
virtual double elemc(long int, long int) const =0
Trk::AlSymMatBase::AlSymMatBase_row_const::m_a
const AlSymMatBase & m_a
Definition: AlSymMatBase.h:58
Trk::AlSymMatBase::ncol
long int ncol() const
Definition: AlSymMatBase.h:147
a
TList * a
Definition: liststreamerinfos.cxx:10
Trk::AlSymMatBase::AlSymMatBase_row_const::m_r
long int m_r
Definition: AlSymMatBase.h:59
python.compressB64.c
def c
Definition: compressB64.py:93