CASToR  2.0
Tomographic Reconstruction (PET/SPECT/CT)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
castor-GATEMacToGeom.cc File Reference

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 :
. 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[])
 

Detailed Description

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.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 84 of file castor-GATEMacToGeom.cc.

Here is the call graph for this function:

void showHelp ( int  a_returnCode)

Definition at line 56 of file castor-GATEMacToGeom.cc.

Here is the call graph for this function:

Here is the caller graph for this function: