CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
include/datafile/iEventHistoCT.hh
Go to the documentation of this file.
1 
8 #ifndef IEVENTHISTOCT_HH
9 #define IEVENTHISTOCT_HH 1
10 
11 #include "iEventCT.hh"
12 
18 class iEventHistoCT : public iEventCT
19 {
20  // -------------------------------------------------------------------
21  // Constructor & Destructor
22  public:
27  iEventHistoCT();
32 
33  // -------------------------------------------------------------------
34  // Public member functions
35  public:
41  inline int AllocateSpecificData()
42  {return 0;}
47  void Describe();
48 
49  // -------------------------------------------------------------------
50  // Public Get & Set functions
51  public:
57  inline FLTNB GetEventValue(int a_bin)
58  {
59  (void)a_bin; // avoid 'unused parameter' compil. warnings
60  return m_eventValue;
61  }
68  inline void SetEventValue(int a_bin, FLTNBDATA a_value)
69  {
70  (void)a_bin; // avoid 'unused parameter' compil. warnings
71  m_eventValue = (FLTNB)a_value;
72  }
79  {return 1;}
80 
81  // -------------------------------------------------------------------
82  // Private member functions
83  private:
84 
85  // -------------------------------------------------------------------
86  // Data members
87  private:
88 };
89 
90 #endif
void SetEventValue(int a_bin, FLTNBDATA a_value)
Inherit from vEvent. Main CT class for the Event objects.
INTNB GetNbValueBins()
Get the number of event value bins.
int AllocateSpecificData()
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data ...
iEventHistoCT()
iEventHistoCT constructor. Initialize the member variables to their default values.
void Describe()
This function can be used to get a description of the event printed out.
Inherit from iEventCT. Class for CT histogram mode events.
Declaration of class iEventCT.
~iEventHistoCT()
iEventHistoCT destructor.