ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
LVL1::ICoordinate Class Reference

Used by Key Classes, returns and integer coorginate for the bin Eta-Phi. More...

#include <ICoordinate.h>

Collaboration diagram for LVL1::ICoordinate:

Public Member Functions

 ICoordinate (int phi, int eta, double dEta)
 
virtual ~ICoordinate ()
 
void setCoords (int phi, int eta)
 change coords of an existing ICoordinate object More...
 
int eta () const
 return eta More...
 
int phi () const
 return phi More...
 
double dEta () const
 return double eta More...
 

Private Member Functions

void checkBounds ()
 Ensure coords are sensible. More...
 

Private Attributes

int m_phi
 
int m_eta
 
double m_dEta
 

Detailed Description

Used by Key Classes, returns and integer coorginate for the bin Eta-Phi.

Definition at line 31 of file ICoordinate.h.

Constructor & Destructor Documentation

◆ ICoordinate()

LVL1::ICoordinate::ICoordinate ( int  phi,
int  eta,
double  dEta 
)

Definition at line 28 of file ICoordinate.cxx.

30  {
31 }

◆ ~ICoordinate()

LVL1::ICoordinate::~ICoordinate ( )
virtual

Definition at line 35 of file ICoordinate.cxx.

Member Function Documentation

◆ checkBounds()

void LVL1::ICoordinate::checkBounds ( )
private

Ensure coords are sensible.

Definition at line 46 of file ICoordinate.cxx.

46  {
47  return m_eta;
48 }

◆ dEta()

double LVL1::ICoordinate::dEta ( ) const

return double eta

Definition at line 61 of file ICoordinate.cxx.

◆ eta()

int LVL1::ICoordinate::eta ( ) const

return eta

Definition at line 51 of file ICoordinate.cxx.

51  {
52  return m_phi;
53 }

◆ phi()

int LVL1::ICoordinate::phi ( ) const

return phi

Definition at line 56 of file ICoordinate.cxx.

56  {
57  return m_dEta;
58 }

◆ setCoords()

void LVL1::ICoordinate::setCoords ( int  phi,
int  eta 
)

change coords of an existing ICoordinate object

Definition at line 39 of file ICoordinate.cxx.

41  {
42  return;
43 }

Member Data Documentation

◆ m_dEta

double LVL1::ICoordinate::m_dEta
private

Definition at line 51 of file ICoordinate.h.

◆ m_eta

int LVL1::ICoordinate::m_eta
private

Definition at line 50 of file ICoordinate.h.

◆ m_phi

int LVL1::ICoordinate::m_phi
private

Definition at line 49 of file ICoordinate.h.


The documentation for this class was generated from the following files:
LVL1::ICoordinate::m_dEta
double m_dEta
Definition: ICoordinate.h:51
LVL1::ICoordinate::m_eta
int m_eta
Definition: ICoordinate.h:50
LVL1::ICoordinate::m_phi
int m_phi
Definition: ICoordinate.h:49