![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
Inherit from vEvent. Used for normalization events for sensitivity computation. More...
#include <iEventNorm.hh>
Public Member Functions | |
iEventNorm () | |
iEventNorm constructor. Initialize the member variables to their default values. | |
~iEventNorm () | |
iEventNorm destructor | |
int | AllocateSpecificData () |
Inherited and pure virtual from vEvent. | |
void | Describe () |
This function can be used to get a description of the event printed out. | |
void | SetNormalizationFactor (FLTNBDATA a_value) |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the normalization term. | |
void | SetAttenuationCorrectionFactor (FLTNBDATA a_value) |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the attenuation correction factor. | |
FLTNB | GetMultiplicativeCorrections () |
FLTNB | GetNormalizationFactor () |
FLTNB | GetAttenuationCorrectionFactor () |
FLTNB | GetEventValue (int a_bin) |
Not used, so throw an error an Exit. | |
FLTNB | GetAdditiveCorrections (int a_bin) |
Not used, so throw an error an Exit. | |
void | SetEventValue (int a_bin, FLTNBDATA a_value) |
Not used, so throw an error an Exit. | |
Protected Attributes | |
FLTNB | m_normalizationFactor |
FLTNB | m_attenuationCorrectionFactor |
Inherit from vEvent. Used for normalization events for sensitivity computation.
This class is designed to represent a normalization event. It is used for sensitivity computation.
A normalization datafile will be interpreted as a collection of iEventNorm events where each event
contains a list of considered LORs with associated normalization factors.
Definition at line 27 of file iEventNorm.hh.
iEventNorm constructor. Initialize the member variables to their default values.
Definition at line 29 of file iEventNorm.cc.
iEventNorm destructor
Definition at line 41 of file iEventNorm.cc.
int iEventNorm::AllocateSpecificData | ( | ) | [inline, virtual] |
Inherited and pure virtual from vEvent.
Just do nothing here
Implements vEvent.
Definition at line 52 of file iEventNorm.hh.
void iEventNorm::Describe | ( | ) | [virtual] |
This function can be used to get a description of the event printed out.
Implements vEvent.
Definition at line 48 of file iEventNorm.cc.
FLTNB iEventNorm::GetAdditiveCorrections | ( | int | a_bin | ) | [virtual] |
Not used, so throw an error an Exit.
a | bin (0 if noTOF) |
Implements vEvent.
Definition at line 79 of file iEventNorm.cc.
FLTNB iEventNorm::GetAttenuationCorrectionFactor | ( | ) | [inline] |
Definition at line 93 of file iEventNorm.hh.
FLTNB iEventNorm::GetEventValue | ( | int | a_bin | ) | [virtual] |
Not used, so throw an error an Exit.
a | bin (0 if noTOF) |
Implements vEvent.
Definition at line 65 of file iEventNorm.cc.
FLTNB iEventNorm::GetMultiplicativeCorrections | ( | ) | [inline, virtual] |
Implements vEvent.
Definition at line 81 of file iEventNorm.hh.
FLTNB iEventNorm::GetNormalizationFactor | ( | ) | [inline] |
Definition at line 87 of file iEventNorm.hh.
void iEventNorm::SetAttenuationCorrectionFactor | ( | FLTNBDATA | a_value | ) | [inline] |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the attenuation correction factor.
an | attenuation correction factor |
Definition at line 75 of file iEventNorm.hh.
void iEventNorm::SetEventValue | ( | int | a_bin, |
FLTNBDATA | a_value | ||
) | [virtual] |
Not used, so throw an error an Exit.
a | bin (ignored) |
a_value |
Implements vEvent.
Definition at line 93 of file iEventNorm.cc.
void iEventNorm::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 68 of file iEventNorm.hh.
FLTNB iEventNorm::m_attenuationCorrectionFactor [protected] |
Attenuation correction factor. Default value = 1.0
Definition at line 132 of file iEventNorm.hh.
FLTNB iEventNorm::m_normalizationFactor [protected] |
Normalization correction term. Default value = 1.0
Definition at line 131 of file iEventNorm.hh.