CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
iEventNorm.hh
Go to the documentation of this file.
1 
13 #ifndef IEVENTNORM_HH
14 #define IEVENTNORM_HH 1
15 
16 #include "vEvent.hh"
17 
18 
19 
27 class iEventNorm : public vEvent
28 {
29  // -------------------------------------------------------------------
30  // Constructor & Destructor
31  public:
36  iEventNorm();
40  ~iEventNorm();
41 
42 
43  // -------------------------------------------------------------------
44  // Public member functions
45  public:
52  inline int AllocateSpecificData() {return 0;}
57  void Describe();
58 
59 
60  // -------------------------------------------------------------------
61  // Public Get & Set functions
62  public:
68  inline void SetNormalizationFactor(FLTNBDATA a_value)
69  {m_normalizationFactor = (FLTNB)a_value;}
88  {return m_normalizationFactor;}
95 
96 
97  // -------------------------------------------------------------------
98  // Public functions that should not be used, so they throw an error and crash
99  public:
106  FLTNB GetEventValue(int a_bin);
113  FLTNB GetAdditiveCorrections(int a_bin);
120  void SetEventValue(int a_bin, FLTNBDATA a_value);
121 
122 
123  // -------------------------------------------------------------------
124  // Private member functions
125  private:
126 
127 
128  // -------------------------------------------------------------------
129  // Data members
130  protected:
133 };
134 
135 #endif
FLTNB GetMultiplicativeCorrections()
Definition: iEventNorm.hh:81
#define FLTNB
Definition: gVariables.hh:55
FLTNB GetAttenuationCorrectionFactor()
Definition: iEventNorm.hh:93
FLTNB GetEventValue(int a_bin)
Not used, so throw an error an Exit.
Definition: iEventNorm.cc:65
iEventNorm()
iEventNorm constructor. Initialize the member variables to their default values.
Definition: iEventNorm.cc:29
void Describe()
This function can be used to get a description of the event printed out.
Definition: iEventNorm.cc:48
void SetEventValue(int a_bin, FLTNBDATA a_value)
Not used, so throw an error an Exit.
Definition: iEventNorm.cc:93
FLTNB m_attenuationCorrectionFactor
Definition: iEventNorm.hh:132
#define FLTNBDATA
Definition: gVariables.hh:59
void SetAttenuationCorrectionFactor(FLTNBDATA a_value)
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the attenuation correction facto...
Definition: iEventNorm.hh:75
FLTNB GetAdditiveCorrections(int a_bin)
Not used, so throw an error an Exit.
Definition: iEventNorm.cc:79
FLTNB m_normalizationFactor
Definition: iEventNorm.hh:131
void SetNormalizationFactor(FLTNBDATA a_value)
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the normalization term...
Definition: iEventNorm.hh:68
Declaration of class vEvent.
Inherit from vEvent. Used for normalization events for sensitivity computation.
Definition: iEventNorm.hh:27
Mother class for the Event objects.
Definition: vEvent.hh:23
~iEventNorm()
iEventNorm destructor
Definition: iEventNorm.cc:41
int AllocateSpecificData()
Inherited and pure virtual from vEvent.
Definition: iEventNorm.hh:52
FLTNB GetNormalizationFactor()
Definition: iEventNorm.hh:87