Atlfast::CellDescriptor Class Reference

#include <CellDescriptor.h>

List of all members.

Public Member Functions

 CellDescriptor ()
 CellDescriptor (double eta, double phi)
 CellDescriptor (const CellDescriptor &otherCellDescriptor)
CellDescriptoroperator= (const CellDescriptor &otherCellDescriptor)
virtual ~CellDescriptor ()
double eta () const
double phi () const

Private Attributes

double m_eta
double m_phi


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.

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.

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

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

Assignment operator

Definition at line 25 of file CellDescriptor.h.

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

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

Gives eta position of cell.

Definition at line 36 of file CellDescriptor.h.

00036 { return m_eta; }

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

Gives phi position of cell.

Definition at line 40 of file CellDescriptor.h.

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.

double Atlfast::CellDescriptor::m_phi [private]

Phi position of cell

Definition at line 53 of file CellDescriptor.h.


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 13:00:19 2007 for AtlfastEvent by  doxygen 1.5.1