CASToR
1.1
Tomographic Reconstruction (PET/SPECT)
|
Inherit from vEvent. Main PET class for the Event objects. More...
#include <iEventPET.hh>
Public Member Functions | |
iEventPET () | |
iEventPET constructor. Initialize the member variables to their default values. More... | |
virtual | ~iEventPET () |
iEventPET destructor More... | |
virtual int | AllocateSpecificData ()=0 |
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data in the child classes. More... | |
virtual void | Describe () |
This function can be used to get a description of the event printed out. More... | |
FLTNB | GetEventRdmRate () |
FLTNB | GetNormFactor () |
FLTNB | GetAtnCorrFactor () |
void | SetRandomRate (FLTNBDATA a_value) |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the random correction term. More... | |
void | SetNormalizationFactor (FLTNBDATA a_value) |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the normalization term. More... | |
void | SetAttenuationCorrectionFactor (FLTNBDATA a_value) |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the attenuation correction term. More... | |
FLTNB | GetMultiplicativeCorrections () |
virtual FLTNB | GetEventValue (int a_bin)=0 |
Pure virtual function implemented in the child classes. More... | |
virtual FLTNB | GetAdditiveCorrections (int a_bin)=0 |
Pure virtual function implemented in the child classes. More... | |
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. More... | |
virtual void | SetScatterRate (int a_bin, FLTNBDATA a_value)=0 |
Set the scatter rate correction term in 1/s, this is a pure virtual function implemented in the child classes. More... | |
Public Member Functions inherited from vEvent | |
vEvent () | |
vEvent constructor. Initialize the member variables to their default values. More... | |
virtual | ~vEvent () |
vEvent destructor More... | |
int | AllocateID () |
Instantiate the mp_ID1 and mp_ID2 indices arrays. More... | |
uint32_t | GetTimeInMs () |
uint16_t | GetNbLines () |
uint32_t | GetID1 (int a_line) |
uint32_t | GetID2 (int a_line) |
uint32_t * | GetEventID1 () |
uint32_t * | GetEventID2 () |
int | GetDataType () |
int | GetDataMode () |
void | SetTimeInMs (uint32_t a_value) |
Set the timestamp of the Event. More... | |
void | SetNbLines (uint16_t a_value) |
Set the number of lines of the Event. More... | |
void | SetID1 (int a_line, uint32_t a_value) |
Set the indice associated with the line index for the 1st ID of the Event. More... | |
void | SetID2 (int a_line, uint32_t a_value) |
Set the indice associated with the line index for the 2nd ID of the Event. More... | |
void | SetVerbose (int a_verbose) |
Set verbosity. More... | |
Protected Attributes | |
FLTNB | m_eventRdmRate |
FLTNB | m_eventNormFactor |
FLTNB | m_atnCorrFactor |
Protected Attributes inherited from vEvent | |
uint32_t | m_timeInMs |
uint16_t | m_nbLines |
uint32_t * | mp_ID1 |
uint32_t * | mp_ID2 |
FLTNB | m_eventValue |
int | m_dataType |
int | m_dataMode |
int | m_verbose |
Inherit from vEvent. Main PET 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 decicated to histogram and list mode PET.
Definition at line 22 of file iEventPET.hh.
iEventPET::iEventPET | ( | ) |
iEventPET constructor. Initialize the member variables to their default values.
Definition at line 32 of file iEventPET.cc.
|
virtual |
iEventPET destructor
Definition at line 51 of file iEventPET.cc.
|
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 iEventListPET, and iEventHistoPET.
|
virtual |
This function can be used to get a description of the event printed out.
Implements vEvent.
Reimplemented in iEventListPET, and iEventHistoPET.
Definition at line 62 of file iEventPET.cc.
|
pure virtual |
Pure virtual function implemented in the child classes.
a | bin (0 if only one line) |
Implements vEvent.
Implemented in iEventListPET, and iEventHistoPET.
|
inline |
Definition at line 72 of file iEventPET.hh.
|
inline |
Definition at line 60 of file iEventPET.hh.
|
pure virtual |
Pure virtual function implemented in the child classes.
a | bin (0 if only one line) |
Implements vEvent.
Implemented in iEventListPET, and iEventHistoPET.
|
inlinevirtual |
Implements vEvent.
Definition at line 99 of file iEventPET.hh.
|
inline |
Definition at line 66 of file iEventPET.hh.
|
inline |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the attenuation correction term.
an | attenuation correction factor |
Definition at line 93 of file iEventPET.hh.
|
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 iEventListPET, and iEventHistoPET.
|
inline |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the normalization term.
a | normalization term |
Definition at line 86 of file iEventPET.hh.
|
inline |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the random correction term.
a | random rate value in 1/s |
Definition at line 79 of file iEventPET.hh.
|
pure virtual |
Set the scatter rate correction term in 1/s, this is a pure virtual function implemented in the child classes.
a | bin (0 if only one line) |
a_value |
Implemented in iEventListPET, and iEventHistoPET.
|
protected |
Correction term for attenuation. Default value =1.0
Definition at line 141 of file iEventPET.hh.
|
protected |
Normalization term. Default value =1.0
Definition at line 140 of file iEventPET.hh.
|
protected |
Correction term for randoms rate (unit: s-1). Default value =0.0
Definition at line 139 of file iEventPET.hh.