Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Atlfast::CellDescriptor Class Reference

ID class to represent a unique identifier to individual cells. More...

#include <CellDescriptor.h>

List of all members.

Public Methods

 CellDescriptor ()
 Constructor taking default eta/phi values.

 CellDescriptor (double eta, double phi)
 Constructor taking supplied eta/phi values.

 CellDescriptor (const CellDescriptor &otherCellDescriptor)
 Copy constructor.

CellDescriptor & operator= (const CellDescriptor &otherCellDescriptor)
 Assignment operator.

virtual ~CellDescriptor ()
double eta () const
 Gives eta position of cell.

double phi () const
 Gives phi position of cell.


Private Attributes

double m_eta
 Eta position of cell.

double m_phi
 Phi position of cell.


Detailed Description

ID class to represent a unique identifier to individual cells.

Definition at line 14 of file CellDescriptor.h.


Constructor & Destructor Documentation

Atlfast::CellDescriptor::CellDescriptor   [inline]
 

Constructor taking default eta/phi values.

Definition at line 19 of file CellDescriptor.h.

References m_eta, and m_phi.

00019 { m_eta = 0.0; m_phi = 0.0; }

Atlfast::CellDescriptor::CellDescriptor double    eta,
double    phi
[inline]
 

Constructor taking supplied eta/phi values.

Definition at line 21 of file CellDescriptor.h.

References eta(), m_eta, m_phi, and phi().

00021 { m_eta=eta; m_phi=phi; }

Atlfast::CellDescriptor::CellDescriptor const CellDescriptor &    otherCellDescriptor [inline]
 

Copy constructor.

Definition at line 23 of file CellDescriptor.h.

00023 {*this = otherCellDescriptor;}

virtual Atlfast::CellDescriptor::~CellDescriptor   [inline, virtual]
 

Definition at line 32 of file CellDescriptor.h.

00032 {}


Member Function Documentation

double Atlfast::CellDescriptor::eta   const [inline]
 

Gives eta position of cell.

Definition at line 36 of file CellDescriptor.h.

References m_eta.

Referenced by CellDescriptor(), Atlfast::Cell::eta(), Atlfast::Cell::momentum(), and operator=().

00036 { return m_eta; }

CellDescriptor& Atlfast::CellDescriptor::operator= const CellDescriptor &    otherCellDescriptor [inline]
 

Assignment operator.

Definition at line 25 of file CellDescriptor.h.

References eta(), m_eta, m_phi, and phi().

00026       { 
00027         m_eta = otherCellDescriptor.eta();
00028         m_phi = otherCellDescriptor.phi();
00029         return *this;
00030       }

double Atlfast::CellDescriptor::phi   const [inline]
 

Gives phi position of cell.

Definition at line 40 of file CellDescriptor.h.

References m_phi.

Referenced by CellDescriptor(), Atlfast::Cell::momentum(), operator=(), and Atlfast::Cell::phi().

00040 { return m_phi; }


Member Data Documentation

double Atlfast::CellDescriptor::m_eta [private]
 

Eta position of cell.

Definition at line 49 of file CellDescriptor.h.

Referenced by CellDescriptor(), eta(), and operator=().

double Atlfast::CellDescriptor::m_phi [private]
 

Phi position of cell.

Definition at line 53 of file CellDescriptor.h.

Referenced by CellDescriptor(), operator=(), and phi().


The documentation for this class was generated from the following file:
Generated on Fri Nov 29 12:55:18 2002 by doxygen1.3-rc1