00001
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
00043
00044
00045 private:
00049 double m_eta;
00053 double m_phi;
00054
00055 };
00056
00057 }
00058 #endif
00059
00060
00061