![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
Inherit from iEventSPECT. Class for SPECT list-mode events. More...
#include <iEventListSPECT.hh>
Public Member Functions | |
iEventListSPECT () | |
iEventListSPECT constructor. Initialize the member variables to their default values. | |
~iEventListSPECT () | |
iEventListSPECT destructor. | |
int | AllocateSpecificData () |
Function allowing the allocation of specific data. Return 0 by default for iEventListSPECT. | |
void | Describe () |
This function can be used to get a description of the event printed out. | |
uint8_t | GetKind () |
FLTNB * | GetPOI () |
FLTNB | GetPOI (int a_axis) |
FLTNB | GetEventValue (int a_bin) |
void | SetKind (uint8_t a_value) |
Set the kind of coincidence. | |
void | SetPOI (int a_axis, FLTNBDATA a_value) |
Initialize the POI of the crystal with a value for the specific axis. | |
void | SetEventValue (int a_bin, FLTNBDATA a_value) |
Throw a warning (depending of verbosity) as the event value of a list-mode Event should be equal to 1 and not modified. | |
Private Attributes | |
uint8_t | m_kind |
FLTNB | mp_POI [3] |
Inherit from iEventSPECT. Class for SPECT list-mode events.
It manages data and functions specific to list mode SPECT.
Definition at line 21 of file iEventListSPECT.hh.
iEventListSPECT constructor. Initialize the member variables to their default values.
Definition at line 30 of file iEventListSPECT.cc.
iEventListSPECT destructor.
Definition at line 46 of file iEventListSPECT.cc.
int iEventListSPECT::AllocateSpecificData | ( | ) | [inline, virtual] |
Function allowing the allocation of specific data. Return 0 by default for iEventListSPECT.
Implements iEventSPECT.
Definition at line 45 of file iEventListSPECT.hh.
void iEventListSPECT::Describe | ( | ) | [virtual] |
This function can be used to get a description of the event printed out.
Reimplemented from iEventSPECT.
Definition at line 72 of file iEventListSPECT.cc.
FLTNB iEventListSPECT::GetEventValue | ( | int | a_bin | ) | [inline, virtual] |
Implements iEventSPECT.
Definition at line 80 of file iEventListSPECT.hh.
uint8_t iEventListSPECT::GetKind | ( | ) | [inline] |
Definition at line 61 of file iEventListSPECT.hh.
FLTNB * iEventListSPECT::GetPOI | ( | ) | [inline] |
a_axis |
Definition at line 67 of file iEventListSPECT.hh.
FLTNB iEventListSPECT::GetPOI | ( | int | a_axis | ) | [inline] |
Definition at line 74 of file iEventListSPECT.hh.
void iEventListSPECT::SetEventValue | ( | int | a_bin, |
FLTNBDATA | a_value | ||
) | [virtual] |
Throw a warning (depending of verbosity) as the event value of a list-mode Event should be equal to 1 and not modified.
a_bin | |
a_value |
Implements iEventSPECT.
Definition at line 58 of file iEventListSPECT.cc.
void iEventListSPECT::SetKind | ( | uint8_t | a_value | ) | [inline] |
void iEventListSPECT::SetPOI | ( | int | a_axis, |
FLTNBDATA | a_value | ||
) | [inline] |
Initialize the POI of the crystal with a value for the specific axis.
a_axis | |
a_value |
Definition at line 95 of file iEventListSPECT.hh.
uint8_t iEventListSPECT::m_kind [private] |
Coincidence type : unknown (=0), true(=1), single scat(=2), multiple scat(=3)) Default value =0
Definition at line 114 of file iEventListSPECT.hh.
FLTNB iEventListSPECT::mp_POI[3] [private] |
Position of interaction in the crystal along each axis (mm). Default value =0.0;0.0;-1.0
Definition at line 115 of file iEventListSPECT.hh.