00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef _Atlfast_CELLDESCRIPTOR_H
00010 #define _Atlfast_CELLDESCRIPTOR_H
00011
00012
00013
00014
00015
00016
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
00053
00054
00055 private:
00059 double m_eta;
00063 double m_phi;
00064
00065 };
00066
00067 }
00068 #endif
00069
00070
00071