![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
Inherit from iEventPET. Class for PET list-mode events. More...
#include <iEventListPET.hh>
Public Member Functions | |
iEventListPET () | |
iEventListPET constructor. Initialize the member variables to their default values. More... | |
~iEventListPET () | |
iEventListPET destructor. More... | |
int | AllocateSpecificData () |
Function allowing the allocation of specific data. Return 0 by default for iEventListPET. More... | |
void | Describe () |
This function can be used to get a description of the event printed out. More... | |
uint8_t | GetKind () |
FLTNB | GetEventScatRate (int a_bin) |
FLTNB | GetTOFMeasurementInPs () |
FLTNB | GetEventTOFResolutionInPs () |
FLTNB * | GetPOI1 () |
FLTNB * | GetPOI2 () |
FLTNB | GetPOI1 (uint8_t axis) |
FLTNB | GetPOI2 (uint8_t axis) |
FLTNB | GetEventValue (int a_bin) |
void | SetKind (uint8_t a_value) |
void | SetScatterRate (int a_bin, FLTNBDATA a_value) |
void | SetTOFMeasurementInPs (FLTNB a_value) |
void | SetTOFMeasurementRangeInPs (FLTNB a_value) |
void | SetEventTOFResolutionInPs (FLTNB a_value) |
void | SetPOI1 (int a_axis, FLTNBDATA a_value) |
void | SetPOI2 (int a_axis, FLTNBDATA a_value) |
void | SetEventValue (int a_bin, FLTNBDATA a_value) |
FLTNB | GetAdditiveCorrections (int a_bin) |
INTNB | GetNbValueBins () |
Get the number of event value bins. More... | |
void | SetHasTOFInfo (bool a_hasTOFInfo) |
void | MultiplyAdditiveCorrections (FLTNB a_factor) |
iEventListPET () | |
iEventListPET constructor. Initialize the member variables to their default values. More... | |
~iEventListPET () | |
iEventListPET 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 | GetEventScatRate (int a_bin) |
FLTNB | GetTOFMeasurementInPs () |
FLTNB * | GetPOI1 () |
FLTNB * | GetPOI2 () |
FLTNB | GetPOI1 (uint8_t axis) |
FLTNB | GetPOI2 (uint8_t axis) |
FLTNB | GetEventValue (int a_bin) |
void | SetKind (uint8_t a_value) |
void | SetScatterRate (int a_bin, FLTNBDATA a_value) |
void | SetTOFMeasurementInPs (FLTNB a_value) |
void | SetTOFMeasurementRangeInPs (FLTNB a_value) |
void | SetPOI1 (int a_axis, FLTNBDATA a_value) |
void | SetPOI2 (int a_axis, FLTNBDATA a_value) |
void | SetEventValue (int a_bin, FLTNBDATA a_value) |
FLTNB | GetAdditiveCorrections (int a_bin) |
INTNB | GetNbValueBins () |
Get the number of event value bins. More... | |
void | SetHasTOFInfo (bool a_hasTOFInfo) |
void | MultiplyAdditiveCorrections (FLTNB a_factor) |
void | SetTOFEventResolutionInPs (FLTNBDATA resolutionInPs) |
FLTNB | GetTOFEventResolutionInPs () const |
Get TOF resolution in ps. More... | |
![]() | |
iEventPET () | |
iEventPET constructor. Initialize the member variables to their default values. More... | |
virtual | ~iEventPET () |
iEventPET destructor More... | |
FLTNB | GetEventRdmRate () |
FLTNB | GetNormFactor () |
FLTNB | GetAtnCorrFactor () |
void | SetRandomRate (FLTNBDATA a_value) |
void | SetNormalizationFactor (FLTNBDATA a_value) |
void | SetAttenuationCorrectionFactor (FLTNBDATA a_value) |
FLTNB | GetMultiplicativeCorrections () |
iEventPET () | |
iEventPET constructor. Initialize the member variables to their default values. More... | |
virtual | ~iEventPET () |
iEventPET destructor More... | |
FLTNB | GetEventRdmRate () |
FLTNB | GetNormFactor () |
FLTNB | GetAtnCorrFactor () |
void | SetRandomRate (FLTNBDATA a_value) |
void | SetNormalizationFactor (FLTNBDATA a_value) |
void | SetAttenuationCorrectionFactor (FLTNBDATA a_value) |
FLTNB | GetMultiplicativeCorrections () |
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 () |
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) |
Private Attributes | |
uint8_t | m_kind |
FLTNB | m_eventScatRate |
FLTNB | m_TOFMeasurementInPs |
FLTNB | mp_POI1 [3] |
FLTNB | mp_POI2 [3] |
FLTNB | m_TOFMeasurementRangeInPs |
FLTNB | m_eventTOFResolutionInPs |
bool | m_hasTOFInfo |
FLTNB | m_TOFEventResolutionInPs |
Additional Inherited Members | |
![]() | |
FLTNB | m_eventRdmRate |
FLTNB | m_eventNormFactor |
FLTNB | m_atnCorrFactor |
![]() | |
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 iEventPET. Class for PET list-mode events.
It manages data and functions specific to list mode PET.
Definition at line 40 of file code/include/datafile/iEventListPET.hh.
iEventListPET::iEventListPET | ( | ) |
iEventListPET constructor. Initialize the member variables to their default values.
Definition at line 18 of file code/src/datafile/iEventListPET.cc.
iEventListPET::~iEventListPET | ( | ) |
iEventListPET destructor.
Definition at line 44 of file code/src/datafile/iEventListPET.cc.
iEventListPET::iEventListPET | ( | ) |
iEventListPET constructor. Initialize the member variables to their default values.
iEventListPET::~iEventListPET | ( | ) |
iEventListPET destructor.
|
inlinevirtual |
Function allowing the allocation of specific data. Return 0 by default for iEventListPET.
Implements iEventPET.
Definition at line 63 of file code/include/datafile/iEventListPET.hh.
|
inlinevirtual |
Pure virtual function implemented in the child classes, dedicated to the allocation of specific data in the child classes.
Implements iEventPET.
Definition at line 63 of file include/datafile/iEventListPET.hh.
|
virtual |
This function can be used to get a description of the event printed out.
Reimplemented from iEventPET.
Definition at line 63 of file code/src/datafile/iEventListPET.cc.
|
virtual |
This function can be used to get a description of the event printed out.
Reimplemented from iEventPET.
|
virtual |
Implements iEventPET.
Definition at line 88 of file code/src/datafile/iEventListPET.cc.
|
inline |
Definition at line 84 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 84 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 99 of file code/include/datafile/iEventListPET.hh.
|
inlinevirtual |
Implements iEventPET.
Definition at line 126 of file include/datafile/iEventListPET.hh.
|
inlinevirtual |
Implements iEventPET.
Definition at line 132 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 77 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 77 of file include/datafile/iEventListPET.hh.
|
inlinevirtual |
Get the number of event value bins.
Implements iEventPET.
Definition at line 198 of file include/datafile/iEventListPET.hh.
|
inlinevirtual |
Get the number of event value bins.
Implements iEventPET.
Definition at line 211 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 99 of file include/datafile/iEventListPET.hh.
|
inline |
axis |
Definition at line 105 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 112 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 118 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 105 of file include/datafile/iEventListPET.hh.
|
inline |
axis |
Definition at line 111 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 119 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 125 of file code/include/datafile/iEventListPET.hh.
|
inline |
Get TOF resolution in ps.
Definition at line 229 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 93 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 93 of file include/datafile/iEventListPET.hh.
|
inlinevirtual |
Implements vEvent.
Definition at line 213 of file include/datafile/iEventListPET.hh.
|
inlinevirtual |
Implements vEvent.
Definition at line 226 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 175 of file code/include/datafile/iEventListPET.hh.
|
virtual |
Implements iEventPET.
Definition at line 51 of file code/src/datafile/iEventListPET.cc.
|
inline |
Definition at line 206 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 219 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 136 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 142 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 170 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 183 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 178 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 191 of file code/include/datafile/iEventListPET.hh.
|
inlinevirtual |
Implements iEventPET.
Definition at line 145 of file include/datafile/iEventListPET.hh.
|
inlinevirtual |
Implements iEventPET.
Definition at line 151 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 221 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 155 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 161 of file code/include/datafile/iEventListPET.hh.
|
inline |
Definition at line 162 of file include/datafile/iEventListPET.hh.
|
inline |
Definition at line 168 of file code/include/datafile/iEventListPET.hh.
|
private |
Correction term for scatter rate (unit: s-1). Default value =0.0
Definition at line 237 of file code/include/datafile/iEventListPET.hh.
|
private |
Event-specific TOF resolution (in ps). Default value = -1 (non existent)
Definition at line 242 of file code/include/datafile/iEventListPET.hh.
|
private |
Flag indicating whether TOF information exists or not
Definition at line 243 of file code/include/datafile/iEventListPET.hh.
|
private |
Coincidence type : unknown (=0), true(=1), single scat(=2), multiple scat(=3), random(=4)) Default value =KIND_UNKNOWN
Definition at line 236 of file code/include/datafile/iEventListPET.hh.
|
private |
Event-specific TOF resolution in ps
Definition at line 246 of file include/datafile/iEventListPET.hh.
|
private |
TOF measurement in ps, corresponding to the difference in arrival time between two coincident photons. Default value = 0.0
Definition at line 238 of file code/include/datafile/iEventListPET.hh.
|
private |
Maximum range of values for TOF delta time measurements (in ps)
Definition at line 241 of file code/include/datafile/iEventListPET.hh.
|
private |
Position of interaction in the crystal #1 along each axis (mm). Default value =0.0;0.0;-1.0
Definition at line 239 of file code/include/datafile/iEventListPET.hh.
|
private |
Position of interaction in the crystal #2 along each axis (mm). Default value =0.0;0.0;-1.0
Definition at line 240 of file code/include/datafile/iEventListPET.hh.