![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
Inherit from vDataFile. Class that manages the reading of a PET input file (header + data). More...
#include <iDataFilePET.hh>
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) |
vEvent * | GetEventSpecific (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) |
vEvent * | GetEventSpecific (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... | |
![]() | |
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... | |
vEvent * | GetEvent (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... | |
vEvent * | PROJ_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 () |
FLTNB * | GetPOIResolution () |
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... | |
FLTNB * | GetNewAdditionalDataMatrix (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 () |
vEvent * | GetEvent (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 () |
vEvent * | PROJ_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 () |
FLTNB * | GetPOIResolution () |
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 |
FLTNB * | mp_TOFResolutionInPs |
FLTNB * | mp_TOFProbabilities |
FLTNB * | mp_TOFOffsetPs |
int | m_nbTOFBins |
FLTNB | m_TOFBinSizeInPs |
FLTNB | m_TOFQuantizationBinSizeInPs |
FLTNB | m_TOFMeasurementRangeInPs |
FLTNB | m_TOFResolutionInPs |
bool | m_perEventTOFResolutionFlag |
Additional Inherited Members | |
![]() | |
FLTNB ** | m2p_additionalData |
![]() | |
oImageDimensionsAndQuantification * | mp_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 |
oMemoryMapped * | mp_MappedFile |
char * | mp_mappedMemory |
int | m_nbAdditionalData |
INTNB * | mp_additionalDataSize |
bool | m_loadedAdditional |
int | m_nbCustomINTData |
int | m_nbCustomFLTData |
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.
iDataFilePET::iDataFilePET | ( | ) |
iDataFilePET constructor. Initialize the member variables to their default values.
Definition at line 16 of file code/src/datafile/iDataFilePET.cc.
iDataFilePET::~iDataFilePET | ( | ) |
iDataFilePET destructor.
Definition at line 54 of file code/src/datafile/iDataFilePET.cc.
iDataFilePET::iDataFilePET | ( | ) |
iDataFilePET constructor. Initialize the member variables to their default values.
iDataFilePET::~iDataFilePET | ( | ) |
iDataFilePET destructor.
|
privatevirtual |
Implements vDataFile.
|
privatevirtual |
This function is implemented in child classes
Check if file size is consistent.
Implements vDataFile.
Definition at line 734 of file code/src/datafile/iDataFilePET.cc.
|
privatevirtual |
Implements vDataFile.
|
privatevirtual |
Implements vDataFile.
Definition at line 801 of file code/src/datafile/iDataFilePET.cc.
|
privatevirtual |
This function is implemented in child classes
Check specific parameters of child classes.
Implements vDataFile.
|
privatevirtual |
Check parameters specific to PET data.
Implements vDataFile.
Definition at line 649 of file code/src/datafile/iDataFilePET.cc.
|
virtual |
Computation of the size of each event according to the mandatory/optional correction fields.
Implements vDataFile.
Definition at line 181 of file code/src/datafile/iDataFilePET.cc.
|
virtual |
This function is implemented in child classes
Computation of the size of each event according to the mandatory/optional correction fields.
Implements vDataFile.
|
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.
|
virtual |
A pure virtual function used to describe the specific parts of the datafile.
Implements vDataFile.
|
inline |
Definition at line 240 of file include/datafile/iDataFilePET.hh.
|
inline |
Simply return m_atnCorrectionFlag.
Definition at line 294 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 247 of file include/datafile/iDataFilePET.hh.
|
inline |
Simply return m_eventKindFlag.
Definition at line 301 of file code/include/datafile/iDataFilePET.hh.
|
virtual |
Implements vDataFile.
Definition at line 398 of file code/src/datafile/iDataFilePET.cc.
|
inline |
Definition at line 108 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 108 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 183 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 237 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 156 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 210 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 168 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 222 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 126 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 168 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 141 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 233 of file include/datafile/iDataFilePET.hh.
|
inline |
Simply return m_normCorrectionFlag.
Definition at line 287 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Simply return m_perEventTOFResolutionFlag.
Definition at line 297 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 261 of file include/datafile/iDataFilePET.hh.
|
inline |
Simply return m_randCorrectionFlag.
Definition at line 315 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 254 of file include/datafile/iDataFilePET.hh.
|
inline |
Simply return m_scatCorrectionFlag.
Definition at line 308 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 132 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 174 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 204 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 96 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 96 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 150 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 192 of file code/include/datafile/iDataFilePET.hh.
|
inline |
a_reso | : resolution index |
Definition at line 162 of file code/include/datafile/iDataFilePET.hh.
|
inline |
a_reso | : resolution index |
Definition at line 155 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 138 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 180 of file code/include/datafile/iDataFilePET.hh.
|
inline |
a_reso | : resolution index to set |
Definition at line 120 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 148 of file code/include/datafile/iDataFilePET.hh.
|
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)
Implements vDataFile.
Definition at line 255 of file code/src/datafile/iDataFilePET.cc.
|
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)
Implements vDataFile.
|
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.
Implements vDataFile.
|
virtual |
Get PET specific parameters for projections from the scanner object, through the scannerManager.
Implements vDataFile.
Definition at line 1384 of file code/src/datafile/iDataFilePET.cc.
|
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.
Implements vDataFile.
|
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)
Implements vDataFile.
Definition at line 925 of file code/src/datafile/iDataFilePET.cc.
|
virtual |
Implements vDataFile.
Definition at line 66 of file code/src/datafile/iDataFilePET.cc.
|
virtual |
Implements vDataFile.
|
inline |
Definition at line 205 of file include/datafile/iDataFilePET.hh.
|
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.
|
inline |
Definition at line 198 of file include/datafile/iDataFilePET.hh.
|
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.
|
inline |
Set the boolean m_ignoreAttnCorrectionFlag to a_ignoreAttnCorrectionFlag.
bool | a_ignoreAttnCorrectionFlag |
Definition at line 289 of file include/datafile/iDataFilePET.hh.
|
inline |
Set the boolean m_ignoreNormCorrectionFlag to a_ignoreNormCorrectionFlag.
bool | a_ignoreNormCorrectionFlag |
Definition at line 282 of file include/datafile/iDataFilePET.hh.
|
inline |
Set the boolean m_ignoreRandCorrectionFlag to a_ignoreRandCorrectionFlag.
bool | a_ignoreRandCorrectionFlag |
Definition at line 275 of file include/datafile/iDataFilePET.hh.
|
inline |
Set the boolean m_ignoreScatCorrectionFlag to a_ignoreScatCorrectionFlag.
bool | a_ignoreScatCorrectionFlag |
Definition at line 268 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 190 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 244 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 177 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 231 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 162 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 216 of file code/include/datafile/iDataFilePET.hh.
void iDataFilePET::SetNbTOFResolutionsAndAllocateArray | ( | int | a_nbTOFResolutions | ) |
a_nbTOFResolutions | : number of tof resolutions |
Definition at line 1409 of file code/src/datafile/iDataFilePET.cc.
|
inline |
Definition at line 212 of file include/datafile/iDataFilePET.hh.
|
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.
|
inline |
Set a boolean indicating the presence of per event time-of-flight (ToF) resolution values in datafile.
a_flag |
Definition at line 305 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 226 of file include/datafile/iDataFilePET.hh.
|
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.
|
inline |
Definition at line 219 of file include/datafile/iDataFilePET.hh.
|
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.
|
privatevirtual |
Implements vDataFile.
|
privatevirtual |
Implements vDataFile.
Definition at line 139 of file code/src/datafile/iDataFilePET.cc.
|
inline |
Definition at line 198 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Enable ToF flag in the datafile.
Definition at line 102 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 102 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 144 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 186 of file code/include/datafile/iDataFilePET.hh.
|
inline |
a_reso | : resolution index to set |
Definition at line 129 of file code/include/datafile/iDataFilePET.hh.
|
inline |
a_reso | : resolution index to set |
Definition at line 122 of file code/include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 114 of file include/datafile/iDataFilePET.hh.
|
inline |
Definition at line 115 of file code/include/datafile/iDataFilePET.hh.
|
virtual |
Implements vDataFile.
Definition at line 997 of file code/src/datafile/iDataFilePET.cc.
|
virtual |
Generate a header file according to the data output information.
Implements vDataFile.
Definition at line 1263 of file code/src/datafile/iDataFilePET.cc.
|
virtual |
This function is implemented in child classes.
Generate a header file according to the data output information.
Implements vDataFile.
|
private |
|
private |
Definition at line 1036 of file code/src/datafile/iDataFilePET.cc.
|
private |
|
private |
Definition at line 1104 of file code/src/datafile/iDataFilePET.cc.
|
private |
|
private |
Definition at line 1212 of file code/src/datafile/iDataFilePET.cc.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
private |
Isotope. Default = unknown
Definition at line 394 of file code/include/datafile/iDataFilePET.hh.
|
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.
|
private |
Number of lines in each event in the datafile. Default = 1
Definition at line 392 of file code/include/datafile/iDataFilePET.hh.
|
private |
Number of TOF bins for histogram mode. Default = 1
Definition at line 411 of file code/include/datafile/iDataFilePET.hh.
|
private |
Number of TOF resolution in the data. Default = -1.0
Definition at line 407 of file code/include/datafile/iDataFilePET.hh.
|
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.
|
private |
Flag that says if per event tof resolution is present. Default = false
Definition at line 400 of file include/datafile/iDataFilePET.hh.
|
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.
|
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.
|
private |
Size of TOF bins for histogram mode (in ps). Default = -1.
Definition at line 412 of file code/include/datafile/iDataFilePET.hh.
|
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.
|
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.
|
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.
|
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.
|
private |
TOF resolution in ps. Default = -1.0
Definition at line 395 of file include/datafile/iDataFilePET.hh.
|
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.
|
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.
|
private |
TOF resolution(s) in ps. Default = -1.0
Definition at line 408 of file code/include/datafile/iDataFilePET.hh.