CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
iEventHistoSPECT.hh
Go to the documentation of this file.
1 
9 #ifndef IEVENTHISTOSPECT_HH
10 #define IEVENTHISTOSPECT_HH 1
11 
12 #include "iEventSPECT.hh"
13 
14 
15 
22 {
23  // -------------------------------------------------------------------
24  // Constructor & Destructor
25  public:
35 
36 
37  // -------------------------------------------------------------------
38  // Public member functions
39  public:
45  inline int AllocateSpecificData()
46  {return 0;}
51  void Describe();
52 
53 
54  // -------------------------------------------------------------------
55  // Public Get & Set functions
56  public:
62  inline FLTNB GetEventValue(int a_bin)
63  {return m_eventValue;}
70  inline void SetEventValue(int a_bin, FLTNBDATA a_value)
71  {m_eventValue = (FLTNB)a_value;}
72 
73 
74  // -------------------------------------------------------------------
75  // Private member functions
76  private:
77 
78 
79  // -------------------------------------------------------------------
80  // Data members
81  private:
82 };
83 
84 #endif
int AllocateSpecificData()
Function allowing the allocation of specific data. Return 0 by default for iEventHistoSPECT.
#define FLTNB
Definition: gVariables.hh:55
iEventHistoSPECT()
iEventHistoSPECT constructor. Initialize the member variables to their default values.
FLTNB GetEventValue(int a_bin)
Inherit from iEventSPECT. Class for SPECT histogram mode events.
Declaration of class iEventSPECT.
void Describe()
This function can be used to get a description of the event printed out.
#define FLTNBDATA
Definition: gVariables.hh:59
FLTNB m_eventValue
Definition: vEvent.hh:193
void SetEventValue(int a_bin, FLTNBDATA a_value)
Cast the FLTNBDATA value passed in parameters in FLTNB, and use it to set the event value (a_bin is d...
Inherit from vEvent. Main SPECT class for the Event objects.
Definition: iEventSPECT.hh:21
~iEventHistoSPECT()
iEventHistoSPECT destructor.