![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
This class is designed to be a mother virtual class for DataFile. More...
#include <vDataFile.hh>
Public Member Functions | |
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... | |
virtual int | ComputeSizeEvent ()=0 |
This function is implemented in child classes Computation of the size of each event according to the mandatory/optional correction fields. More... | |
virtual int | PrepareDataFile ()=0 |
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 | OpenFileForWriting (string a_suffix="") |
int | CloseFile () |
Close as many binary file stream for writing. More... | |
virtual int | WriteHeader ()=0 |
This function is implemented in child classes. Generate a header file according to the data output information. More... | |
virtual int | WriteEvent (vEvent *ap_Event, int a_th=0)=0 |
vEvent * | GetEvent (int64_t a_eventIndex, int a_th=0) |
virtual vEvent * | GetEventSpecific (char *ap_buffer, 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... | |
virtual void | DescribeSpecific ()=0 |
A pure virtual function used to describe the specific parts of the datafile. More... | |
virtual int | PROJ_InitFile ()=0 |
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... | |
virtual int | PROJ_GetScannerSpecificParameters ()=0 |
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... | |
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... | |
virtual int | ComputeSizeEvent ()=0 |
virtual int | PrepareDataFile ()=0 |
int | OpenFileForWriting (string a_suffix="") |
int | CloseFile () |
virtual int | WriteHeader ()=0 |
virtual int | WriteEvent (vEvent *ap_Event, int a_th=0)=0 |
vEvent * | GetEvent (int64_t a_eventIndex, int a_th=0) |
virtual vEvent * | GetEventSpecific (char *ap_buffer, 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 () |
virtual void | DescribeSpecific ()=0 |
virtual int | PROJ_InitFile ()=0 |
virtual int | PROJ_GetScannerSpecificParameters ()=0 |
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) |
Public Attributes | |
FLTNB ** | m2p_additionalData |
Protected Attributes | |
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 |
Private Member Functions | |
virtual int | SetSpecificParametersFrom (vDataFile *ap_DataFile)=0 |
virtual int | CheckSpecificParameters ()=0 |
This function is implemented in child classes Check specific parameters of child classes. More... | |
virtual int | CheckFileSizeConsistency ()=0 |
virtual int | ReadSpecificInfoInHeader (bool a_affectQuantificationFlag=true)=0 |
virtual int | CheckSpecificConsistencyWithAnotherDataFile (vDataFile *ap_DataFile)=0 |
virtual int | SetSpecificParametersFrom (vDataFile *ap_DataFile)=0 |
virtual int | CheckSpecificParameters ()=0 |
virtual int | CheckFileSizeConsistency ()=0 |
virtual int | ReadSpecificInfoInHeader (bool a_affectQuantificationFlag=true)=0 |
virtual int | CheckSpecificConsistencyWithAnotherDataFile (vDataFile *ap_DataFile)=0 |
This class is designed to be a mother virtual class for DataFile.
This class manages the reading of the generic input file (header + data).
It uses some events as buffers to get data informations during run-time.
Definition at line 80 of file code/include/datafile/vDataFile.hh.
vDataFile::vDataFile | ( | ) |
vDataFile constructor.
Initialize the member variables to their default values.
Definition at line 16 of file code/src/datafile/vDataFile.cc.
|
virtual |
vDataFile destructor.
Definition at line 62 of file code/src/datafile/vDataFile.cc.
vDataFile::vDataFile | ( | ) |
vDataFile constructor.
Initialize the member variables to their default values.
|
virtual |
vDataFile destructor.
int vDataFile::CheckConsistencyWithAnotherBedDataFile | ( | vDataFile * | ap_DataFile | ) |
Definition at line 371 of file code/src/datafile/vDataFile.cc.
int vDataFile::CheckConsistencyWithAnotherBedDataFile | ( | vDataFile * | ap_DataFile | ) |
|
privatepure virtual |
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
|
privatepure virtual |
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
int vDataFile::CheckParameters | ( | ) |
Check the initialization of member variables
Call the CheckSpecificParameters() function implemented in child classes.
Definition at line 300 of file code/src/datafile/vDataFile.cc.
int vDataFile::CheckParameters | ( | ) |
|
privatepure virtual |
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
|
privatepure virtual |
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
|
privatepure virtual |
This function is implemented in child classes
Check specific parameters of child classes.
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
|
privatepure virtual |
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
int vDataFile::CloseFile | ( | ) |
Close as many binary file stream for writing.
Use the m2p_dataFile for that purpose, see OpenFileForWriting() function
Definition at line 563 of file code/src/datafile/vDataFile.cc.
int vDataFile::CloseFile | ( | ) |
|
pure virtual |
This function is implemented in child classes
Computation of the size of each event according to the mandatory/optional correction fields.
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
|
pure virtual |
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
void vDataFile::Describe | ( | ) |
A function used to describe the generic parts of the datafile.
Definition at line 495 of file code/src/datafile/vDataFile.cc.
void vDataFile::Describe | ( | ) |
|
pure virtual |
A pure virtual function used to describe the specific parts of the datafile.
Implemented in iDataFileSPECT, iDataFileSPECT, iDataFileCT, iDataFileCT, iDataFilePET, and iDataFilePET.
|
pure virtual |
Implemented in iDataFileSPECT, iDataFileSPECT, iDataFileCT, iDataFileCT, iDataFilePET, and iDataFilePET.
|
inline |
Definition at line 271 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 288 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 403 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 420 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 345 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 362 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 327 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 344 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 277 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 294 of file include/datafile/vDataFile.hh.
string vDataFile::GetDataModeToString | ( | ) |
Definition at line 841 of file code/src/datafile/vDataFile.cc.
string vDataFile::GetDataModeToString | ( | ) |
|
inline |
Definition at line 299 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 316 of file include/datafile/vDataFile.hh.
string vDataFile::GetDataSpecToString | ( | ) |
Definition at line 857 of file code/src/datafile/vDataFile.cc.
string vDataFile::GetDataSpecToString | ( | ) |
|
inline |
Definition at line 288 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 305 of file include/datafile/vDataFile.hh.
string vDataFile::GetDataTypeToString | ( | ) |
Definition at line 825 of file code/src/datafile/vDataFile.cc.
string vDataFile::GetDataTypeToString | ( | ) |
|
inline |
Definition at line 339 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 356 of file include/datafile/vDataFile.hh.
vEvent * vDataFile::GetEvent | ( | int64_t | a_eventIndex, |
int | a_th = 0 |
||
) |
Definition at line 583 of file code/src/datafile/vDataFile.cc.
vEvent* vDataFile::GetEvent | ( | int64_t | a_eventIndex, |
int | a_th = 0 |
||
) |
void vDataFile::GetEventIndexStartAndStop | ( | int64_t * | ap_indexStart, |
int64_t * | ap_indexStop, | ||
int | a_subsetNum = 0 , |
||
int | a_NbSubsets = 1 |
||
) |
Definition at line 656 of file code/src/datafile/vDataFile.cc.
void vDataFile::GetEventIndexStartAndStop | ( | int64_t * | ap_indexStart, |
int64_t * | ap_indexStop, | ||
int | a_subsetNum = 0 , |
||
int | a_NbSubsets = 1 |
||
) |
|
inline |
Definition at line 316 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 333 of file include/datafile/vDataFile.hh.
|
pure virtual |
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
|
pure virtual |
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
|
inline |
Definition at line 321 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 338 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 369 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 386 of file include/datafile/vDataFile.hh.
|
virtual |
Return an error by default.
This function is surcharged by the PET (and CT) scanner daughter class.
Definition at line 687 of file code/src/datafile/vDataFile.cc.
|
virtual |
|
inline |
Get the number of additional data.
Definition at line 530 of file include/datafile/vDataFile.hh.
|
inline |
Get the total number of events in the datafile.
Definition at line 493 of file include/datafile/vDataFile.hh.
Allocate the memory for this additional data matrix and return the pointer to the matrix.
a_nbDataPerEvent | the number of data per event |
The size of the matrix will be equal to the number of events multiplied by the input parameter
Definition at line 374 of file src/datafile/vDataFile.cc.
|
inline |
Definition at line 357 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 374 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 363 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 380 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 351 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 368 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 409 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 426 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 499 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 523 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 310 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 327 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 333 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 350 of file include/datafile/vDataFile.hh.
|
inline |
Get the verbose level.
Definition at line 423 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 440 of file include/datafile/vDataFile.hh.
int vDataFile::InitializeAdditionalData | ( | const string & | a_pathToAdditionalData | ) |
Memory allocation and initialization for the additional data matrices.
a_pathToAdditionalData | path to additional data, multiple files are separated by commas |
Nothing is performed if the path provided in parameter is empty; the data is directly read
Definition at line 289 of file src/datafile/vDataFile.cc.
int vDataFile::InitializeMappedFile | ( | ) |
Check the datafile existency, map it to memory and get the raw char* pointer.
.
Definition at line 447 of file code/src/datafile/vDataFile.cc.
int vDataFile::InitializeMappedFile | ( | ) |
int vDataFile::OpenFileForWriting | ( | string | a_suffix = "" | ) |
Definition at line 522 of file code/src/datafile/vDataFile.cc.
int vDataFile::OpenFileForWriting | ( | string | a_suffix = "" | ) |
|
pure 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)
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
|
pure virtual |
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
int vDataFile::PROJ_DeleteTmpDataFile | ( | ) |
Delete temporary datafile used for multithreaded output writing if needed.
Definition at line 771 of file code/src/datafile/vDataFile.cc.
int vDataFile::PROJ_DeleteTmpDataFile | ( | ) |
vEvent * vDataFile::PROJ_GenerateEvent | ( | int | idx_elt1, |
int | idx_elt2, | ||
int | a_th | ||
) |
Definition at line 809 of file code/src/datafile/vDataFile.cc.
vEvent* vDataFile::PROJ_GenerateEvent | ( | int | idx_elt1, |
int | idx_elt2, | ||
int | a_th | ||
) |
|
pure 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.
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
|
pure virtual |
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
|
pure 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.
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
|
pure virtual |
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
int vDataFile::PROJ_WriteData | ( | ) |
Write/Merge chunk of data in a general data file.
Definition at line 700 of file code/src/datafile/vDataFile.cc.
int vDataFile::PROJ_WriteData | ( | ) |
int vDataFile::ReadInfoInHeader | ( | bool | a_affectQuantificationFlag = true | ) |
Definition at line 87 of file code/src/datafile/vDataFile.cc.
int vDataFile::ReadInfoInHeader | ( | bool | a_affectQuantificationFlag = true | ) |
|
privatepure virtual |
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
|
privatepure virtual |
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
|
inline |
Definition at line 397 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 414 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 461 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 478 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 469 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 486 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 383 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 400 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 390 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 407 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 493 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 517 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 453 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 470 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 445 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 462 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 430 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 447 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 477 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 501 of file include/datafile/vDataFile.hh.
int vDataFile::SetParametersFrom | ( | vDataFile * | ap_DataFile | ) |
Definition at line 260 of file code/src/datafile/vDataFile.cc.
int vDataFile::SetParametersFrom | ( | vDataFile * | ap_DataFile | ) |
|
inline |
Definition at line 438 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 455 of file include/datafile/vDataFile.hh.
|
privatepure virtual |
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
|
privatepure virtual |
Implemented in iDataFilePET, iDataFilePET, iDataFileSPECT, iDataFileSPECT, iDataFileCT, and iDataFileCT.
|
inline |
Definition at line 485 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 509 of file include/datafile/vDataFile.hh.
|
inline |
Definition at line 416 of file code/include/datafile/vDataFile.hh.
|
inline |
Definition at line 433 of file include/datafile/vDataFile.hh.
|
virtual |
!!!\ This function has been modified to be used specifically with a
Definition at line 608 of file code/src/datafile/vDataFile.cc.
|
virtual |
|
pure virtual |
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
|
pure virtual |
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
|
pure virtual |
This function is implemented in child classes.
Generate a header file according to the data output information.
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
|
pure virtual |
Implemented in iDataFileCT, iDataFileCT, iDataFileSPECT, iDataFileSPECT, iDataFilePET, and iDataFilePET.
FLTNB** vDataFile::m2p_additionalData |
Dynamic array for additional data to be used in reconstruction, 2 pointers: 1: number of additional data 2: the data
Definition at line 583 of file include/datafile/vDataFile.hh.
|
protected |
vEvent structure, used to read and transfer the raw data to each part of the algorithm (multithreaded)
Definition at line 577 of file code/include/datafile/vDataFile.hh.
|
protected |
File associated to the raw data file (multithreaded)
Definition at line 576 of file code/include/datafile/vDataFile.hh.
|
protected |
Bed position index corresponding to this data file
Definition at line 563 of file code/include/datafile/vDataFile.hh.
|
protected |
Flag indicating that a relative bed position has been provided
Definition at line 565 of file code/include/datafile/vDataFile.hh.
|
protected |
Calibration factor for the data. Default value =1.0
Definition at line 562 of file code/include/datafile/vDataFile.hh.
|
protected |
String containing the path to the raw datafile
Definition at line 555 of file code/include/datafile/vDataFile.hh.
|
protected |
Flag indicating if the data is List (=0) or Histogram (=1) mode
Definition at line 557 of file code/include/datafile/vDataFile.hh.
|
protected |
Flag indicating the physical specificity of the data: SPEC_EMISSION or SPEC_TRANSMISSION
Definition at line 559 of file code/include/datafile/vDataFile.hh.
|
protected |
Flag indicating if the data is PET (=0),SPECT (=1) or TRANSMISSION type (=2)
Definition at line 558 of file code/include/datafile/vDataFile.hh.
|
protected |
Duration of the acquisition (s)
Definition at line 561 of file code/include/datafile/vDataFile.hh.
|
protected |
String containing the path to the header file
Definition at line 554 of file code/include/datafile/vDataFile.hh.
|
protected |
Flag to say if we ignore the POI data if present, or not. Default = false
Definition at line 570 of file code/include/datafile/vDataFile.hh.
|
protected |
Flag indicating if additional data have been loaded
Definition at line 624 of file include/datafile/vDataFile.hh.
|
protected |
First index managed by this MPI instance
Definition at line 578 of file code/include/datafile/vDataFile.hh.
|
protected |
Last index (included) managed by this MPI instance
Definition at line 579 of file code/include/datafile/vDataFile.hh.
|
protected |
Number of events managed by this MPI instance
Definition at line 580 of file code/include/datafile/vDataFile.hh.
|
protected |
The number of additional data
Definition at line 622 of file include/datafile/vDataFile.hh.
|
protected |
Nb of customizable EVTFLTDATA variables in the event
Definition at line 628 of file include/datafile/vDataFile.hh.
|
protected |
Nb of customizable EVTINTDATA variables in the event
Definition at line 627 of file include/datafile/vDataFile.hh.
|
protected |
Total number of events in the raw data
Definition at line 556 of file code/include/datafile/vDataFile.hh.
|
protected |
Flag to say if POI information is included in the datafile for each event
Definition at line 569 of file code/include/datafile/vDataFile.hh.
|
protected |
Bed relative position in mm
Definition at line 564 of file code/include/datafile/vDataFile.hh.
|
protected |
Scanner name
Definition at line 566 of file code/include/datafile/vDataFile.hh.
|
protected |
Size of an event in the datafile (calculated from mandatory and optional fields)
Definition at line 575 of file code/include/datafile/vDataFile.hh.
|
protected |
Start time of the acquisition (s)
Definition at line 560 of file code/include/datafile/vDataFile.hh.
|
protected |
Verbosity
Definition at line 551 of file code/include/datafile/vDataFile.hh.
|
protected |
The size of each additional data matrix (can differ in PET whether the data are for each TOF bin or not
Definition at line 623 of file include/datafile/vDataFile.hh.
|
protected |
Pointer to the oImageDimensionsAndQuantification object
Definition at line 550 of file code/include/datafile/vDataFile.hh.
|
protected |
The object managing the mapping of the datafile
Definition at line 581 of file code/include/datafile/vDataFile.hh.
|
protected |
The raw pointer directly mapped to the datafile
Definition at line 582 of file code/include/datafile/vDataFile.hh.
|
protected |
Flag to say which direction is included in the POI for each event; radial, tangential and axial
Definition at line 571 of file code/include/datafile/vDataFile.hh.
|
protected |
POI resolution (position of interaction) for each direction: radial, tangential and axial
Definition at line 572 of file code/include/datafile/vDataFile.hh.