![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
Inherit from iEventCT. Class for CT list-mode events. More...
#include <iEventListCT.hh>
Public Member Functions | |
iEventListCT () | |
iEventListCT constructor. Initialize the member variables to their default values. More... | |
~iEventListCT () | |
iEventListCT destructor. More... | |
int | AllocateSpecificData () |
Function allowing the allocation of specific data. Return 0 by default for iEventListCT. More... | |
void | Describe () |
This function can be used to get a description of the event printed out. More... | |
uint8_t | GetKind () |
FLTNB | GetEventValue (int a_bin) |
void | SetKind (uint8_t a_value) |
void | SetEventValue (int a_bin, FLTNBDATA a_value) |
INTNB | GetNbValueBins () |
Get the number of event value bins. More... | |
iEventListCT () | |
iEventListCT constructor. Initialize the member variables to their default values. More... | |
~iEventListCT () | |
iEventListCT 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... | |
uint8_t | GetKind () |
FLTNB | GetEventValue (int a_bin) |
void | SetKind (uint8_t a_value) |
void | SetEventValue (int a_bin, FLTNBDATA a_value) |
INTNB | GetNbValueBins () |
Get the number of event value bins. More... | |
![]() | |
iEventCT () | |
iEventCT constructor. Initialize the member variables to their default values. More... | |
virtual | ~iEventCT () |
iEventCT destructor. More... | |
FLTNB | GetBlankValue () |
FLTNB | GetEventScatRate () |
void | SetBlankValue (FLTNBDATA a_value) |
void | SetScatterRate (FLTNBDATA a_value) |
FLTNB | GetAdditiveCorrections (int a_bin) |
FLTNB | GetMultiplicativeCorrections () |
void | MultiplyAdditiveCorrections (FLTNB a_factor) |
iEventCT () | |
iEventCT constructor. Initialize the member variables to their default values. More... | |
virtual | ~iEventCT () |
iEventCT destructor. More... | |
FLTNB | GetBlankValue () |
This is a pure virtual function implemented in the child classes. More... | |
FLTNB | GetEventScatRate () |
void | SetBlankValue (FLTNBDATA a_value) |
void | SetScatterRate (FLTNBDATA a_value) |
FLTNB | GetAdditiveCorrections (int a_bin) |
FLTNB | GetMultiplicativeCorrections () |
This is a pure virtual function implemented in the child classes. 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) |
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) |
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) |
Private Attributes | |
uint8_t | m_kind |
Additional Inherited Members | |
![]() | |
FLTNB | m_eventScatRate |
FLTNB | m_eventBlankValue |
![]() | |
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 iEventCT. Class for CT list-mode events.
It manages data and functions specific to list mode CT.
Definition at line 18 of file code/include/datafile/iEventListCT.hh.
iEventListCT::iEventListCT | ( | ) |
iEventListCT constructor. Initialize the member variables to their default values.
Definition at line 18 of file code/src/datafile/iEventListCT.cc.
iEventListCT::~iEventListCT | ( | ) |
iEventListCT destructor.
Definition at line 32 of file code/src/datafile/iEventListCT.cc.
iEventListCT::iEventListCT | ( | ) |
iEventListCT constructor. Initialize the member variables to their default values.
iEventListCT::~iEventListCT | ( | ) |
iEventListCT destructor.
|
inlinevirtual |
Function allowing the allocation of specific data. Return 0 by default for iEventListCT.
Implements iEventCT.
Definition at line 41 of file code/include/datafile/iEventListCT.hh.
|
inlinevirtual |
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data in the child classes.
Implements iEventCT.
Definition at line 41 of file include/datafile/iEventListCT.hh.
|
virtual |
This function can be used to get a description of the event printed out.
Reimplemented from iEventCT.
Definition at line 51 of file code/src/datafile/iEventListCT.cc.
|
virtual |
This function can be used to get a description of the event printed out.
Reimplemented from iEventCT.
|
inlinevirtual |
Implements iEventCT.
Definition at line 62 of file code/include/datafile/iEventListCT.hh.
|
inlinevirtual |
Implements iEventCT.
Definition at line 62 of file include/datafile/iEventListCT.hh.
|
inline |
Definition at line 56 of file include/datafile/iEventListCT.hh.
|
inline |
Definition at line 56 of file code/include/datafile/iEventListCT.hh.
|
inlinevirtual |
Get the number of event value bins.
Implements iEventCT.
Definition at line 83 of file include/datafile/iEventListCT.hh.
|
inlinevirtual |
Get the number of event value bins.
Implements iEventCT.
Definition at line 83 of file code/include/datafile/iEventListCT.hh.
|
virtual |
Implements iEventCT.
Definition at line 39 of file code/src/datafile/iEventListCT.cc.
|
inline |
Definition at line 69 of file include/datafile/iEventListCT.hh.
|
inline |
Definition at line 69 of file code/include/datafile/iEventListCT.hh.
|
private |
Event type : unknown (=0), true(=1), single scat(=2), multiple scat(=3)) Default value =0
Definition at line 93 of file code/include/datafile/iEventListCT.hh.