CASToR  1.0
Tomographic Reconstruction (PET/SPECT)
iEventListSPECT.hh
Go to the documentation of this file.
00001 
00009 #ifndef IEVENTLISTSPECT_HH
00010 #define IEVENTLISTSPECT_HH 1
00011 
00012 #include "iEventSPECT.hh"
00013 
00014 
00015 
00021 class iEventListSPECT : public iEventSPECT
00022 {
00023   // -------------------------------------------------------------------
00024   // Constructor & Destructor
00025   public:
00030     iEventListSPECT();
00034     ~iEventListSPECT();
00035 
00036 
00037   // -------------------------------------------------------------------
00038   // Public member functions
00039   public:
00045     inline int AllocateSpecificData()
00046            {return 0;}
00051     void Describe();
00052 
00053 
00054   // -------------------------------------------------------------------
00055   // Public Get & Set functions
00056   public:
00061     inline uint8_t GetKind()
00062            {return m_kind;}
00067     inline FLTNB* GetPOI()
00068            {return mp_POI;}
00074     inline FLTNB GetPOI(int a_axis)
00075            {return mp_POI[a_axis];}
00080     inline FLTNB GetEventValue(int a_bin)
00081            {return 1.;}
00087     inline void SetKind(uint8_t a_value)
00088            {m_kind = a_value;}
00095     inline void SetPOI(int a_axis, FLTNBDATA a_value)
00096            {mp_POI[a_axis] = (FLTNB)a_value;}
00103     void SetEventValue(int a_bin, FLTNBDATA a_value);
00104 
00105 
00106   // -------------------------------------------------------------------
00107   // Private member functions
00108   private:
00109 
00110 
00111   // -------------------------------------------------------------------
00112   // Data members
00113   private:
00114     uint8_t m_kind;  
00115     FLTNB mp_POI[3]; 
00116 };
00117 
00118 #endif
 All Classes Files Functions Variables Typedefs Defines