![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
00001 00008 #ifndef IEVENTHISTOPET_HH 00009 #define IEVENTHISTOPET_HH 1 00010 00011 #include "iEventPET.hh" 00012 00013 00014 00020 class iEventHistoPET : public iEventPET 00021 { 00022 // ------------------------------------------------------------------- 00023 // Constructor & Destructor 00024 public: 00029 iEventHistoPET(); 00033 ~iEventHistoPET(); 00034 00035 00036 // ------------------------------------------------------------------- 00037 // Public member functions 00038 public: 00045 int AllocateSpecificData(); 00050 void Describe(); 00051 00052 00053 // ------------------------------------------------------------------- 00054 // Public Get & Set functions 00055 public: 00061 inline FLTNB GetEventScatRate(int a_bin) 00062 {return mp_eventScatRate[a_bin];} 00067 inline uint16_t GetEventNbTOFBins() 00068 {return m_eventNbTOFBins;} 00074 inline FLTNB GetEventValue(int a_bin) 00075 {return mp_eventValue[a_bin];} 00082 inline void SetScatterRate(int a_bin, FLTNBDATA a_value) 00083 {mp_eventScatRate[a_bin] = (FLTNB)a_value;} 00089 inline void SetEventNbTOFBins(uint16_t a_value) 00090 {m_eventNbTOFBins = a_value;} 00097 inline void SetEventValue(int a_bin, FLTNBDATA a_value) 00098 {mp_eventValue[a_bin] = (FLTNB)a_value;} 00103 FLTNB GetAdditiveCorrections(int a_bin); 00104 00105 00106 // ------------------------------------------------------------------- 00107 // Private member functions 00108 private: 00109 00110 00111 // ------------------------------------------------------------------- 00112 // Data members 00113 private: 00114 FLTNB* mp_eventValue; 00115 FLTNB* mp_eventScatRate; 00116 uint16_t m_eventNbTOFBins; 00117 }; 00118 00119 #endif