CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
Public Member Functions | Private Member Functions | Private Attributes | List of all members
iDataFilePET Class Reference

Inherit from vDataFile. Class that manages the reading of a PET input file (header + data). More...

#include <iDataFilePET.hh>

Inheritance diagram for iDataFilePET:
Inheritance graph
Collaboration diagram for iDataFilePET:
Collaboration graph

Public Member Functions

 iDataFilePET ()
 iDataFilePET constructor. Initialize the member variables to their default values. More...
 
 ~iDataFilePET ()
 iDataFilePET destructor. More...
 
int ReadSpecificInfoInHeader (bool a_affectQuantificationFlag)
 
int WriteHeader ()
 Generate a header file according to the data output information. More...
 
int ComputeSizeEvent ()
 Computation of the size of each event according to the mandatory/optional correction fields. More...
 
int PrepareDataFile ()
 Store different kind of information inside arrays (data relative to specific correction as well as basic raw data for the case data is loaded in RAM)
Use the flag provided by the user to determine how the data has to be sorted (preloaded or read on the fly) More...
 
int WriteEvent (vEvent *ap_Event, int a_th)
 
vEventGetEventSpecific (char *ap_buffer, int a_th)
 
void DescribeSpecific ()
 Implementation of the pure virtual eponym function that simply prints info about the datafile. More...
 
bool GetTOFInfoFlag ()
 
void SetTOFInfoFlag ()
 Enable ToF flag in the datafile. More...
 
bool GetIgnoreTOFFlag ()
 
void SetTOFResolutionInPs (FLTNB a_TOFResolutionInPs, int a_reso)
 
void SetTOFProbabilities (FLTNB a_TOFProbability, int a_reso)
 
void SetTOFOffsetPs (FLTNB a_TOFOffset, int a_reso)
 
void SetNbTOFResolutionsAndAllocateArray (int a_nbTOFResolutions)
 
int GetNbTOFResolutions ()
 
FLTNB GetTOFResolutionInPs (int a_reso)
 
FLTNB GetTOFProbabilities (int a_reso)
 
FLTNB GetTOFOffsetPs (int a_reso)
 
int GetNbTOFBins ()
 
FLTNB GetTOFBinSizeInPs ()
 
FLTNB GetTOFQuantizationBinSizeInPs ()
 
void SetTOFMeasurementRangeInPs (FLTNB a_TOFMeasurementRangeInPs)
 
FLTNB GetTOFMeasurementRangeInPs ()
 
void SetTOFEventResolutionFlag ()
 
bool GetTOFEventResolutionFlag ()
 
FLTNB GetMaxAxialDiffmm ()
 
void SetMaxNumberOfLinesPerEvent (uint16_t a_value)
 
uint16_t GetMaxNumberOfLinesPerEvent ()
 
void SetIsotope (string a_value)
 
string GetIsotope ()
 
void SetIgnoreTOFFlag (bool a_ignoreTOFFlag)
 
void SetEventKindFlagOn ()
 set to true the flag indicating the presence of the kind of a list-mode event in the datafile TODO check if consistent with datafile type More...
 
void SetAtnCorrectionFlagOn ()
 set to true the flag indicating the presence of attenuation correction factors in the datafile More...
 
void SetNormCorrectionFlagOn ()
 set to true the flag indicating the presence of normalization correction factors in the datafile More...
 
void SetScatterCorrectionFlagOn ()
 set to true the flag indicating the presence of scatter correction factors in the datafile More...
 
void SetRandomCorrectionFlagOn ()
 set to true the flag indicating the presence of random correction factors in the datafile More...
 
bool GetNormCorrectionFlag ()
 Simply return m_normCorrectionFlag. More...
 
bool GetAtnCorrectionFlag ()
 Simply return m_atnCorrectionFlag. More...
 
bool GetEventKindFlag ()
 Simply return m_eventKindFlag. More...
 
bool GetScatCorrectionFlag ()
 Simply return m_scatCorrectionFlag. More...
 
bool GetRandCorrectionFlag ()
 Simply return m_randCorrectionFlag. More...
 
int PROJ_InitFile ()
 Initialize the fstream objets for output writing as well as some other variables specific to the Projection script (Event-based correction flags, Estimated size of data file) More...
 
int PROJ_GetScannerSpecificParameters ()
 Get PET specific parameters for projections from the scanner object, through the scannerManager. More...
 
 iDataFilePET ()
 iDataFilePET constructor. Initialize the member variables to their default values. More...
 
 ~iDataFilePET ()
 iDataFilePET destructor. More...
 
int ReadSpecificInfoInHeader (bool a_affectQuantificationFlag)
 
int WriteHeader ()
 This function is implemented in child classes.
Generate a header file according to the data output information. More...
 
int ComputeSizeEvent ()
 This function is implemented in child classes
Computation of the size of each event according to the mandatory/optional correction fields. More...
 
int PrepareDataFile ()
 This function is implemented in child classes
Store different kind of information inside arrays (data relative to specific correction as well as basic raw data for the case data is loaded in RAM)
Use the flag provided by the user to determine how the data has to be sorted (preloaded or read on the fly) More...
 
int WriteEvent (vEvent *ap_Event, int a_th)
 
vEventGetEventSpecific (char *ap_buffer, int a_th)
 
void DescribeSpecific ()
 A pure virtual function used to describe the specific parts of the datafile. More...
 
bool GetTOFInfoFlag ()
 
void SetTOFInfoFlag ()
 
bool GetIgnoreTOFFlag ()
 
void SetTOFResolutionInPs (FLTNB a_TOFResolutionInPs)
 
FLTNB GetTOFResolutionInPs ()
 
int GetNbTOFBins ()
 
FLTNB GetTOFBinSizeInPs ()
 
FLTNB GetTOFQuantizationBinSizeInPs ()
 
void SetTOFMeasurementRangeInPs (FLTNB a_TOFMeasurementRangeInPs)
 
FLTNB GetTOFMeasurementRangeInPs ()
 
FLTNB GetMaxAxialDiffmm ()
 
void SetMaxNumberOfLinesPerEvent (uint16_t a_value)
 
uint16_t GetMaxNumberOfLinesPerEvent ()
 
void SetIsotope (string a_value)
 
string GetIsotope ()
 
void SetIgnoreTOFFlag (bool a_ignoreTOFFlag)
 
void SetEventKindFlagOn ()
 
void SetAtnCorrectionFlagOn ()
 
void SetNormCorrectionFlagOn ()
 
void SetScatterCorrectionFlagOn ()
 
void SetRandomCorrectionFlagOn ()
 
bool GetNormCorrectionFlag ()
 
bool GetAtnCorrectionFlag ()
 
bool GetEventKindFlag ()
 
bool GetScatCorrectionFlag ()
 
bool GetRandCorrectionFlag ()
 
void SetIgnoreScatCorrectionFlag (bool a_ignoreScatCorrectionFlag)
 Set the boolean m_ignoreScatCorrectionFlag to a_ignoreScatCorrectionFlag. More...
 
void SetIgnoreRandCorrectionFlag (bool a_ignoreRandCorrectionFlag)
 Set the boolean m_ignoreRandCorrectionFlag to a_ignoreRandCorrectionFlag. More...
 
void SetIgnoreNormCorrectionFlag (bool a_ignoreNormCorrectionFlag)
 Set the boolean m_ignoreNormCorrectionFlag to a_ignoreNormCorrectionFlag. More...
 
void SetIgnoreAttnCorrectionFlag (bool a_ignoreAttnCorrectionFlag)
 Set the boolean m_ignoreAttnCorrectionFlag to a_ignoreAttnCorrectionFlag. More...
 
bool GetPerEventTOFResolutionFlag () const
 Simply return m_perEventTOFResolutionFlag. More...
 
void SetPerEventTOFResolutionFlag (bool a_perEventTOFResolutionFlag)
 Set a boolean indicating the presence of per event time-of-flight (ToF) resolution values in datafile. More...
 
int PROJ_InitFile ()
 This function is implemented in child classes
Initialize the fstream objets for output writing as well as some other variables specific to the Projection script. More...
 
int PROJ_GetScannerSpecificParameters ()
 This function is implemented in child classes
It is used to set several variables of the datafile when using the projection script.
Get modality specific parameters from the scanner object, through the scannerManager. More...
 
- Public Member Functions inherited from vDataFile
 vDataFile ()
 vDataFile constructor. More...
 
virtual ~vDataFile ()
 vDataFile destructor. More...
 
int ReadInfoInHeader (bool a_affectQuantificationFlag=true)
 
int SetParametersFrom (vDataFile *ap_DataFile)
 
int CheckParameters ()
 Check the initialization of member variables
Call the CheckSpecificParameters() function implemented in child classes. More...
 
int InitializeMappedFile ()
 Check the datafile existency, map it to memory and get the raw char* pointer.
. More...
 
int OpenFileForWriting (string a_suffix="")
 
int CloseFile ()
 Close as many binary file stream for writing. More...
 
vEventGetEvent (int64_t a_eventIndex, int a_th=0)
 
void GetEventIndexStartAndStop (int64_t *ap_indexStart, int64_t *ap_indexStop, int a_subsetNum=0, int a_NbSubsets=1)
 
int CheckConsistencyWithAnotherBedDataFile (vDataFile *ap_DataFile)
 
void Describe ()
 A function used to describe the generic parts of the datafile. More...
 
int PROJ_WriteData ()
 Write/Merge chunk of data in a general data file. More...
 
int PROJ_DeleteTmpDataFile ()
 Delete temporary datafile used for multithreaded output writing if needed. More...
 
vEventPROJ_GenerateEvent (int idx_elt1, int idx_elt2, int a_th)
 
int GetBedIndex ()
 
int GetDataMode ()
 
string GetDataModeToString ()
 
int GetDataType ()
 
string GetDataTypeToString ()
 
int GetDataSpec ()
 
string GetDataSpecToString ()
 
int64_t GetSize ()
 
int64_t GetEventSize ()
 
string GetHeaderDataFileName ()
 
string GetDataFileName ()
 
FLTNB GetStartTime ()
 
FLTNB GetDuration ()
 
FLTNB GetCalibrationFactor ()
 
FLTNBGetPOIResolution ()
 
bool * GetPOIDirectionFlag ()
 
bool GetPOIInfoFlag ()
 
bool GetIgnorePOIFlag ()
 
virtual int GetMaxRingDiff ()
 Return an error by default.
This function is surcharged by the PET (and CT) scanner daughter class. More...
 
void SetDataMode (int a_dataMode)
 
void SetDataType (int a_dataType)
 
void SetBedIndex (int a_bedIndex)
 
bool GetBedPositionFlag ()
 
FLTNB GetRelativeBedPosition ()
 
void SetVerbose (int a_verboseLevel)
 
int GetVerbose ()
 Get the verbose level. More...
 
void SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
 
void SetPOIResolution (FLTNB ap_value[3])
 
void SetIgnorePOIFlag (bool a_ignorePOIFlag)
 
void SetHeaderDataFileName (const string &a_headerFileName)
 
void SetBinaryDataFileName (const string &a_dataFileName)
 
void SetCalibrationFactor (FLTNB a_value)
 
void SetNbEvents (int64_t a_value)
 
void SetStartTime (FLTNB a_value)
 
void SetDuration (FLTNB a_value)
 
string GetScannerName ()
 
virtual int Shuffle (int64_t)
 !!!\ This function has been modified to be used specifically with a More...
 
 vDataFile ()
 vDataFile constructor. More...
 
virtual ~vDataFile ()
 vDataFile destructor. More...
 
int ReadInfoInHeader (bool a_affectQuantificationFlag=true)
 
int SetParametersFrom (vDataFile *ap_DataFile)
 
int CheckParameters ()
 
int InitializeMappedFile ()
 
int InitializeAdditionalData (const string &a_pathToAdditionalData)
 Memory allocation and initialization for the additional data matrices. More...
 
FLTNBGetNewAdditionalDataMatrix (INTNB a_nbDataPerEvent)
 Allocate the memory for this additional data matrix and return the pointer to the matrix. More...
 
int OpenFileForWriting (string a_suffix="")
 
int CloseFile ()
 
vEventGetEvent (int64_t a_eventIndex, int a_th=0)
 
void GetEventIndexStartAndStop (int64_t *ap_indexStart, int64_t *ap_indexStop, int a_subsetNum=0, int a_NbSubsets=1)
 
int CheckConsistencyWithAnotherBedDataFile (vDataFile *ap_DataFile)
 
void Describe ()
 
int PROJ_WriteData ()
 
int PROJ_DeleteTmpDataFile ()
 
vEventPROJ_GenerateEvent (int idx_elt1, int idx_elt2, int a_th)
 
int GetBedIndex ()
 
int GetDataMode ()
 
string GetDataModeToString ()
 
int GetDataType ()
 
string GetDataTypeToString ()
 
int GetDataSpec ()
 
string GetDataSpecToString ()
 
int64_t GetSize ()
 
int64_t GetEventSize ()
 
string GetHeaderDataFileName ()
 
string GetDataFileName ()
 
FLTNB GetStartTime ()
 
FLTNB GetDuration ()
 
FLTNB GetCalibrationFactor ()
 
FLTNBGetPOIResolution ()
 
bool * GetPOIDirectionFlag ()
 
bool GetPOIInfoFlag ()
 
bool GetIgnorePOIFlag ()
 
virtual int GetMaxRingDiff ()
 
void SetDataMode (int a_dataMode)
 
void SetDataType (int a_dataType)
 
void SetBedIndex (int a_bedIndex)
 
bool GetBedPositionFlag ()
 
FLTNB GetRelativeBedPosition ()
 
void SetVerbose (int a_verboseLevel)
 
int GetVerbose ()
 
void SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
 
void SetPOIResolution (FLTNB ap_value[3])
 
void SetIgnorePOIFlag (bool a_ignorePOIFlag)
 
void SetHeaderDataFileName (const string &a_headerFileName)
 
void SetBinaryDataFileName (const string &a_dataFileName)
 
void SetCalibrationFactor (FLTNB a_value)
 
int64_t GetNbEvents ()
 Get the total number of events in the datafile. More...
 
void SetNbEvents (int64_t a_value)
 
void SetStartTime (FLTNB a_value)
 
void SetDuration (FLTNB a_value)
 
string GetScannerName ()
 
int GetNbAdditionalData ()
 Get the number of additional data. More...
 
virtual int Shuffle (int64_t)
 

Private Member Functions

int SetSpecificParametersFrom (vDataFile *ap_DataFile)
 
int CheckSpecificParameters ()
 Check parameters specific to PET data. More...
 
int WriteListEvent (iEventListPET *ap_Event, int a_th=0)
 
int WriteHistoEvent (iEventHistoPET *ap_Event, int a_th)
 
int WriteNormEvent (iEventNorm *ap_Event, int a_th)
 
int CheckFileSizeConsistency ()
 This function is implemented in child classes
Check if file size is consistent. More...
 
int CheckSpecificConsistencyWithAnotherDataFile (vDataFile *ap_DataFile)
 
int SetSpecificParametersFrom (vDataFile *ap_DataFile)
 
int CheckSpecificParameters ()
 This function is implemented in child classes
Check specific parameters of child classes. More...
 
int WriteListEvent (iEventListPET *ap_Event, int a_th=0)
 
int WriteHistoEvent (iEventHistoPET *ap_Event, int a_th)
 
int WriteNormEvent (iEventNorm *ap_Event, int a_th)
 
int CheckFileSizeConsistency ()
 
int CheckSpecificConsistencyWithAnotherDataFile (vDataFile *ap_DataFile)
 

Private Attributes

uint16_t m_maxNumberOfLinesPerEvent
 
FLTNB m_maxAxialDiffmm
 
string m_isotope
 
bool m_eventKindFlag
 
bool m_atnCorrectionFlag
 
bool m_ignoreAttnCorrectionFlag
 
bool m_normCorrectionFlag
 
bool m_ignoreNormCorrectionFlag
 
bool m_scatCorrectionFlag
 
bool m_ignoreScatCorrectionFlag
 
bool m_randCorrectionFlag
 
bool m_ignoreRandCorrectionFlag
 
bool m_TOFInfoFlag
 
bool m_ignoreTOFFlag
 
bool m_TOFEventResolutionFlag
 
int m_nbTOFResolutions
 
FLTNBmp_TOFResolutionInPs
 
FLTNBmp_TOFProbabilities
 
FLTNBmp_TOFOffsetPs
 
int m_nbTOFBins
 
FLTNB m_TOFBinSizeInPs
 
FLTNB m_TOFQuantizationBinSizeInPs
 
FLTNB m_TOFMeasurementRangeInPs
 
FLTNB m_TOFResolutionInPs
 
bool m_perEventTOFResolutionFlag
 

Additional Inherited Members

- Public Attributes inherited from vDataFile
FLTNB ** m2p_additionalData
 
- Protected Attributes inherited from vDataFile
oImageDimensionsAndQuantificationmp_ID
 
int m_verbose
 
string m_headerFileName
 
string m_dataFileName
 
int64_t m_nbEvents
 
int m_dataMode
 
int m_dataType
 
int m_dataSpec
 
FLTNB m_startTimeInSec
 
FLTNB m_durationInSec
 
FLTNB m_calibrationFactor
 
int m_bedIndex
 
FLTNB m_relativeBedPosition
 
bool m_bedPositionFlag
 
string m_scannerName
 
bool m_POIInfoFlag
 
bool m_ignorePOIFlag
 
bool mp_POIDirectionFlag [3]
 
FLTNB mp_POIResolution [3]
 
int64_t m_sizeEvent
 
fstream ** m2p_dataFile
 
vEvent ** m2p_BufferEvent
 
int64_t m_mpi1stEvent
 
int64_t m_mpiLastEvent
 
int64_t m_mpiNbEvents
 
oMemoryMappedmp_MappedFile
 
char * mp_mappedMemory
 
int m_nbAdditionalData
 
INTNBmp_additionalDataSize
 
bool m_loadedAdditional
 
int m_nbCustomINTData
 
int m_nbCustomFLTData
 

Detailed Description

Inherit from vDataFile. Class that manages the reading of a PET input file (header + data).

It contains several arrays corresponding to the different kind of informations the data file could contain.
As many booleans as arrays say if the data are here or not. The data file can be either completely loaded, or read event by event during reconstruction.
MPI is coming here to cut the data file into peaces (also either can be loaded or read on-the-fly).

Definition at line 21 of file code/include/datafile/iDataFilePET.hh.

Constructor & Destructor Documentation

◆ iDataFilePET() [1/2]

iDataFilePET::iDataFilePET ( )

iDataFilePET constructor. Initialize the member variables to their default values.

Definition at line 16 of file code/src/datafile/iDataFilePET.cc.

◆ ~iDataFilePET() [1/2]

iDataFilePET::~iDataFilePET ( )

iDataFilePET destructor.

Definition at line 54 of file code/src/datafile/iDataFilePET.cc.

◆ iDataFilePET() [2/2]

iDataFilePET::iDataFilePET ( )

iDataFilePET constructor. Initialize the member variables to their default values.

◆ ~iDataFilePET() [2/2]

iDataFilePET::~iDataFilePET ( )

iDataFilePET destructor.

Member Function Documentation

◆ CheckFileSizeConsistency() [1/2]

int iDataFilePET::CheckFileSizeConsistency ( )
privatevirtual

Implements vDataFile.

◆ CheckFileSizeConsistency() [2/2]

int iDataFilePET::CheckFileSizeConsistency ( )
privatevirtual

This function is implemented in child classes
Check if file size is consistent.

Returns
0 if success, and positive value otherwise.

Implements vDataFile.

Definition at line 734 of file code/src/datafile/iDataFilePET.cc.

Here is the caller graph for this function:

◆ CheckSpecificConsistencyWithAnotherDataFile() [1/2]

int iDataFilePET::CheckSpecificConsistencyWithAnotherDataFile ( vDataFile ap_DataFile)
privatevirtual

Implements vDataFile.

◆ CheckSpecificConsistencyWithAnotherDataFile() [2/2]

int iDataFilePET::CheckSpecificConsistencyWithAnotherDataFile ( vDataFile ap_DataFile)
privatevirtual

Implements vDataFile.

Definition at line 801 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckSpecificParameters() [1/2]

int iDataFilePET::CheckSpecificParameters ( )
privatevirtual

This function is implemented in child classes
Check specific parameters of child classes.

Returns
0 if success, and positive value otherwise.

Implements vDataFile.

◆ CheckSpecificParameters() [2/2]

int iDataFilePET::CheckSpecificParameters ( )
privatevirtual

Check parameters specific to PET data.

Returns
0 if success, and positive value otherwise.

Implements vDataFile.

Definition at line 649 of file code/src/datafile/iDataFilePET.cc.

Here is the caller graph for this function:

◆ ComputeSizeEvent() [1/2]

int iDataFilePET::ComputeSizeEvent ( )
virtual

Computation of the size of each event according to the mandatory/optional correction fields.

Returns
0 is success, positive value otherwise

Implements vDataFile.

Definition at line 181 of file code/src/datafile/iDataFilePET.cc.

Here is the caller graph for this function:

◆ ComputeSizeEvent() [2/2]

int iDataFilePET::ComputeSizeEvent ( )
virtual

This function is implemented in child classes
Computation of the size of each event according to the mandatory/optional correction fields.

Returns
0 is success, positive value otherwise

Implements vDataFile.

◆ DescribeSpecific() [1/2]

void iDataFilePET::DescribeSpecific ( )
virtual

Implementation of the pure virtual eponym function that simply prints info about the datafile.

Implements vDataFile.

Definition at line 608 of file code/src/datafile/iDataFilePET.cc.

◆ DescribeSpecific() [2/2]

void iDataFilePET::DescribeSpecific ( )
virtual

A pure virtual function used to describe the specific parts of the datafile.

Implements vDataFile.

◆ GetAtnCorrectionFlag() [1/2]

bool iDataFilePET::GetAtnCorrectionFlag ( )
inline

Definition at line 240 of file include/datafile/iDataFilePET.hh.

◆ GetAtnCorrectionFlag() [2/2]

iDataFilePET::GetAtnCorrectionFlag ( )
inline

Simply return m_atnCorrectionFlag.

Returns
m_atnCorrectionFlag

Definition at line 294 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetEventKindFlag() [1/2]

bool iDataFilePET::GetEventKindFlag ( )
inline

Definition at line 247 of file include/datafile/iDataFilePET.hh.

◆ GetEventKindFlag() [2/2]

iDataFilePET::GetEventKindFlag ( )
inline

Simply return m_eventKindFlag.

Returns
m_eventKindFlag

Definition at line 301 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetEventSpecific() [1/2]

vEvent * iDataFilePET::GetEventSpecific ( char *  ap_buffer,
int  a_th 
)
virtual

Implements vDataFile.

Definition at line 398 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:

◆ GetEventSpecific() [2/2]

vEvent* iDataFilePET::GetEventSpecific ( char *  ap_buffer,
int  a_th 
)
virtual

Implements vDataFile.

◆ GetIgnoreTOFFlag() [1/2]

iDataFilePET::GetIgnoreTOFFlag ( )
inline
Returns
m_ignoreTOFFlag

Definition at line 108 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetIgnoreTOFFlag() [2/2]

bool iDataFilePET::GetIgnoreTOFFlag ( )
inline

Definition at line 108 of file include/datafile/iDataFilePET.hh.

◆ GetIsotope() [1/2]

string iDataFilePET::GetIsotope ( )
inline

Definition at line 183 of file include/datafile/iDataFilePET.hh.

◆ GetIsotope() [2/2]

iDataFilePET::GetIsotope ( )
inline
Returns
the isotope string value

Definition at line 237 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetMaxAxialDiffmm() [1/2]

FLTNB iDataFilePET::GetMaxAxialDiffmm ( )
inline

Definition at line 156 of file include/datafile/iDataFilePET.hh.

◆ GetMaxAxialDiffmm() [2/2]

iDataFilePET::GetMaxAxialDiffmm ( )
inline
Returns
max ring difference in the acquisition

Definition at line 210 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetMaxNumberOfLinesPerEvent() [1/2]

uint16_t iDataFilePET::GetMaxNumberOfLinesPerEvent ( )
inline

Definition at line 168 of file include/datafile/iDataFilePET.hh.

◆ GetMaxNumberOfLinesPerEvent() [2/2]

iDataFilePET::GetMaxNumberOfLinesPerEvent ( )
inline
Returns
the max number of line per event in the datafile

Definition at line 222 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetNbTOFBins() [1/2]

int iDataFilePET::GetNbTOFBins ( )
inline

Definition at line 126 of file include/datafile/iDataFilePET.hh.

◆ GetNbTOFBins() [2/2]

iDataFilePET::GetNbTOFBins ( )
inline
Returns
number of TOF bins in the acquisition

Definition at line 168 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetNbTOFResolutions()

int iDataFilePET::GetNbTOFResolutions ( )
inline

Definition at line 141 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetNormCorrectionFlag() [1/2]

bool iDataFilePET::GetNormCorrectionFlag ( )
inline

Definition at line 233 of file include/datafile/iDataFilePET.hh.

◆ GetNormCorrectionFlag() [2/2]

iDataFilePET::GetNormCorrectionFlag ( )
inline

Simply return m_normCorrectionFlag.

Returns
m_normCorrectionFlag

Definition at line 287 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetPerEventTOFResolutionFlag()

iDataFilePET::GetPerEventTOFResolutionFlag ( ) const
inline

Simply return m_perEventTOFResolutionFlag.

Returns
m_perEventTOFResolutionFlag

Definition at line 297 of file include/datafile/iDataFilePET.hh.

◆ GetRandCorrectionFlag() [1/2]

bool iDataFilePET::GetRandCorrectionFlag ( )
inline

Definition at line 261 of file include/datafile/iDataFilePET.hh.

◆ GetRandCorrectionFlag() [2/2]

iDataFilePET::GetRandCorrectionFlag ( )
inline

Simply return m_randCorrectionFlag.

Returns
m_randCorrectionFlag

Definition at line 315 of file code/include/datafile/iDataFilePET.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetScatCorrectionFlag() [1/2]

bool iDataFilePET::GetScatCorrectionFlag ( )
inline

Definition at line 254 of file include/datafile/iDataFilePET.hh.

◆ GetScatCorrectionFlag() [2/2]

iDataFilePET::GetScatCorrectionFlag ( )
inline

Simply return m_scatCorrectionFlag.

Returns
m_scatCorrectionFlag

Definition at line 308 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetTOFBinSizeInPs() [1/2]

FLTNB iDataFilePET::GetTOFBinSizeInPs ( )
inline

Definition at line 132 of file include/datafile/iDataFilePET.hh.

◆ GetTOFBinSizeInPs() [2/2]

iDataFilePET::GetTOFBinSizeInPs ( )
inline
Returns
size of TOF bins in the acquisition

Definition at line 174 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetTOFEventResolutionFlag()

iDataFilePET::GetTOFEventResolutionFlag ( )
inline
Returns
Flag indicating the data contain per-event TOF resolution

Definition at line 204 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetTOFInfoFlag() [1/2]

iDataFilePET::GetTOFInfoFlag ( )
inline
Returns
m_TOFInfoFlag

Definition at line 96 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetTOFInfoFlag() [2/2]

bool iDataFilePET::GetTOFInfoFlag ( )
inline

Definition at line 96 of file include/datafile/iDataFilePET.hh.

◆ GetTOFMeasurementRangeInPs() [1/2]

FLTNB iDataFilePET::GetTOFMeasurementRangeInPs ( )
inline

Definition at line 150 of file include/datafile/iDataFilePET.hh.

◆ GetTOFMeasurementRangeInPs() [2/2]

iDataFilePET::GetTOFMeasurementRangeInPs ( )
inline
Returns
Maximum range of values for TOF delta measurements

Definition at line 192 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetTOFOffsetPs()

iDataFilePET::GetTOFOffsetPs ( int  a_reso)
inline
Parameters
a_reso: resolution index
Returns
TOF probability

Definition at line 162 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetTOFProbabilities()

iDataFilePET::GetTOFProbabilities ( int  a_reso)
inline
Parameters
a_reso: resolution index
Returns
TOF probability

Definition at line 155 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetTOFQuantizationBinSizeInPs() [1/2]

FLTNB iDataFilePET::GetTOFQuantizationBinSizeInPs ( )
inline

Definition at line 138 of file include/datafile/iDataFilePET.hh.

◆ GetTOFQuantizationBinSizeInPs() [2/2]

iDataFilePET::GetTOFQuantizationBinSizeInPs ( )
inline
Returns
size of bin for TOF measurement quantization

Definition at line 180 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ GetTOFResolutionInPs() [1/2]

iDataFilePET::GetTOFResolutionInPs ( )
inline
Parameters
a_reso: resolution index to set
Returns
TOF resolution for the acquisition
TOF resolution for the acquisition

Definition at line 120 of file include/datafile/iDataFilePET.hh.

◆ GetTOFResolutionInPs() [2/2]

FLTNB iDataFilePET::GetTOFResolutionInPs ( int  a_reso)
inline

Definition at line 148 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ PrepareDataFile() [1/2]

int iDataFilePET::PrepareDataFile ( )
virtual

Store different kind of information inside arrays (data relative to specific correction as well as basic raw data for the case data is loaded in RAM)
Use the flag provided by the user to determine how the data has to be sorted (preloaded or read on the fly)

Returns
0 is success, positive value otherwise

Implements vDataFile.

Definition at line 255 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrepareDataFile() [2/2]

int iDataFilePET::PrepareDataFile ( )
virtual

This function is implemented in child classes
Store different kind of information inside arrays (data relative to specific correction as well as basic raw data for the case data is loaded in RAM)
Use the flag provided by the user to determine how the data has to be sorted (preloaded or read on the fly)

Returns
0 is success, positive value otherwise

Implements vDataFile.

◆ PROJ_GetScannerSpecificParameters() [1/2]

int iDataFilePET::PROJ_GetScannerSpecificParameters ( )
virtual

This function is implemented in child classes
It is used to set several variables of the datafile when using the projection script.
Get modality specific parameters from the scanner object, through the scannerManager.

Returns
0 if success, positive value otherwise

Implements vDataFile.

◆ PROJ_GetScannerSpecificParameters() [2/2]

int iDataFilePET::PROJ_GetScannerSpecificParameters ( )
virtual

Get PET specific parameters for projections from the scanner object, through the scannerManager.

Returns
0 if success, positive value otherwise

Implements vDataFile.

Definition at line 1384 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PROJ_InitFile() [1/2]

int iDataFilePET::PROJ_InitFile ( )
virtual

This function is implemented in child classes
Initialize the fstream objets for output writing as well as some other variables specific to the Projection script.

Returns
0 if success, and positive value otherwise.

Implements vDataFile.

◆ PROJ_InitFile() [2/2]

int iDataFilePET::PROJ_InitFile ( )
virtual

Initialize the fstream objets for output writing as well as some other variables specific to the Projection script (Event-based correction flags, Estimated size of data file)

Returns
0 if success, and positive value otherwise.

Implements vDataFile.

Definition at line 925 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadSpecificInfoInHeader() [1/2]

int iDataFilePET::ReadSpecificInfoInHeader ( bool  a_affectQuantificationFlag)
virtual

Implements vDataFile.

Definition at line 66 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:

◆ ReadSpecificInfoInHeader() [2/2]

int iDataFilePET::ReadSpecificInfoInHeader ( bool  a_affectQuantificationFlag)
virtual

Implements vDataFile.

◆ SetAtnCorrectionFlagOn() [1/2]

void iDataFilePET::SetAtnCorrectionFlagOn ( )
inline

Definition at line 205 of file include/datafile/iDataFilePET.hh.

◆ SetAtnCorrectionFlagOn() [2/2]

void iDataFilePET::SetAtnCorrectionFlagOn ( )
inline

set to true the flag indicating the presence of attenuation correction factors in the datafile

This function is dedicated to datafile conversion scripts

Definition at line 259 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ SetEventKindFlagOn() [1/2]

void iDataFilePET::SetEventKindFlagOn ( )
inline

Definition at line 198 of file include/datafile/iDataFilePET.hh.

◆ SetEventKindFlagOn() [2/2]

iDataFilePET::SetEventKindFlagOn ( )
inline

set to true the flag indicating the presence of the kind of a list-mode event in the datafile TODO check if consistent with datafile type

This function is dedicated to datafile conversion scripts

Definition at line 252 of file code/include/datafile/iDataFilePET.hh.

◆ SetIgnoreAttnCorrectionFlag()

public inline void iDataFilePET::SetIgnoreAttnCorrectionFlag ( bool  a_ignoreAttnCorrectionFlag)
inline

Set the boolean m_ignoreAttnCorrectionFlag to a_ignoreAttnCorrectionFlag.

Parameters
boola_ignoreAttnCorrectionFlag

Definition at line 289 of file include/datafile/iDataFilePET.hh.

◆ SetIgnoreNormCorrectionFlag()

public inline void iDataFilePET::SetIgnoreNormCorrectionFlag ( bool  a_ignoreNormCorrectionFlag)
inline

Set the boolean m_ignoreNormCorrectionFlag to a_ignoreNormCorrectionFlag.

Parameters
boola_ignoreNormCorrectionFlag

Definition at line 282 of file include/datafile/iDataFilePET.hh.

◆ SetIgnoreRandCorrectionFlag()

public inline void iDataFilePET::SetIgnoreRandCorrectionFlag ( bool  a_ignoreRandCorrectionFlag)
inline

Set the boolean m_ignoreRandCorrectionFlag to a_ignoreRandCorrectionFlag.

Parameters
boola_ignoreRandCorrectionFlag

Definition at line 275 of file include/datafile/iDataFilePET.hh.

◆ SetIgnoreScatCorrectionFlag()

public inline void iDataFilePET::SetIgnoreScatCorrectionFlag ( bool  a_ignoreScatCorrectionFlag)
inline

Set the boolean m_ignoreScatCorrectionFlag to a_ignoreScatCorrectionFlag.

Parameters
boola_ignoreScatCorrectionFlag

Definition at line 268 of file include/datafile/iDataFilePET.hh.

◆ SetIgnoreTOFFlag() [1/2]

void iDataFilePET::SetIgnoreTOFFlag ( bool  a_ignoreTOFFlag)
inline

Definition at line 190 of file include/datafile/iDataFilePET.hh.

◆ SetIgnoreTOFFlag() [2/2]

void iDataFilePET::SetIgnoreTOFFlag ( bool  a_ignoreTOFFlag)
inline

Definition at line 244 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ SetIsotope() [1/2]

void iDataFilePET::SetIsotope ( string  a_value)
inline

Definition at line 177 of file include/datafile/iDataFilePET.hh.

◆ SetIsotope() [2/2]

void iDataFilePET::SetIsotope ( string  a_value)
inline

Definition at line 231 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ SetMaxNumberOfLinesPerEvent() [1/2]

void iDataFilePET::SetMaxNumberOfLinesPerEvent ( uint16_t  a_value)
inline

Definition at line 162 of file include/datafile/iDataFilePET.hh.

◆ SetMaxNumberOfLinesPerEvent() [2/2]

void iDataFilePET::SetMaxNumberOfLinesPerEvent ( uint16_t  a_value)
inline

Definition at line 216 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ SetNbTOFResolutionsAndAllocateArray()

void iDataFilePET::SetNbTOFResolutionsAndAllocateArray ( int  a_nbTOFResolutions)
Parameters
a_nbTOFResolutions: number of tof resolutions
Returns
Set the number of TOF resolutions in the data and allocate the related variable

Definition at line 1409 of file code/src/datafile/iDataFilePET.cc.

Here is the caller graph for this function:

◆ SetNormCorrectionFlagOn() [1/2]

void iDataFilePET::SetNormCorrectionFlagOn ( )
inline

Definition at line 212 of file include/datafile/iDataFilePET.hh.

◆ SetNormCorrectionFlagOn() [2/2]

iDataFilePET::SetNormCorrectionFlagOn ( )
inline

set to true the flag indicating the presence of normalization correction factors in the datafile

This function is dedicated to datafile conversion scripts

Definition at line 266 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ SetPerEventTOFResolutionFlag()

iDataFilePET::SetPerEventTOFResolutionFlag ( bool  a_perEventTOFResolutionFlag)
inline

Set a boolean indicating the presence of per event time-of-flight (ToF) resolution values in datafile.

Parameters
a_flag

Definition at line 305 of file include/datafile/iDataFilePET.hh.

Here is the call graph for this function:

◆ SetRandomCorrectionFlagOn() [1/2]

void iDataFilePET::SetRandomCorrectionFlagOn ( )
inline

Definition at line 226 of file include/datafile/iDataFilePET.hh.

◆ SetRandomCorrectionFlagOn() [2/2]

iDataFilePET::SetRandomCorrectionFlagOn ( )
inline

set to true the flag indicating the presence of random correction factors in the datafile

This function is dedicated to datafile conversion scripts

Definition at line 280 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ SetScatterCorrectionFlagOn() [1/2]

void iDataFilePET::SetScatterCorrectionFlagOn ( )
inline

Definition at line 219 of file include/datafile/iDataFilePET.hh.

◆ SetScatterCorrectionFlagOn() [2/2]

iDataFilePET::SetScatterCorrectionFlagOn ( )
inline

set to true the flag indicating the presence of scatter correction factors in the datafile

This function is dedicated to datafile conversion scripts

Definition at line 273 of file code/include/datafile/iDataFilePET.hh.

Here is the caller graph for this function:

◆ SetSpecificParametersFrom() [1/2]

int iDataFilePET::SetSpecificParametersFrom ( vDataFile ap_DataFile)
privatevirtual

Implements vDataFile.

◆ SetSpecificParametersFrom() [2/2]

int iDataFilePET::SetSpecificParametersFrom ( vDataFile ap_DataFile)
privatevirtual

Implements vDataFile.

Definition at line 139 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetTOFEventResolutionFlag()

iDataFilePET::SetTOFEventResolutionFlag ( )
inline
Returns
Set Flag indicating the data contain per-event TOF resolution

Definition at line 198 of file code/include/datafile/iDataFilePET.hh.

◆ SetTOFInfoFlag() [1/2]

iDataFilePET::SetTOFInfoFlag ( )
inline

Enable ToF flag in the datafile.

Definition at line 102 of file code/include/datafile/iDataFilePET.hh.

◆ SetTOFInfoFlag() [2/2]

void iDataFilePET::SetTOFInfoFlag ( )
inline

Definition at line 102 of file include/datafile/iDataFilePET.hh.

◆ SetTOFMeasurementRangeInPs() [1/2]

void iDataFilePET::SetTOFMeasurementRangeInPs ( FLTNB  a_TOFMeasurementRangeInPs)
inline

Definition at line 144 of file include/datafile/iDataFilePET.hh.

◆ SetTOFMeasurementRangeInPs() [2/2]

void iDataFilePET::SetTOFMeasurementRangeInPs ( FLTNB  a_TOFMeasurementRangeInPs)
inline

Definition at line 186 of file code/include/datafile/iDataFilePET.hh.

◆ SetTOFOffsetPs()

iDataFilePET::SetTOFOffsetPs ( FLTNB  a_TOFOffset,
int  a_reso 
)
inline
Parameters
a_reso: resolution index to set
Returns
TOF resolution for the acquisition

Definition at line 129 of file code/include/datafile/iDataFilePET.hh.

Here is the call graph for this function:

◆ SetTOFProbabilities()

iDataFilePET::SetTOFProbabilities ( FLTNB  a_TOFProbability,
int  a_reso 
)
inline
Parameters
a_reso: resolution index to set
Returns
TOF resolution for the acquisition

Definition at line 122 of file code/include/datafile/iDataFilePET.hh.

◆ SetTOFResolutionInPs() [1/2]

void iDataFilePET::SetTOFResolutionInPs ( FLTNB  a_TOFResolutionInPs)
inline

Definition at line 114 of file include/datafile/iDataFilePET.hh.

◆ SetTOFResolutionInPs() [2/2]

void iDataFilePET::SetTOFResolutionInPs ( FLTNB  a_TOFResolutionInPs,
int  a_reso 
)
inline

Definition at line 115 of file code/include/datafile/iDataFilePET.hh.

◆ WriteEvent() [1/2]

int iDataFilePET::WriteEvent ( vEvent ap_Event,
int  a_th 
)
virtual

Implements vDataFile.

◆ WriteEvent() [2/2]

int iDataFilePET::WriteEvent ( vEvent ap_Event,
int  a_th 
)
virtual

Implements vDataFile.

Definition at line 997 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteHeader() [1/2]

int iDataFilePET::WriteHeader ( )
virtual

Generate a header file according to the data output information.

Returns
0 if success, and positive value otherwise.

Implements vDataFile.

Definition at line 1263 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteHeader() [2/2]

int iDataFilePET::WriteHeader ( )
virtual

This function is implemented in child classes.
Generate a header file according to the data output information.

Returns
0 if success, and positive value otherwise.

Implements vDataFile.

◆ WriteHistoEvent() [1/2]

int iDataFilePET::WriteHistoEvent ( iEventHistoPET ap_Event,
int  a_th 
)
private

◆ WriteHistoEvent() [2/2]

int iDataFilePET::WriteHistoEvent ( iEventHistoPET ap_Event,
int  a_th 
)
private

Definition at line 1036 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteListEvent() [1/2]

int iDataFilePET::WriteListEvent ( iEventListPET ap_Event,
int  a_th = 0 
)
private

◆ WriteListEvent() [2/2]

int iDataFilePET::WriteListEvent ( iEventListPET ap_Event,
int  a_th = 0 
)
private

Definition at line 1104 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteNormEvent() [1/2]

int iDataFilePET::WriteNormEvent ( iEventNorm ap_Event,
int  a_th 
)
private

◆ WriteNormEvent() [2/2]

int iDataFilePET::WriteNormEvent ( iEventNorm ap_Event,
int  a_th 
)
private

Definition at line 1212 of file code/src/datafile/iDataFilePET.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_atnCorrectionFlag

bool iDataFilePET::m_atnCorrectionFlag
private

Flag that says if attenuation correction terms are included in the data. Default = false

Definition at line 396 of file code/include/datafile/iDataFilePET.hh.

◆ m_eventKindFlag

bool iDataFilePET::m_eventKindFlag
private

Flag for informations about the event nature (true, scatter, random) in the data. Default = false

Definition at line 395 of file code/include/datafile/iDataFilePET.hh.

◆ m_ignoreAttnCorrectionFlag

bool iDataFilePET::m_ignoreAttnCorrectionFlag
private

Flag to say if we ignore the attenuation correction even if present. Default = false

Definition at line 397 of file code/include/datafile/iDataFilePET.hh.

◆ m_ignoreNormCorrectionFlag

bool iDataFilePET::m_ignoreNormCorrectionFlag
private

Flag to say if we ignore the normalization correction even if present. Default = false

Definition at line 399 of file code/include/datafile/iDataFilePET.hh.

◆ m_ignoreRandCorrectionFlag

bool iDataFilePET::m_ignoreRandCorrectionFlag
private

Flag to say if we ignore the random correction even if present. Default = false

Definition at line 403 of file code/include/datafile/iDataFilePET.hh.

◆ m_ignoreScatCorrectionFlag

bool iDataFilePET::m_ignoreScatCorrectionFlag
private

Flag to say if we ignore the scatter correction even if present. Default = false

Definition at line 401 of file code/include/datafile/iDataFilePET.hh.

◆ m_ignoreTOFFlag

bool iDataFilePET::m_ignoreTOFFlag
private

Flag to say if we ignore the TOF data even if present, or not. Default = false

Definition at line 405 of file code/include/datafile/iDataFilePET.hh.

◆ m_isotope

string iDataFilePET::m_isotope
private

Isotope. Default = unknown

Definition at line 394 of file code/include/datafile/iDataFilePET.hh.

◆ m_maxAxialDiffmm

FLTNB iDataFilePET::m_maxAxialDiffmm
private

Max axial difference in mm between 2 crystals in a LOR. Default value calculated from the scanner files

Definition at line 393 of file code/include/datafile/iDataFilePET.hh.

◆ m_maxNumberOfLinesPerEvent

uint16_t iDataFilePET::m_maxNumberOfLinesPerEvent
private

Number of lines in each event in the datafile. Default = 1

Definition at line 392 of file code/include/datafile/iDataFilePET.hh.

◆ m_nbTOFBins

int iDataFilePET::m_nbTOFBins
private

Number of TOF bins for histogram mode. Default = 1

Definition at line 411 of file code/include/datafile/iDataFilePET.hh.

◆ m_nbTOFResolutions

int iDataFilePET::m_nbTOFResolutions
private

Number of TOF resolution in the data. Default = -1.0

Definition at line 407 of file code/include/datafile/iDataFilePET.hh.

◆ m_normCorrectionFlag

bool iDataFilePET::m_normCorrectionFlag
private

Flag that says if normalization correction terms are included in the data. Default = false

Definition at line 398 of file code/include/datafile/iDataFilePET.hh.

◆ m_perEventTOFResolutionFlag

bool iDataFilePET::m_perEventTOFResolutionFlag
private

Flag that says if per event tof resolution is present. Default = false

Definition at line 400 of file include/datafile/iDataFilePET.hh.

◆ m_randCorrectionFlag

bool iDataFilePET::m_randCorrectionFlag
private

Flag that says if random correction terms are included in the data. Default = false

Definition at line 402 of file code/include/datafile/iDataFilePET.hh.

◆ m_scatCorrectionFlag

bool iDataFilePET::m_scatCorrectionFlag
private

Flag that says if scatter correction terms are included in the data. Default = false

Definition at line 400 of file code/include/datafile/iDataFilePET.hh.

◆ m_TOFBinSizeInPs

FLTNB iDataFilePET::m_TOFBinSizeInPs
private

Size of TOF bins for histogram mode (in ps). Default = -1.

Definition at line 412 of file code/include/datafile/iDataFilePET.hh.

◆ m_TOFEventResolutionFlag

bool iDataFilePET::m_TOFEventResolutionFlag
private

Flag that says if TOF information is included in each coincidence event (list-mode). Default = false

Definition at line 406 of file code/include/datafile/iDataFilePET.hh.

◆ m_TOFInfoFlag

bool iDataFilePET::m_TOFInfoFlag
private

Flag that says if TOF information is included in the data. Default = false

Definition at line 404 of file code/include/datafile/iDataFilePET.hh.

◆ m_TOFMeasurementRangeInPs

FLTNB iDataFilePET::m_TOFMeasurementRangeInPs
private

Maximum range of values for TOF measurements (delta t max - delta t min) in ps

Definition at line 414 of file code/include/datafile/iDataFilePET.hh.

◆ m_TOFQuantizationBinSizeInPs

FLTNB iDataFilePET::m_TOFQuantizationBinSizeInPs
private

Size of the bin for TOF measurement quantization for list-mode (in ps)

Definition at line 413 of file code/include/datafile/iDataFilePET.hh.

◆ m_TOFResolutionInPs

FLTNB iDataFilePET::m_TOFResolutionInPs
private

TOF resolution in ps. Default = -1.0

Definition at line 395 of file include/datafile/iDataFilePET.hh.

◆ mp_TOFOffsetPs

FLTNB* iDataFilePET::mp_TOFOffsetPs
private

TOF shift in Ps relatively to the center of the TOF measurement, used to position the tof kernel. Default = no shift

Definition at line 410 of file code/include/datafile/iDataFilePET.hh.

◆ mp_TOFProbabilities

FLTNB* iDataFilePET::mp_TOFProbabilities
private

TOF probability for multi-parameter resolution(s) in ps. Default = equal probabilities for each resolution

Definition at line 409 of file code/include/datafile/iDataFilePET.hh.

◆ mp_TOFResolutionInPs

FLTNB* iDataFilePET::mp_TOFResolutionInPs
private

TOF resolution(s) in ps. Default = -1.0

Definition at line 408 of file code/include/datafile/iDataFilePET.hh.


The documentation for this class was generated from the following files: