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 // This is Richard's cell descriptor test class
00002 //
00003 // HTP FIXME needs integrating with PELC
00004 //
00005 // HTP I have put into namespace and done a little tidying
00006 // HTP I have also killed the contained object - I don't think it is needed!
00007 // HTP I think overall this needs a serious revision
00008 
00009 #ifndef _Atlfast_CELLDESCRIPTOR_H
00010 #define _Atlfast_CELLDESCRIPTOR_H
00011   
00012 //include "GaudiKernel/ContainedObject.h"
00013 //include "GaudiKernel/ObjectVector.h"
00014 //include "CLHEP/Vector/LorentzVector.h"
00015 
00016 //const static CLID CLID_ATLFAST_CELLDESC=444522 ;
00017 
00018 namespace Atlfast {
00019 
00024   class CellDescriptor 
00025     {
00026       
00027     public:
00029       CellDescriptor() { m_eta = 0.0; m_phi = 0.0; }
00031       CellDescriptor(double eta, double phi) { m_eta=eta; m_phi=phi; }
00033       CellDescriptor(const CellDescriptor& otherCellDescriptor) {*this = otherCellDescriptor;}
00035       CellDescriptor& operator=(const CellDescriptor& otherCellDescriptor)
00036       { 
00037         m_eta = otherCellDescriptor.eta();
00038         m_phi = otherCellDescriptor.phi();
00039         return *this;
00040       }
00041 
00042       virtual ~CellDescriptor() {}
00046       double eta() const { return m_eta; }
00050       double phi() const { return m_phi; }
00051 
00052       //static CLID& classID() { return CLID_ATLFAST_CELLDESC; }
00053       //virtual CLID& clID() {  return CLID_ATLFAST_CELLDESC; }
00054 
00055     private:
00059       double m_eta;
00063       double m_phi;
00064 
00065     };
00066 
00067 } // end of namespace bracket
00068 #endif
00069 
00070 
00071 

Generated on Wed Jan 23 12:58:31 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001