![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
00001 00008 #ifndef IEVENTSPECT_HH 00009 #define IEVENTSPECT_HH 1 00010 00011 #include "vEvent.hh" 00012 00013 00014 00021 class iEventSPECT : public vEvent 00022 { 00023 // ------------------------------------------------------------------- 00024 // Constructor & Destructor 00025 public: 00030 iEventSPECT(); 00034 virtual ~iEventSPECT(); 00035 00036 00037 // ------------------------------------------------------------------- 00038 // Public member functions 00039 public: 00045 virtual int AllocateSpecificData() = 0; 00050 virtual void Describe(); 00051 00052 00053 // ------------------------------------------------------------------- 00054 // Public Get & Set functions 00055 public: 00060 inline FLTNB GetNormFactor() 00061 {return m_eventNormFactor;} 00066 inline FLTNB GetEventScatRate() 00067 {return m_eventScatRate;} 00073 inline void SetNormalizationFactor(FLTNBDATA a_value) 00074 {m_eventNormFactor = (FLTNB)a_value;} 00080 inline void SetScatterRate(FLTNBDATA a_value) 00081 {m_eventScatRate = (FLTNB)a_value;} 00087 inline FLTNB GetAdditiveCorrections(int a_bin) 00088 {return m_eventScatRate;} 00093 inline FLTNB GetMultiplicativeCorrections() 00094 {return m_eventNormFactor;} 00101 virtual FLTNB GetEventValue(int a_bin) = 0; 00108 virtual void SetEventValue(int a_bin, FLTNBDATA a_value) = 0; 00109 00110 00111 // ------------------------------------------------------------------- 00112 // Private member functions 00113 private: 00114 00115 00116 // ------------------------------------------------------------------- 00117 // Data members 00118 protected: 00119 FLTNB m_eventScatRate; 00120 FLTNB m_eventNormFactor; 00121 }; 00122 00123 #endif