CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
Functions
toolkits/castor-datafileConversionEx.cc File Reference

This program is an example code providing guidance regarding how to generate a PET CASToR datafile from any system datafile.
It does not perform any conversion by itself and must be adjusted to the conversion of any system dataset. It uses a GATE model of a General Electric PET system as example.
It implements the required calls to CASToR DataFile and Event objects and functions in order to write a dataset in the CASToR format, with or without optionnal correction factors (scatter, random, normalization coefficients, etc). More...

#include "gVariables.hh"
#include "gOptions.hh"
#include "iDataFilePET.hh"
#include "sOutputManager.hh"
#include "sScannerManager.hh"
#include <iomanip>

Go to the source code of this file.

Functions

void ShowHelp (int a_returnCode)
 
int main (int argc, char **argv)
 

Detailed Description

This program is an example code providing guidance regarding how to generate a PET CASToR datafile from any system datafile.
It does not perform any conversion by itself and must be adjusted to the conversion of any system dataset. It uses a GATE model of a General Electric PET system as example.
It implements the required calls to CASToR DataFile and Event objects and functions in order to write a dataset in the CASToR format, with or without optionnal correction factors (scatter, random, normalization coefficients, etc).

Definition in file toolkits/castor-datafileConversionEx.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 94 of file toolkits/castor-datafileConversionEx.cc.

Here is the call graph for this function:

◆ ShowHelp()

void ShowHelp ( int  a_returnCode)

Definition at line 41 of file toolkits/castor-datafileConversionEx.cc.

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