![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
Inherit from vEvent. Main SPECT class for the Event objects. More...
#include <iEventSPECT.hh>
Public Member Functions | |
iEventSPECT () | |
iEventSPECT constructor. Initialize the member variables to their default values. | |
virtual | ~iEventSPECT () |
iEventSPECT destructor. | |
virtual int | AllocateSpecificData ()=0 |
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data in the child classes. | |
virtual void | Describe () |
This function can be used to get a description of the event printed out. | |
FLTNB | GetNormFactor () |
FLTNB | GetEventScatRate () |
void | SetNormalizationFactor (FLTNBDATA a_value) |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the normalization term. | |
void | SetScatterRate (FLTNBDATA a_value) |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the scatter correction rate. | |
FLTNB | GetAdditiveCorrections (int a_bin) |
FLTNB | GetMultiplicativeCorrections () |
virtual FLTNB | GetEventValue (int a_bin)=0 |
Pure virtual function implemented in the child classes. | |
virtual void | SetEventValue (int a_bin, FLTNBDATA a_value)=0 |
Set the event value, this is a pure virtual function implemented in the child classes. | |
Protected Attributes | |
FLTNB | m_eventScatRate |
FLTNB | m_eventNormFactor |
Inherit from vEvent. Main SPECT class for the Event objects.
This class is designed to be an abstract class that should not be used on its own; only its children are used.
It manages data and functions common to both class dedicated to histogram and list mode SPECT.
Definition at line 21 of file iEventSPECT.hh.
iEventSPECT constructor. Initialize the member variables to their default values.
Definition at line 32 of file iEventSPECT.cc.
iEventSPECT::~iEventSPECT | ( | ) | [virtual] |
iEventSPECT destructor.
Definition at line 48 of file iEventSPECT.cc.
int iEventSPECT::AllocateSpecificData | ( | ) | [pure virtual] |
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data in the child classes.
Implements vEvent.
Implemented in iEventHistoSPECT, and iEventListSPECT.
void iEventSPECT::Describe | ( | ) | [virtual] |
This function can be used to get a description of the event printed out.
Implements vEvent.
Reimplemented in iEventHistoSPECT, and iEventListSPECT.
Definition at line 60 of file iEventSPECT.cc.
FLTNB iEventSPECT::GetAdditiveCorrections | ( | int | a_bin | ) | [inline, virtual] |
a | bin (0 if only one line) |
Implements vEvent.
Definition at line 87 of file iEventSPECT.hh.
FLTNB iEventSPECT::GetEventScatRate | ( | ) | [inline] |
Definition at line 66 of file iEventSPECT.hh.
FLTNB iEventSPECT::GetEventValue | ( | int | a_bin | ) | [pure virtual] |
Pure virtual function implemented in the child classes.
a | bin (0 if only one line) |
Implements vEvent.
Implemented in iEventListSPECT, and iEventHistoSPECT.
FLTNB iEventSPECT::GetMultiplicativeCorrections | ( | ) | [inline, virtual] |
Implements vEvent.
Definition at line 93 of file iEventSPECT.hh.
FLTNB iEventSPECT::GetNormFactor | ( | ) | [inline] |
Definition at line 60 of file iEventSPECT.hh.
void iEventSPECT::SetEventValue | ( | int | a_bin, |
FLTNBDATA | a_value | ||
) | [pure virtual] |
Set the event value, this is a pure virtual function implemented in the child classes.
a | bin (0 if only one line) |
a_value |
Implements vEvent.
Implemented in iEventListSPECT, and iEventHistoSPECT.
void iEventSPECT::SetNormalizationFactor | ( | FLTNBDATA | a_value | ) | [inline] |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the normalization term.
a | normalization term |
Definition at line 73 of file iEventSPECT.hh.
void iEventSPECT::SetScatterRate | ( | FLTNBDATA | a_value | ) | [inline] |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the scatter correction rate.
a_value |
Definition at line 80 of file iEventSPECT.hh.
FLTNB iEventSPECT::m_eventNormFactor [protected] |
Normalization term. Default value =1.0
Definition at line 120 of file iEventSPECT.hh.
FLTNB iEventSPECT::m_eventScatRate [protected] |
Correction term for scatter rate (unit: s-1). Default value =0.0
Definition at line 119 of file iEventSPECT.hh.