![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
This code allows the conversion of a GATE macro file defining a cylindricalPET or ecat geometry into a CASToR ASCII .geom file.
This script currently only supports 'cylindricalPET' and 'ecat' systems.
Two arguments are required :
1. The gate .mac file : enter file.mac. We suppose that there is all the geometry and the digitizer information in this file.
2. The output name : it will be a .geom file.
More...
#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <fstream>
#include <sstream>
#include <math.h>
#include "gDataConversionUtilities.hh"
Go to the source code of this file.
Functions | |
void | showHelp (int a_returnCode) |
int | main (int argc, char *argv[]) |
This code allows the conversion of a GATE macro file defining a cylindricalPET or ecat geometry into a CASToR ASCII .geom file.
This script currently only supports 'cylindricalPET' and 'ecat' systems.
Two arguments are required :
1. The gate .mac file : enter file.mac. We suppose that there is all the geometry and the digitizer information in this file.
2. The output name : it will be a .geom file.
Definition in file castor-GATEMacToGeom.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
void showHelp | ( | int | a_returnCode | ) |