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

CellDescriptor.h

Go to the documentation of this file.
00001 // cell descriptor test class
00002 //
00003 
00004 #ifndef ATLFAST_CELLDESCRIPTOR_H
00005 #define ATLFAST_CELLDESCRIPTOR_H
00006   
00007 
00008 namespace Atlfast {
00009 
00014   class CellDescriptor 
00015     {
00016       
00017     public:
00019       CellDescriptor() { m_eta = 0.0; m_phi = 0.0; }
00021       CellDescriptor(double eta, double phi) { m_eta=eta; m_phi=phi; }
00023       CellDescriptor(const CellDescriptor& otherCellDescriptor) {*this = otherCellDescriptor;}
00025       CellDescriptor& operator=(const CellDescriptor& otherCellDescriptor)
00026       { 
00027         m_eta = otherCellDescriptor.eta();
00028         m_phi = otherCellDescriptor.phi();
00029         return *this;
00030       }
00031 
00032       virtual ~CellDescriptor() {}
00036       double eta() const { return m_eta; }
00040       double phi() const { return m_phi; }
00041 
00042       //static CLID& classID() { return CLID_ATLFAST_CELLDESC; }
00043       //virtual CLID& clID() {  return CLID_ATLFAST_CELLDESC; }
00044 
00045     private:
00049       double m_eta;
00053       double m_phi;
00054 
00055     };
00056 
00057 } // end of namespace bracket
00058 #endif
00059 
00060 
00061 

Generated on Wed May 1 14:35:46 2002 for AtlfastEvent by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001