![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
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. More... | |
~iEventNorm () | |
iEventNorm destructor More... | |
int | AllocateSpecificData () |
Inherited and pure virtual from vEvent. More... | |
void | Describe () |
This function can be used to get a description of the event printed out. 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 factor. More... | |
FLTNB | GetMultiplicativeCorrections () |
FLTNB | GetNormalizationFactor () |
FLTNB | GetAttenuationCorrectionFactor () |
FLTNB | GetEventValue (int a_bin) |
FLTNB | GetAdditiveCorrections (int a_bin) |
void | SetEventValue (int a_bin, FLTNBDATA a_value) |
INTNB | GetNbValueBins () |
Not used, so throw an error and Exit. More... | |
void | MultiplyAdditiveCorrections (FLTNB a_factor) |
iEventNorm () | |
iEventNorm constructor. Initialize the member variables to their default values. More... | |
~iEventNorm () | |
iEventNorm destructor More... | |
int | AllocateSpecificData () |
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data in the child classes. More... | |
void | Describe () |
This function can be used to get a description of the event printed out. More... | |
void | SetNormalizationFactor (FLTNBDATA a_value) |
void | SetAttenuationCorrectionFactor (FLTNBDATA a_value) |
FLTNB | GetMultiplicativeCorrections () |
This is a pure virtual function implemented in the child classes. More... | |
FLTNB | GetNormalizationFactor () |
FLTNB | GetAttenuationCorrectionFactor () |
FLTNB | GetEventValue (int a_bin) |
FLTNB | GetAdditiveCorrections (int a_bin) |
void | SetEventValue (int a_bin, FLTNBDATA a_value) |
INTNB | GetNbValueBins () |
Get the number of event value bins. More... | |
void | MultiplyAdditiveCorrections (FLTNB a_factor) |
![]() | |
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) |
void | SetNbLines (uint16_t a_value) |
void | SetID1 (int a_line, uint32_t a_value) |
void | SetID2 (int a_line, uint32_t a_value) |
void | SetVerbose (int a_verbose) |
virtual FLTNB | GetBlankValue () |
This is a pure virtual function implemented in the child classes. More... | |
vEvent () | |
vEvent constructor. Initialize the member variables to their default values. More... | |
virtual | ~vEvent () |
vEvent destructor More... | |
int | AllocateID () |
int | AllocateCustomINTData () |
Instantiate the m_nbCustomINTData array. More... | |
int | AllocateCustomFLTData () |
Instantiate the m_nbCustomFLTData array. 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) |
void | SetNbLines (uint16_t a_value) |
void | SetID1 (int a_line, uint32_t a_value) |
void | SetID2 (int a_line, uint32_t a_value) |
void | SetVerbose (int a_verbose) |
virtual FLTNB | GetBlankValue () |
void | SetEventIndex (int a_eventIndex) |
Set current index associated to the event. More... | |
int64_t | GetEventIndex () |
Get current index associated to the event. More... | |
virtual int | GetNbCustomFLTData () |
virtual int | GetNbCustomINTData () |
virtual void | SetNbCustomFLTData (int a_value) |
initialize the number of custom INT data with a_value More... | |
virtual void | SetNbCustomINTData (int a_value) |
initialize the number of custom INT data with a_value More... | |
virtual EVTFLTDATA * | GetCustomFLTData () |
virtual EVTINTDATA * | GetCustomINTData () |
virtual EVTFLTDATA | GetCustomFLTData (int a_idx) |
virtual EVTINTDATA | GetCustomINTData (int a_idx) |
virtual int | SetCustomFLTData (int a_idx, EVTFLTDATA a_value) |
virtual int | SetCustomINTData (int a_idx, EVTINTDATA a_value) |
Protected Attributes | |
FLTNB | m_normalizationFactor |
FLTNB | m_attenuationCorrectionFactor |
![]() | |
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_dataSpec |
int | m_verbose |
int64_t | m_eventIndex |
EVTFLTDATA * | mp_customFLTData |
EVTINTDATA * | mp_customINTData |
int | m_nbCustomFLTData |
int | m_nbCustomINTData |
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 20 of file code/include/datafile/iEventNorm.hh.
iEventNorm::iEventNorm | ( | ) |
iEventNorm constructor. Initialize the member variables to their default values.
Definition at line 18 of file code/src/datafile/iEventNorm.cc.
iEventNorm::~iEventNorm | ( | ) |
iEventNorm destructor
Definition at line 30 of file code/src/datafile/iEventNorm.cc.
iEventNorm::iEventNorm | ( | ) |
iEventNorm constructor. Initialize the member variables to their default values.
iEventNorm::~iEventNorm | ( | ) |
iEventNorm destructor
|
inlinevirtual |
Inherited and pure virtual from vEvent.
Just do nothing here
Implements vEvent.
Definition at line 44 of file code/include/datafile/iEventNorm.hh.
|
inlinevirtual |
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data in the child classes.
Implements vEvent.
Definition at line 44 of file include/datafile/iEventNorm.hh.
|
virtual |
This function can be used to get a description of the event printed out.
Implements vEvent.
Definition at line 37 of file code/src/datafile/iEventNorm.cc.
|
virtual |
This function can be used to get a description of the event printed out.
Implements vEvent.
|
virtual |
Implements vEvent.
Definition at line 68 of file code/src/datafile/iEventNorm.cc.
|
inline |
Definition at line 84 of file include/datafile/iEventNorm.hh.
|
inline |
Definition at line 84 of file code/include/datafile/iEventNorm.hh.
|
virtual |
Implements vEvent.
Definition at line 53 of file code/src/datafile/iEventNorm.cc.
|
inlinevirtual |
This is a pure virtual function implemented in the child classes.
Implements vEvent.
Definition at line 72 of file include/datafile/iEventNorm.hh.
|
inlinevirtual |
Implements vEvent.
Definition at line 72 of file code/include/datafile/iEventNorm.hh.
|
virtual |
|
virtual |
Not used, so throw an error and Exit.
Implements vEvent.
Definition at line 97 of file code/src/datafile/iEventNorm.cc.
|
inline |
Definition at line 78 of file include/datafile/iEventNorm.hh.
|
inline |
Definition at line 78 of file code/include/datafile/iEventNorm.hh.
|
virtual |
Implements vEvent.
Definition at line 112 of file code/src/datafile/iEventNorm.cc.
|
inline |
Definition at line 66 of file include/datafile/iEventNorm.hh.
|
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 66 of file code/include/datafile/iEventNorm.hh.
|
virtual |
Implements vEvent.
Definition at line 83 of file code/src/datafile/iEventNorm.cc.
|
inline |
Cast the FLTNBDATA value passed as parameter in FLTNB, and set it to the normalization term.
a | normalization term |
Definition at line 59 of file code/include/datafile/iEventNorm.hh.
|
inline |
Definition at line 59 of file include/datafile/iEventNorm.hh.
|
protected |
Attenuation correction factor. Default value = 1.0
Definition at line 132 of file code/include/datafile/iEventNorm.hh.
|
protected |
Normalization correction term. Default value = 1.0
Definition at line 131 of file code/include/datafile/iEventNorm.hh.